Cannot add remote backup for restore

I found a solution:

  1. on the remote machine on which the backup is made, assuming borg is installed, run (you may need sudo):
    $ borg list /path/to/backup
    This lists all backups (there is a warning about using an existing backup location, say “yes” to proceeed). Entries look like:
    scheduled: daily: 2023-12-20:02:26   Wed, 2023-12-20 01:28:24 [f1ba065de353242d24e4c968666bd2eefb4de2e0fac6b67bbc80f4eb8a852b4c]
    which is the daily backup made on 20th December 2023. To restore that entry, create an archive file with
    $ borg export-tar /path/to/backup::“scheduled: daily: 2023-12-20:02:26” archive.tar.gz
  2. on the freedombox (if fresh install, set the admin username/password, the type of connection, wait for upgrades to finish), in backups, upload archive.tar.gz, ask to restore.

Note: the above quotes are straight double quotes (character "), the formatting above is not correct (but I can’t find how to fix that).

1 Like