aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2015-03-25 22:07:29 +0100
committerDavid Runge <dave@sleepmap.de>2015-03-25 22:07:29 +0100
commitda5760c5885155460458d27591989127ffcd5846 (patch)
tree220d25f01595c028f55f01daf438b0a7af425a8e
parentc479eedb8118344e150b4c513c1387f8605b1efb (diff)
downloadcrypted-backups-da5760c5885155460458d27591989127ffcd5846.tar.gz
crypted-backups-da5760c5885155460458d27591989127ffcd5846.tar.bz2
crypted-backups-da5760c5885155460458d27591989127ffcd5846.tar.xz
crypted-backups-da5760c5885155460458d27591989127ffcd5846.zip
config/user/crypted-backups: Adding user specific settings.
-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=""