Skip to content

Restoring backup files

ajaydivvela edited this page Nov 29, 2023 · 10 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 changedetectionio_changedetection-data:/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