//Cloudogu EcoSystem Docs

Command cesapp remove-backups

The cesapp remove-backups --policy <policy-name> command deletes backups with the specified prefetch policy.

removal policies

Possible keep-ahead policies so far are removeAllButKeepLatest, keepLastSevenDays and keep7Days1Month1Quarter1Year.
They can be issued with the command cesapp remove-backups list-policies.

Dry-run

The --dry-run flag lists the steps of the command without running it.

Manpage

NAME:
   cesapp remove-backups - remove backups according a selected removal policy

USAGE:
   cesapp remove-backups [subcommand] [command options] [arguments...]

COMMANDS:
     list-policies  list all available retention policies
     help, h        Shows a list of commands or help for one command

OPTIONS:
   --policy value  selects a policy which governs the removal of backups. Currently supported policies are: removeAllButKeepLatest, keepLastSevenDays, keep7Days1Month1Quarter1Year
   --dry-run       only prints out the description of the backup steps without backing up anything (default: false)
   --help, -h      show help (default: false)