Skip to content

How to back up and restore

Backup

bash
yunohost backup create
yunohost backup create --name pre-upgrade-$(date +%Y%m%d) --apps
yunohost backup list

Archives typically under /home/yunohost.backup/archives/.

Restore

bash
yunohost backup restore <backup_name>

No restic/borg was documented on this host at last capture. After local yunohost backup create:

bash
# example once restic repo exists
restic backup /home/yunohost.backup/archives/ --tag yuno

Also protect: /home/, mail spools, /etc/yunohost/certs/ (certs regenerate but downtime hurts).

Northeast Systems · Aux Server · Infra Server