cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco full backup ?

vpoorboy
Champ in-the-making
Champ in-the-making
Hi, I want to write a script that backup all of alfresco (content, category, group, user, …). alf_data dir and a Mysql dump are enough ?
10 REPLIES 10

dranakan
Champ on-the-rise
Champ on-the-rise
Hello all,

Thank you for your script Dmusser! (http://unrestricted-cms.blogspot.com/2007_02_01_archive.html)

Just a question : A mysqldump is enough to save the database ?
The document of Mysql advices to stop the service mysql and copy the files and also do a mysqldump.
1. Shut down the MySQL server and make sure that it stops without errors.
   2. Copy all InnoDB data files (ibdata files and .ibd files) into a safe place.
   3. Copy all the .frm files for InnoDB tables to a safe place.
   4. Copy all InnoDB log files (ib_logfile files) to a safe place.
   5. Copy your my.cnf configuration file or files to a safe place.
In addition to making binary backups as just described, you should also regularly make dumps of your tables with mysqldump…
http://dev.mysql.com/doc/mysql-backup-excerpt/5.1/en/innodb-backup.html

Thanks 🙂