Skip to main content

Backups and howto

This yunohost server is backed up onto two separate USB drives both of which are on-premise. Several attempts have been made to perform an off-premise backup using both Borg and Restic, but found to be more difficult than it’s worth. 

Drive 1 (Drive label: YNHRECOVERY)

This backup uses the built-in backup and recovery service provided within yunohost. A simple cronjob is used detailing the time and what is to be backed up.

  • Time:
  • What...?

Drive 2 (Drive label: DATARECOVERY)

This drive uses the Restic backup/recovery application which is a 3rd party application. Again a Cronjob is used to detail the times and what items are to be backed up.

  • Time:
  • What...?

The difference between the two backups is that the Restic backup is incremental and it saves the last three backups. The yunohost backup is not incremental therefore some administration has to be done to prune the drive as it becomes full.