[TYPO3-debian] backup db's & files

Jordan van Bergen jordanvanbergen at gmail.com
Sun Jul 22 13:43:15 CEST 2007


Hi Max,

> mayby i'll do tomorrow...

just do this if you have shell access:

mysqldump --opt -u [username] -p [databasename] > 
/home/username/somebackupfilename.sql

This way you'll get a backup file of the selected database using MySQL.
If you want to restore a backup you'll have to enter:

mysql -u [username] -p [databasename] < 
/home/username/somebackupfilename.sql

That's it. A simple backup and restore procedure.

Regards
Jordan 



More information about the TYPO3-debian mailing list