aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/user/crypted-backups56
1 files changed, 56 insertions, 0 deletions
diff --git a/config/user/crypted-backups b/config/user/crypted-backups
new file mode 100644
index 0000000..eb55448
--- /dev/null
+++ b/config/user/crypted-backups
@@ -0,0 +1,56 @@
+# Settings for user scripts in /usr/lib/systemd/system/scripts/{backup-*,cleanup-backup}.
+# The following environment variables will be made available through a systemd unit file.
+# Note: No variable expansion!
+# Read more on "EnvironmentFile" and "Environment" in the following systemd man page: man 5 systemd.exec
+
+## General settings
+
+# Suffix settings (don't change these)
+tar_suffix=".tar.xz"
+gpg_suffix=".gpg"
+sql_suffix=".sql"
+
+# The temporary folder to use.
+# For security and speed, use tmpfs (your /tmp directory)!
+# Defaults to "/tmp/"
+# You might want to set it to your user's /tmp directory
+# Mind a trailing slash!
+# Example: tmp="/tmp/username/"
+tmp="/tmp/"
+
+# Your public gpg key, with which to encrypt the backups.
+# Make sure that root has this public key its keyring!
+# Example: gpg_public_key="your.name@example.com"
+gpg_public_key=""
+
+
+## Cleanup settings
+
+# Deletes files that are older than the given time (in days)
+# Set time in days. Defaults to 90
+older_than=90
+# Set the folder to cleanup.
+# Mind a trailing slash!
+# Example: cleanup_folder="/some/folder/to/cleanup/"
+cleanup_folder=""
+
+
+## User backup settings
+
+# ~/.mozilla/firefox/<profile>
+# Will backup every folder of given user beneath ~/.mozilla/firefox/ separately (ignoring Crash*, profiles.ini, *-backup).
+# You don't need to change the source path.
+firefox_folder_source=".mozilla/firefox/"
+# Set a backup destination for firefox (make sure you're allowed to write in there!)
+# Mind a trailing slash!
+# Example: firefox_folder_destination="/some/place/to/backup/firefox/to/"
+firefox_folder_destination=""
+
+# Settings for ~/.thunderbird/<profile> backup
+# Will backup every folder of given user beneath ~/.thunderbird/ separately (ignoring Crash*, profiles.ini, *-backup).
+# You don't need to change the source path.
+thunderbird_folder_source=".thunderbird/"
+# Set a backup destination for thunderbird (make sure you're allowed to write in there!)
+# Mind a trailing slash!
+# Example: thunderbird_folder_destination="/some/place/to/backup/thunderbird/to/"
+thunderbird_folder_destination=""