-
|
how to change backup directory path once submitted? I just tried to get a feel for it and put in a path. But now I want to change it. How can I do this? |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments 41 replies
-
|
Hello, unfortunately there is no simple way to do this. The most easiest one is probably restoring the instance from the backup archive. Then you also have the option to choose a different path. So basically:
|
Beta Was this translation helpful? Give feedback.
-
|
thanks I will try that. After restore, is it also going to restore the backup path according to what it was when the backup was taken? |
Beta Was this translation helpful? Give feedback.
-
|
I ran across the same issue, I submitted realizing I submitted the wrong path. Instead of recreating everything, I stopped the containers from the AIO page and modified the "borg_backup_host_location" property in the ../nextcloud_aio_mastercontainer/_data/data/configuration.json file on the host. As soon as I refreshed the AIO page I could see the updated backup path, and taking a backup put the backups in the updated location. EDIT: I should mention that I made this change BEFORE I created an initial backup, so borg hadn't yet created the initial repo in the wrong location. Still, I imagine you should be able to move the data from the incorrect location to the correct location and update the config to both see the old backups and store the new ones there, but I haven't tested that. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks @jzcad1828 for your notes! My example was that I had set the location then had already run the initial backup. Here is what I did:
Hope this helps someone in the future who might be in the same boat as I was. |
Beta Was this translation helpful? Give feedback.
-
|
Confirm that deleting borg.config and modifing configuration.json seem working good even if first backup was already succesfull. So i did:
At this point, in the AIO web interface it say the first backup was failed, and i was able to set new location of backups and make a new one. Would be nice if devs would add this functionality on the AIO web frontend. It should be just a script to change the value in the configuration.json and delete the borg.config (maybe with a option to clean/delete old backup directory) |
Beta Was this translation helpful? Give feedback.
-
|
To reset the backup location you just have run this command and the "Reset backup location" button will show up in the AIO Interface sudo docker exec nextcloud-aio-mastercontainer rm /mnt/docker-aio-config/data/borg.config |
Beta Was this translation helpful? Give feedback.
-
|
Hi, Hoping there is someone here that understands how this works on unraid as I cannot seem to find a way to set a backup path outside of the docker file? I have set user files to an unraid share which does seem to work for that purpose but how can I store the backups outside of the docker? Thank you (hoping!!) From NextcloudAIO |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
How I switched from local storage to ssh storageI wanted to switch to ssh repository without recreating the backup repository. Prerequisites:
To-do:
Thanks to you all. :) |
Beta Was this translation helpful? Give feedback.
-
|
Hi, just to mention it, we now show a This is now released with v12.2.0 Beta. Testing and feedback is welcome! See https://github.com/nextcloud/all-in-one#how-to-switch-the-channel |
Beta Was this translation helpful? Give feedback.





Hi, just to mention it, we now show a
Reset backup locationbutton all the time: #7185This is now released with v12.2.0 Beta. Testing and feedback is welcome! See https://github.com/nextcloud/all-in-one#how-to-switch-the-channel