Trim Policies
Trim policies are used to delete old backups and local snapshots. They help to save disk space remote and locally.
Remote Trim Policy
The remote trim policy deletes backups on the blob storage to free up space.
It can be configured via the remote_trim_policy
field in the config file.
Example Policy:
Translates to: Always keep the last 3 full backups and the last 3 incremental backups.
How to execute a remote trim policy
Run the trim-remote command to execute a remote trim policy for a group.
Local Trim Policy
The local trim policy deletes snapshots locally to free up space.
It can be configured via the local_trim_policy
field in the config file.
Example Policy:
Translates to: Always keep the last 4 full backups/snapshots.