Skip to content

Restoring backup files

Oriol del Rio edited this page Nov 1, 2022 · 16 revisions

Important first is to stop the changedetection.io instance, as it will be monitoring and writing to the disk.

docker kill changedetection

Change the path in BACKUP_PATH to be the FULL path to the export backup backup Zip file

export BACKUP_PATH=/home/dgtlmoon/Downloads/changedetection-backup-1616751572.zip

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"

then restart

docker restart changedetection.io