Borg-Backup Error / Nextcloud - AIO - Docker

Hi there! I am running this Docker Image:

and I got a problem. Everything is working really fine, but the borg-backup not. The backup just fails after a few seconds and returns me this message:

Performing backup...
Starting the backup...
passphrase supplied in BORG_PASSPHRASE, by BORG_PASSCOMMAND or via BORG_PASSPHRASE_FD is incorrect.
Deleting the failed backup archive...
passphrase supplied in BORG_PASSPHRASE, by BORG_PASSCOMMAND or via BORG_PASSPHRASE_FD is incorrect.
Backup failed!
passphrase supplied in BORG_PASSPHRASE, by BORG_PASSCOMMAND or via BORG_PASSPHRASE_FD is incorrect.

I checked if my secret at 7/var/lib/docker/volumes/nextcloud_aio_mastercontainer/_data/data/backupsecret ist the same as in the aio-backend, and it is.

Could someone with more than two bananas of knowledge help me out?

Hello,

what is the path that you entered where backups are created on the host?

1 Like

/mnt/backup/borg

I am asking because did you maybe test the same backup path on a former instance? Then it would detect that a backup archive is already present and would try to start the backup with the wrong key…
A solution to this is moving the current archive for a test to a different directory.
E.g. sudo mv /mnt/backup /mnt/backup1 and then try again…

2 Likes

Dude, you are my hero, that was the problem. Thank you very much!!! :smiley:

No problem, you are welcome! :slight_smile:

1 Like