-
Notifications
You must be signed in to change notification settings - Fork 3
Script: backup_snapshot
Bruno Galindro da Costa edited this page May 10, 2015
·
1 revision
Use this script to execute ec2 backup snapshots
This script will search for tagged instances and volumes to make volume snapshots.
Some tags can be used on instance and on volume(s) at same time. In this case, to control which value is used, the script considers the value of the tag configured on volume, overwriting the instance tag's value.
-
backup_instance_state: this tag controls the state in which the instance must be in to execute snapshots.
- This tag is required
- Possible values: running or stopped
-
backup_retention_days: this tag controls the snapshots retention in days.
- Default: 10
-
backup_ignore_retention_if_state_differs: If the current state of the instance differs from the state configured in backup_instance_state tag, the retention policy will be ignored.
- Default: true
- Possible values: true or false
-
backup_exec: execute backup?
- This tag is required
- Possible values: true or false