Understanding backup retention policy

Applies to: VisualSVN Server 3.6 and later

VisualSVN Server offers simple retention policy for the backups made with scheduled jobs. The retention policy helps configure the period of time during which the older backups are stored. By default, the retention period is 30 days. This means that backups will always be preserved for 30 days and will be automatically removed after this period.

Retention policy for full backups

Full backup jobs make self-contained full backups. The retention policy for full backups specifies to keep the latest backups for the selected period of time.

Retention policy for incremental backups

Incremental backup is a chain of files that consists of a full backup taken once a week and daily smaller incremental backups. The complete chain of backup files is needed to restore the repository from an incremental backup. The backup retention policy addresses this aspect of incremental backups and the incremental backup chain is never removed unless the latest incremental backup in the chain becomes outdated.

For further information, please read the article KB108: Understanding backup types in VisualSVN Server.

How does the server remove older backups due to retention policy?

VisualSVN Server removes older backups that exceed the retention policy period only after the newer backup was successfully made. As an additional safety measure, VisualSVN Server never removes the latest backup due to a retention policy. This approach guarantees that you will always have the most recent backup available to restore.

Last Modified: