Question

Create a script that takes input as the time of the day to perform snapshot of the droplet & script takes a snapshot daily for last 7 days

Posted July 8, 2019 666 views
UbuntuCentOSGetting StartedDebianDigitalOceanBackups

Create a script that takes input as the time of the day to perform snapshot of the droplet. And this script takes a snapshot daily for last 7 days. Deletes any backups older than 7 days.

edited by AHA

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.

×
1 answer

@javedkhan The below guide will provide more information on how to: https://www.digitalocean.com/community/tutorials/how-to-use-digitalocean-snapshots-to-automatically-backup-your-droplets

Let me know if you have any further questions.

Regards,
Prakash Jha
DigitalOcean Developer Support

by Justin Ellingwood
There are plenty of options for how to backup your data on a VPS. DigitalOcean's snapshot feature is a way of backing up your data as an image. In this article, we will explain how to implement automated snapshots using a Ruby script and the cron scheduling utility.
Submit an Answer