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

July 8, 2019 278 views
Ubuntu Backups Debian Automated Setups Getting Started DigitalOcean CentOS

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.

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.
Have another answer? Share your knowledge.