-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature] Import the backup file into the "import" function in WebUI #130
Comments
isnt that sort of the whole thing? isnt that what the program does? :) or i dont understand? |
Recently I was moving between servers so installed a second instance on another server used the backup function in the instance on my existing server thinking thats what it was for |
+1 |
You can always do this with the docker volume copy for now, but fair idea yes |
In the meantime, can we get effective instructions on how to manually restore a backup? I tried the one in the Wiki with no success... After exporting an accurate BACKUP_PATH, I get this: $ docker run -v datastore-volume:/datastore -v $BACKUP_PATH:/backup.zip python:3.8-slim bash -c "apt-get update && apt-get install unzip -y; unzip -o /backup.zip-d /datastore" The issue is probably something quite simple, but I have never used docker. |
I solved my problem with the restore instructions from the wiki. The command line in the wiki is missing a space before the last "-d /datastore" The correct command is: Two recommendations:
Thanks for a very useful tool! |
@bayview thanks I fixed that wiki! 1 - It will never wipe out your data just because of a upgrade, it must be because of something else, maybe you didnt kill the docker process before you ran your unzip.. that would confuse the system 2 - yes! |
Is there also a way to backup the settings,snapshots,etc... without the docker image running?
This bug is probably not reproducible, because my system had a crash, so this is literally all the info I have. I'd highly appreciate, if you could point out a way to backup the instance offline so that I can import it again in a new instance with the instructions from the wiki. Thanks in advance! 💯 |
a pull request was opened by the developer at the end of 2022: #1248 |
On a related note, does the Python package make backing up changedetection.io config data easier? As a beginner I may switch (see this discussion about auto-starting the pip version). |
Shorter and faster:
|
I tried all the above steps to no avail. Then I changed the permissions inside the datastore folder to 777 and everything worked. |
Even trying everything listed above and in the wiki, it doesn't restore for me. Even changing the permissions in the datastore folder didn't work. |
HI, did the same. new install on a new machine. tried changing datastore folder permissions to 777 with no success.
|
This thread helped me out a lot. But let me add my experiences/noob-learning moments for future noobs finding this difficult. (i am using a Pi over SSH + portainer)
Hopes this helps |
Would be great to be able to restore a backup within the webUI.
Even if its just the websites and snapshot history.
The text was updated successfully, but these errors were encountered: