A little update for AWS backup scripts

Posted: 30/04/2010 in Uncategorized

Hi All,

this week I spent a little of my time to patch my backup script for AWS. Major change is a new plugin called remove_old_snapshots.

This script want to remove all snapshots of a specific volume. You can configure it in conf file (VOLUME_ID).

As you remember, that volume is used as destination of backups, so the circle is closed.

Ever in conf file, there’s a new variable N_BACKUP that contains the number of the days you want to keep snapshots saved. In my case, a server made a backup every day, so number of the days and number of backup is the same. The rule is: today-N_BACKUP is the date, before it snapshots are deleted.

Click on me to download.

I hope you enjoy.



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s