blog:backup_and_restore_complete_typo3_installation
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
blog:backup_and_restore_complete_typo3_installation [2010-07-19 08:34] – brb | blog:backup_and_restore_complete_typo3_installation [2010-07-19 08:37] – 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: | ||
cd /var/www/ | cd /var/www/ | ||
tar cvzf file.tar.gz typo3 | 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 / | ||
+ | cd / | ||
+ | tar xvzf file.tar.gz | ||
+ | |||
{{tag>}} | {{tag>}} |
blog/backup_and_restore_complete_typo3_installation.txt · Last modified: 2010-07-19 08:38 by brb