I searched the community on this but only found this 1 link.
In general makes sense but I don’t understand when it says “Start a new AIO installation and enter the password and location of the archive on the server instead of the domain.”
Where exactly do you enter the password and location of the archive when you START a new installation. I am reinstalling Nextcloud-AIO 10 and would like to restore my backsups of my encrypted data.
Basically, I had a nextcloud-AIO 10 installation utilizing built in borg backups. The data in ncdata was encrypted.
I have the ncdata folder intacted and I have the borg backups intacked. I installed a fresh version of Nextcloud-AIO 10 and now I am trying to connect the new install to my borg backups so that I can restore from the bakcup and get my NC data imported into this new installation.
The link above is the only reference I could find on how to do this. I couldn’t find anything that addressed this in the NC documentation.
I would think the process would be easy and well documented since the backups are an essential part of recovery.
When I follow the installation instructions, I put
sudo docker run
–init
–sig-proxy=false
–name nextcloud-aio-mastercontainer
–restart always
–publish 80:80
–publish 8080:8080
–publish 8443:8443
–volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config
–volume /var/run/docker.sock:/var/run/docker.sock:ro
–env NEXTCLOUD_DATADIR=“/mnt/ncdata/”
–env NEXTCLOUD_UPLOAD_LIMIT=16G
–env NEXTCLOUD_MEMORY_LIMIT=512M
nextcloud/all-in-one:latest
Then I log into the AIO interface, enter my domain name
enter my borg backup location (At this point there is no place for a borg passphrase)
Enter my timezone and choose the optional containers to install.
Then I click Install Containers.
When it was done, the containers started automatically. The instructions say not to start the containers yet.
So far I have not seen the Select the “Restore former AIO instance from backup” option
Uggh,
I can’t believe how stupid I am.
Wait! Yes I can - lol
This worked great.
At first I was excited, but now I’m depressed because even though the resote worked, this won’t work for me.
The reason I reinstalled NC is because I didn’t install the proxy container originally and I wanted to get it installed to start learning how to work with the API.
How can I install the proxy container AND restore from backup?
I never did install the proxy container before. This would be the first time.
Considering how you restore from backup on a new install, this makes me think that when you have to reinstall from scratch and add a container like I do, the restore isn’t possible.
If I am right, then is there a way to add the proxy container in my current installation? I assume if there is, then I can still have access to my backups.
I reread the link to try to understand the process. IT talks about configuring the proxy before installing NC. But how can I do that if the proxy isn’t even installed yet?
Also, The restore seems to not only restore files but the entire NC cnfiguration which means even if I get the proxy installed, wouldnt a restore wipe it out since it is not part of the backup?
Which part of this website actually gets the proxy installed?
Sorry, I have the feeling you are very unfamilar with Reverse Proxies so I am not sure if I am the best one to help you with this.
May I ask why do you want to run AIO behind a RP since you formerly apparently didnt? Running it without one is much easier as you probably already found out…
When setting up NC the first time over 2 years ago, I chose not to install the proxy container because I dont run NC behind a proxy.
Now that I want to learn API and how to use it with NC, I found out that to access the API (and make entries to the calendar) I have to have the proxy container installed. That’s the only reason I want to install the proxy container in my nextcloud.
Looks like this is a situation noe one has thought of. Bummer.
Might be a good idea to make a way to restore data only from a bakup after a new install; for cases like this.
I have exported my calendars and manually made copies of all my notes, recipes, etc… and reinstalled NC to include the proxy container, then put all my info back in. Seemed like the fastest approach at this time.
No, actually this situation is indeed considered in the restore process: the environmental variables that you set for the mastercontainer are going to overwrite the settings that you would restore. So your use case is indeed possible.