Removing Snapshots
Remove snapshots with the mvmcli snapshot rm command.
Procedure
To remove snapshots that have been captured on the host:
# mvmcli snapshot rm -a|--all -i|--incomplete -n app_name -T|-U|-R
Where:
- -a|--all
- indicates removal of all snapshots on the server. When combined with -n app_name, this option removes all applications with CLI command app_name.
- -i|--incomplete
- indicates removal of snapshots with a status of incomplete. See Snapshot Statuses. When combined with -n app_name, this option removes all incomplete applications with CLI command app_name.
- app_name
- is an application name that you can optionally provide with the -n command line option. If you specify -n app_name, only snapshots of the CLI command app_name are deleted.
- -T, -U and -R
- are optional sort parameters. You can optionally provide one of these parameters to sort by snapshot time, used PMEM, or recoverable PMEM respectively. You are prompted for confirmation to remove each snapshot in sort order.
For example:
$ mvmcli snapshot rm -n redis Deleted snapshot redis_1_b009433a