aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/squashr.conf
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/squashr.conf')
-rw-r--r--packaging/squashr.conf24
1 files changed, 24 insertions, 0 deletions
diff --git a/packaging/squashr.conf b/packaging/squashr.conf
new file mode 100644
index 0000000..a4870b5
--- /dev/null
+++ b/packaging/squashr.conf
@@ -0,0 +1,24 @@
+# Backup root directory
+SQUASHR_ROOT=/var/lib/squashr
+
+# Includes (comma separated, directories and files)
+SQUASHR_INCLUDE=/etc, /home
+# Excludes (comma separated, directories and files)
+SQUASHR_EXCLUDE=/home/*/.cache, /home/*/Downloads
+
+# Truncation
+SQUASHR_TRUNCATE=/var/log
+
+# Rotation
+SQUASHR_N_SNAPSHOTS_MIN=5
+SQUASHR_N_SNAPSHOTS_MAX=30
+
+# Compression
+SQUASHR_COMPRESSION_ENABLE=true
+SQUASHR_COMPRESSION_ALGO=zstd
+SQUASHR_COMPRESSION_ARGS=-Xcompression-level 19
+
+# Encryption
+SQUASHR_CRYPTSETUP_ENABLE=false
+SQUASHR_CRYPTSETUP_CREATE_ARGS=--type luks2
+SQUASHR_CRYPTSETUP_OPEN_ARGS=--type luks