Skip to content

Backup and restore

Keep a backup before changing things, and restore it in one step if something goes wrong. PSM also takes a quick backup before it updates itself.

Everything is in main menu 17 (Backup):

Backup and restore menu

OptionWhat it does
Full backup (all components)backs up the configuration of everything PSM manages
Selective backuponly the components you choose
Restore from backuppick a backup to restore (main menu 18 (Restore) goes straight there)
List backupssee the backups you have
Enable / disable automatic backupsa full backup every day

Backups are .tar.gz files in /opt/psm/backup/. A full backup from the command line:

bash
psm --backup-full

Moving to another server

Backups are for going back on the same server. To move your nodes to another server, use migration: it installs what the new server needs, rebuilds the services and rewrites subscription addresses, which is far less work than restoring a backup by hand.

Released under the AGPL-3.0 license · For lawful use only; follow the laws where you live