User Tools

Site Tools


blog:backup_and_restore_complete_typo3_installation

This is an old revision of the document!


Backup and restore complete TYPO3 installation

Backup

Save the complete database:

mysqldump -u username -p databasename > dumpfilename.sql

Save the complete typo3 directory:

cd /var/www/
tar cvzf file.tar.gz typo3

Restore

Restore the database:

mysql -u root -p[root_password] [database_name] < dumpfilename.sql

Restore the complete typo3 directory:

mkdir /var/www/sitename.restore
cd /var/www/sitename.restore
tar xvzf file.tar.gz 

~~LINKBACK~~

Discussion

Enter your comment. Wiki syntax is allowed:
   __ __   __ __  _      __   _  __   ___ 
  / // /  / //_/ | | /| / /  / |/ /  / _ \
 / _  /  / ,<    | |/ |/ /  /    /  / , _/
/_//_/  /_/|_|   |__/|__/  /_/|_/  /_/|_|
 
blog/backup_and_restore_complete_typo3_installation.1279521464.txt.gz · Last modified: 2010-07-19 08:37 by brb