prune.cfg

Description

The file /etc/proxmox-backup/prune.cfg is a configuration file for Proxmox Backup Server. It contains the prune job configuration.

File Format

Each entry starts with the header prune: <name>, followed by the job configuration options.

prune: prune-store2
      schedule mon..fri 10:30
      store my-datastore

prune: ...

You can use the proxmox-backup-manager prune-job command to manipulate this file.

Options

Required properties:

schedule<calendar-event>

Run prune job at specified schedule.

store<string>

Datastore name.

Optional properties:

comment<string>

Comment.

disable<boolean>   (default=false)

Disable this job.

max-depth<integer> (0 - 7)

How many levels of namespaces should be operated on (0 == no recursion, empty == automatic full recursion, namespace depths reduce maximum allowed value)

ns<string>

Namespace.

keep-daily<integer> (1 - N)

Number of daily backups to keep.

keep-hourly<integer> (1 - N)

Number of hourly backups to keep.

keep-last<integer> (1 - N)

Number of backups to keep.

keep-monthly<integer> (1 - N)

Number of monthly backups to keep.

keep-weekly<integer> (1 - N)

Number of weekly backups to keep.

keep-yearly<integer> (1 - N)

Number of yearly backups to keep.