aku pernah bikin program untuk backup & restore data, tapi ternyata 
permasalahannya ya di itu tadi.. tanggal..!!
Begitu nanti dipasang di mesin yg format tanggalnya beda jadi berantakan. 
Akhirnya untuk backup dan restore, aku akalin pake program mysqldump bawaannya 
mysql, jadi nantinya pake shell aja jalaninnya.
Cuman yg harus diperhatiin, path tempat mysql di windows harus diset dulu 
supaya bisa diakses dari prompt manapun.

Kalo udah beres, tinggal jalanin pake perintah:
1. Untuk backup
    st = "cmd /c mysqldump -u userid --password=passwdnya NAMA_DATABASENYA 
--result-file=" & sBackupFile
    err = Shell(st, 1)

    hasil backup sesuai dengan nama yg ditunjuk sBackupFile
2. Untuk restore
    st = "cmd /c mysql -u userid --password=passwdnya -D NAMA_DATABASENYA < " & 
sBackupFile
    Shell st, 1

    restore dibaca dari file yg ditunjuk oleh sBackupFile

Oke.. kalo aku sih gitu... berhasil koq...
coba'in deh...

Andy
    
----- Original Message ----
From: Uni uni <[EMAIL PROTECTED]>
To: [email protected]
Sent: Tuesday, January 22, 2008 11:16:25 AM
Subject: [indoprog-vb] backup data di MYSQL

bagaimana cara memback up data di MYSQL. dan khusus untuk tanggal gimana 
caranya hasil backupnya tetap berformat yyyy/mm/dd

------------ --------- --------- ---
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.

[Non-text portions of this message have been removed]





      
____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


[Non-text portions of this message have been removed]

Kirim email ke