User Tools

Site Tools


blog:backup_and_restore_complete_typo3_installation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
blog:backup_and_restore_complete_typo3_installation [2010-07-19 08:34] brbblog:backup_and_restore_complete_typo3_installation [2010-07-19 08:38] (current) brb
Line 4: Line 4:
  
 Save the complete database: Save the complete database:
-  mysqldump -u username -p databasename > databasename.sql+  mysqldump -u username -p databasename > dumpfilename.sql
  
 Save the complete typo3 directory:  Save the complete typo3 directory: 
Line 10: Line 10:
   tar cvzf file.tar.gz typo3   tar cvzf file.tar.gz typo3
  
-{{tag>}}+===== 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  
 + 
 +Ref:  
 +  * http://www.packtpub.com/article/backing-up-and-restoring-typo3-websites 
 +  * http://www.thegeekstuff.com/2008/09/backup-and-restore-mysql-database-using-mysqldump/ 
 + 
 +{{tag>typo3 linux}}
  
 ~~LINKBACK~~ ~~LINKBACK~~
 ~~DISCUSSION~~ ~~DISCUSSION~~
  
blog/backup_and_restore_complete_typo3_installation.1279521298.txt.gz · Last modified: 2010-07-19 08:34 by brb