# Cannot add remote backup for restore

**URL:** <https://discuss.freedombox.org/t/cannot-add-remote-backup-for-restore/2451>\
**Category:** Hardware Owners Support\
**Created:** [January 29, 2023, 5:11pm UTC](https://discuss.freedombox.org/t/cannot-add-remote-backup-for-restore/2451 "2023-01-29T17:11:32Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Avron](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/a/a9adbd/32.png) [@Avron](https://discuss.freedombox.org/u/Avron)\
**Post date:** [February 2, 2023, 9:28pm UTC](https://discuss.freedombox.org/t/cannot-add-remote-backup-for-restore/2451/2 "2023-02-02T21:28:40Z")

</div>

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).

---

_[View the full topic](https://discuss.freedombox.org/t/cannot-add-remote-backup-for-restore/2451)._
