-
Notifications
You must be signed in to change notification settings - Fork 21
Description
Hi, if I have understood right the --tag (or --reverse) applies only when I want to add snapshots.
I think it would be useful using --tag when you want to purge old snapshots.
In the case that you take the snapshot with a custom script (because, for example, you want a snapshot in a consistent state, freezing someway the application ) you could then use a command like this
backup-monkey-master$ backup-monkey --region xxx --max-snapshots-per-volume 14 --remove-only --tags MyTag:MyVal
To keep at most 14 snapshots on the snapshots given tag
Regards.
F
PS In any case, the manual says:
--tags TAGS [TAGS ...]
But the following description says --tag :
Only snapshot instances that match passed in tags.
E.g. --tag Name:foo will snapshot all instances with a
tag Name and value is foo