Skip to main content

How to set up a daily backup?

Now that everything is prepared, you should set up a daily backup for your server.

  1. Run over CLI:
    sudo bash /var/scripts/not-supported.sh
  2. Choose Daily Backup Wizard
  3. Confirm that you want to create a daily backup script
  4. Confirm that you will leave the backup drive connected
  5. Select your external data SSD/HDD to be included in backups
  6. Choose that you want to backup the whole external data SSD/HDD
  7. Select the daily backup drive as backup target
  8. Choose to use the recommended backup directory
  9. Enter a difficult encryption key for your backup and store it at a safe place
    (Difficult encryption key means at least 20 characters long, containing small and tall letters, digits and special characters)
  10. Choose to run the backup at the recommended time at 4.00 am
  11. Now everything will get set up
  12. You should now receive the daily backup config file via mail. Please save/archive it
  13. Finally, you will see the message that the backup script was successfully created
note

It is located here: /var/scripts/daily-borg-backup.sh and will get executed at your chosen backup time, most likely 4.00 am. You will get notified by mail if something fails and also if the backup was successful. The script which will create the daily backup is based on a program called borgbackup which is used to make daily incremental, compressed and deduplicated backup archives from your root partition and external data SSD/HDD.