What files should I backup

  • Posted on February 24, 2015
  • mtkdalyAsked by mtkdaly


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

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.