From da5760c5885155460458d27591989127ffcd5846 Mon Sep 17 00:00:00 2001 From: David Runge Date: Wed, 25 Mar 2015 22:07:29 +0100 Subject: config/user/crypted-backups: Adding user specific settings. --- config/user/crypted-backups | 56 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 config/user/crypted-backups 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/ +# 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/ 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="" -- cgit v1.2.3-54-g00ecf