|
|
@ -298,7 +298,7 @@ def changedetection_app(config=None, datastore_o=None):
|
|
|
|
def get_backup():
|
|
|
|
def get_backup():
|
|
|
|
import zipfile
|
|
|
|
import zipfile
|
|
|
|
from pathlib import Path
|
|
|
|
from pathlib import Path
|
|
|
|
import zlib
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# create a ZipFile object
|
|
|
|
# create a ZipFile object
|
|
|
|
backupname = "changedetection-backup-{}.zip".format(int(time.time()))
|
|
|
|
backupname = "changedetection-backup-{}.zip".format(int(time.time()))
|
|
|
|