backup: exclude generated, logs & watched
We don't need these in the backup, and in fact they only make things more bloated and/or complicated.
This commit is contained in:
1 parent
02e996436d
commit
bd2616e888
1 file changed
+4
@@ -639,6 +639,10 @@ class BackupPlugin(octoprint.plugin.SettingsPlugin,
|
||||
for folder in default_settings["folder"].keys():
|
||||
if folder in exclude:
|
||||
continue
|
||||
|
||||
if folder in ("generated", "logs", "watched",):
|
||||
continue
|
||||
|
||||
add_to_zip(settings.global_get_basefolder(folder),
|
||||
"basedir/" + folder.replace("_", "/"),
|
||||
ignored=[own_folder,])
|
||||
|
||||
Reference in new issue
Block a user