What files should I backup

  • Posted February 24, 2015


I am new to digital ocean and I am configuring Duplicity to handle backups and store them offsite.

I am wondering if anyone can advise what files should be backed-up and what files should/can be left out.

My server is used to host websites for clients so I am planning to to backup all files within the /var folder and all mysql databases. Should I be concerned with backing up other system folders?

Thanks for the help.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

If you are using apache for your virtualhosts I would also recommend backing up /etc/apache2. This will allow you to save your web server configuration as well. With that, your web root, and your databases you should be all set.