I am running Nextcloud AIO v9.1.0 docker and have server side encryption and use the built-in borg backup.
I know how to restore a borg backup through NC but that isn’t what I want to do.
I have been using it as a backup solution but now am moving to a different backup solution because over time some files from my laptop have vanished. It is my hope that they exist somewhere in the previous backups.
If I didnt use server-side encryption, then decrypting them from my laptop would be easy; just mount the repositories and copy all the files and structure to where I want them so I can go through everything.
Unforetunately when I do the borg mount or borg extract, the extracted files are still encrypted. I am trying to find the command I can use to double-decrypt.
I asked chatgpt and it said to use: borg extract --list /mnt/borg/borg/borg::20240119_202838-nextcloud-aio /mnt/bmount/nextcloud_aio_volumes/nextcloud_aio_nextcloud_data/mike/files/Notes/Daily/ --stdout | borg extract --/home/mike/temp/
This sounded logical but doesnt work; I am missing something.
What I expected was it to first ask for my borg encryptionkey passphrase then ask for my nextcloud user password for the 2nd decryption, but it didn’t.
Thank you for the infomation and sorry for not getting back to you earlier. I am running so many projects that everyday I have a different priority.
This program looks promising. I finished readin through everything and configuring the php settings.
I am running this from my linux mint laptop and not my NC server.
1st time I ran it it couldnt find php so I installed it with
sudo apt install php libapache2-mod-php
and I installed sudo apt install php-cli
So far so good.
The program to run is in /home/mike/Downloads/encryption-recovery-tools-master/server-side-encryption/recover.php
based on the readme I tried running:
/home/mike/Downloads/encryption-recovery-tools-master/server-side-encryption/recover.php /home/mike/decrypted/*
/home/mike/decrypted/* is the TARGETDIR which I created but when I run this I get the error: ERROR: TARGETDIR NOT GIVEN OR DOES NOT EXIST
I thought maybe I needed to create the directory as root so I tried that but got the same error.
At this point I am stuck and can’t figure out where the problem is.