Skip to content
CWPControl Web PanelDocumentation
  1. Home
  2. Docs
  3. CWP Backup Server
  4. Snapshots and retention

Snapshots and retention

Updated

These settings are on the backup server, for each server separately: Servers → (server) → Edit.

When a snapshot is taken

  • Take a snapshot after this many quiet minutes: counted from the end of the last upload. The backup server waits until the hosting server has finished sending.
  • At most one snapshot every (minutes): a lower limit between two snapshots.
  • Snapshot now on the server page takes one at once.

Retention

Set how many snapshots to keep of each kind: Latest, Hourly, Daily, Weekly, Monthly. A snapshot is kept when at least one rule wants it. With all values at zero every snapshot is kept.

Example: Latest 5, Daily 14, Weekly 8, Monthly 6 keeps the last five snapshots, one per day for two weeks, one per week for two months and one per month for half a year.

Protection

  • Lock: a locked snapshot is never removed, not by retention either. Lock the snapshot from before a big change.
  • Delayed deletion: a snapshot deleted in the panel waits a number of days before it is really removed (Settings → General). Until then the deletion can be undone. Deleting asks for your password again and sends an alert.
  • Mass-deletion guard: when most of a backup disappears between two snapshots, the backup server sends an alert and locks the previous snapshot.
  • Storage quota: when a server is over its quota, new uploads are refused and an alert is sent.
  • Warn when nothing arrives: an alert when a server has sent nothing for the set number of hours.
Snapshots of a server on the backup server

Browsing and downloading on the backup server

On the server page every snapshot can be browsed by hosting account. A file can be downloaded, and a folder as a .tar with the original owners.

Browsing a snapshot on the backup server

Read-only access for the hosting server

With Show snapshots to the server, read-only the hosting server sees its own snapshots in the folder .snapshots over rsync. It can fetch old backups from there. It can never change them.

Put back

Put back makes the upload area a copy of an older snapshot. Use it when the upload area itself was damaged, for example after a wiped hosting server sent an empty backup.