Hi everyone,
I am having some issue with the borg backup restore.
I had a nextcloud aio running on ubuntu in a dedicated machine.
Recently i needed to switch from ubuntu to windows so i have done a backup with the aio backup solution.
Now i have installed nextcloud with the aio in the new os (windows) but unfortnuately i can not find a way to restore the old backup.
I have tried everything from the aio interface or changing the file after creating the first backup, nothing at all.
Hi, during the initial installation of AIO, you should have seen an option to enter a path and password for restoring the whole instance from backup instead of entering the domain in the first step
1 Like
I did that, but it’s saying that he can find the borg folder but not the archive
Have you tried adjusting the path that you entered?
Yeah the repository is inside a borg named folder but it’s saying that he can’t find the repository, i tried everything to make it work but nothing
Can you show a screemshot of which path you entered in the aio interface?
Hello, sorry to bring up the same topic. It happens that I am having the same problem. The difference is that I am trying to restore a backup on another server but with the same OS. On the source server, the backup was made. On the destination server, I installed a new instance of NextCloud AIO Docker, and I went to the option to restore the instance with a backup file. But I am not succeeding. I will send screenshots.
Source instance backup file location:

Destination instance backup file location (new server) where the contents of the borg directory from the source server were copied:

In the AIO interface, I am in the option to restore an instance. So I configured the file path: /home/ec2-user/nextcloud-dirbkp_20240807/borg and the backup key from the source instance, and tested it with the button:
The test log:
2024-08-07T20:16:35.928758538Z No ‘borg’ directory in the given backup directory found!
2024-08-07T20:16:35.928801621Z Only the files/folders below have been found in the given directory.
2024-08-07T20:16:35.929119115Z .
2024-08-07T20:16:35.929128061Z …
2024-08-07T20:16:35.929131707Z README
2024-08-07T20:16:35.929135299Z config
2024-08-07T20:16:35.929138731Z data
2024-08-07T20:16:35.929142360Z hints.34
2024-08-07T20:16:35.929146024Z index.34
2024-08-07T20:16:35.929149617Z integrity.34
2024-08-07T20:16:35.929153064Z lock.roster
2024-08-07T20:16:35.929156515Z nonce
2024-08-07T20:16:35.929197590Z Please adjust the directory so that the borg archive is positioned in a folder named ‘borg’ inside the given directory!
What’s wrong?
Hi, you probably need to put in /home/ec2-user/nextcloud-dirbkp_20240807 without the borg subfolder
It worked! I can’t believe the problem was just a subdirectory (the borg). Thank you very much
1 Like