Question

Weekly backups - If I want to restore, can I backup only a certain section?

I have weekly backups enabled. I manage 15 websites, and was wondering, if 1 website got demolished in the middle of the week. I would need to restore a backup to recover that website. But I would lose any other changes I made to other websites. Is there a way to only restore a single website (folder)?


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.

Hey friend!

With our backup system it is only possible to write the full backup image to the server. For something more specific to your use case, a custom backup solution would be best. I usually keep storage servers with various providers personally, and then run rsync cron jobs to copy data over regularly. It never hurts to have redundancy in the backup plan :)

Jarland

Hi there,

With “backups” you mean the integrated backup solution DigitalOcean offers you right? This sort of backup is a VPS-level backup and stores the complete VPS data somewhere safe.

If you would like to have seperated backups of your websites, you could either do 2 things:

  • Run each website on its own VPS (Droplet) --> Higher costs, but easy management of backups
  • Setup a backup system yourself, that seperates databases, files etc. --> Lower costs, but more management and setting up on your site.

Some ideas:

  • You can for example use rsync to copy files to a special setup backup droplet.
  • You could use a utility build for backups on files, like; Bacula, BackupPC, Duplicity, Acronis
  • You could use a utility build for backups on databases, like; Percona XtraBackup, mysqldump
  • Build your own backup script with a combination of other utilities.

Hope this helps you out.