dlowhorn/purge-snapshots

Purge automatic AWS Lightsail Snapshots

1.0.0 2021-02-08 21:18 UTC

This package is auto-updated.

Last update: 2024-04-09 03:53:53 UTC


README

Usage

Copy vendor/dlowhorn/purge-snapshots/bin/purgeSnapshots.php to root of your project, then:

php purgeSnapshots.php [resource name] [aws region] [days to keep] [api version]

Example

Delete any automatic snapshot older than 5 days:

php purgeSnapshots.php my-lightsail-instance-name us-east-1 5 2016-11-28