List:General Discussion« Previous MessageNext Message »
From:Elim Qiu Date:December 6 2004 5:44pm
Subject:wanted: back up script
View as plain text  
This is on windows 2000.
I did the following as a temp solution for the full back up of a database. I
know this is not safe and possibly
not complete. Any suggestions (how to lock/unlock a db for read here)?
Thanks

#include <stdio.h>
#include <stdlib.h>

int main() {
printf("start backup ESite data\n");
system("tar cf ESite_dt.tar F:/DBData/MySQLdata/ESite");
system("gzip ESite_dt.tar");
system("mv ESite_dt.tar.gz ESite_dt.tgz");
printf("done\n");
return 1;
}



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.289 / Virus Database: 265.4.6 - Release Date: 12/5/2004


Thread
Foreign Key Error 1005:150steven.p.long5 Dec
  • Re: Foreign Key Error 1005:150Michael Stassen6 Dec
  • mysql 5.0.2-alpha-ntElim Qiu6 Dec
  • Server Configuration HelpManojSW6 Dec
  • wanted: back up scriptElim Qiu6 Dec
Re: Foreign Key Error 1005:150Heikki Tuuri6 Dec
Re: Foreign Key Error 1005:150steven.p.long6 Dec
RE: Server Configuration HelpMechain Marc6 Dec
RE: Foreign Key Error 1005:150Bela Kocsis6 Dec
RE: wanted: back up scriptDathan Pattishall6 Dec
Re: Foreign Key Error 1005:150Heikki Tuuri6 Dec