From ffd99e3b688ad3ec4b8b506e1b866b5171cea9dc Mon Sep 17 00:00:00 2001 From: Eric Renfro Date: Wed, 26 Feb 2020 22:04:40 -0500 Subject: [PATCH] Renamed o.Distro to d.Distro correctly --- .config/emborg/home | 25 ++++++++++ .config/emborg/root | 17 +++++++ .config/emborg/settings | 50 ++++++++++++++++++++ .gitconfig##o.Fedora => .gitconfig##d.Fedora | 0 .gitconfig##o.Mint => .gitconfig##d.Mint | 0 .gitconfig##o.Ubuntu => .gitconfig##d.Ubuntu | 0 6 files changed, 92 insertions(+) create mode 100644 .config/emborg/home create mode 100644 .config/emborg/root create mode 100644 .config/emborg/settings rename .gitconfig##o.Fedora => .gitconfig##d.Fedora (100%) rename .gitconfig##o.Mint => .gitconfig##d.Mint (100%) rename .gitconfig##o.Ubuntu => .gitconfig##d.Ubuntu (100%) diff --git a/.config/emborg/home b/.config/emborg/home new file mode 100644 index 0000000..271c620 --- /dev/null +++ b/.config/emborg/home @@ -0,0 +1,25 @@ +#src_dirs = '~'.split() # absolute path to directory to be backed up +src_dirs = ''' + ~ + /mnt/storage/psi-jack +'''.split() + +excludes = ''' + ~/tmp + ~/.cache + ~/.mozilla + ~/.config/google-chrome + ~/.config/BraveSoftware + ~/.firestorm_x64 + ~/.firestorm_x64.new + ~/.local/share/fonts + ~/.local/share/Steam + ~/**/__pycache__ + ~/**/*.pyc + ~/**/.*.swp + ~/**/.*.swo + /mnt/storage/psi-jack/AfterSolus + /mnt/storage/psi-jack/BeforeMint + /mnt/storage/psi-jack/BeforeSolus +'''.split() + diff --git a/.config/emborg/root b/.config/emborg/root new file mode 100644 index 0000000..5ce7bbb --- /dev/null +++ b/.config/emborg/root @@ -0,0 +1,17 @@ +# Settings for root configuration +src_dirs = '/'.split() # absolute paths to directories to be backed up +excludes = ''' + /dev + /home/*/.cache + /mnt + /proc + /root/.cache + /run + /sys + /tmp + /var/cache + /var/lib/dnf + /var/lock + /var/run + /var/tmp +'''.split() # list of files or directories to skip diff --git a/.config/emborg/settings b/.config/emborg/settings new file mode 100644 index 0000000..2dbe41a --- /dev/null +++ b/.config/emborg/settings @@ -0,0 +1,50 @@ +# These settings are common to all configurations + +# configurations +configurations = 'home' +default_configuration = 'home' + +# passcode +# specify either passphrase or avendesora_account +#passphrase = '<>' # passphrase for encryption key +#avendesora_account = '<>' # avendesora account holding passphrase +encryption = 'none' # borg encryption method + # Common choices are 'repokey' and 'keyfile'. + # With 'repokey' the encryption key is copied into repository, use this + # only if the remote repository is owned by you and is secure. + # With 'keyfile' the encryption key is only stored locally. Be sure to + # export it and save a copy in a safe place, otherwise you may not be + # able to access your backups if you lose your disk. + +# basic settings +# specify notify if batch and notifier if interactive +notify = 'psi-jack@linux-help.org' # who to notify when things go wrong +notifier = 'notify-send -u normal {prog_name} "{msg}"' + # interactive notifier program +remote_ratelimit = 2000 # bandwidth limit in kbps +prune_after_create = True # automatically run prune after a backup +check_after_create = 'latest' # automatically run check after a backup + +# repository settings +compression = 'lz4' +repository = 'mega:/volume1/homes/psi-jack/borg' +remote_path = '/usr/local/bin/borg' +archive = '{prefix}{{now:%Y%m%d}}' +prefix = '{host_name}-' + # These may contain {} where name is any of host_name, user_name, + # prog_name config_name, or any of the user specified settings. + # Double up the braces to specify parameters that should be interpreted + # by borg. + +# filter settings +exclude_if_present = '.nobackup' +one_file_system = False +exclude_caches = True + +# prune settings +keep_within = '1d' # keep all archives created in interval +keep_hourly = 48 # number of hourly archives to keep +keep_daily = 14 # number of daily archives to keep +keep_weekly = 8 # number of weekly archives to keep +keep_monthly = 24 # number of monthly archives to keep +keep_yearly = 1 # number of yearly archives to keep diff --git a/.gitconfig##o.Fedora b/.gitconfig##d.Fedora similarity index 100% rename from .gitconfig##o.Fedora rename to .gitconfig##d.Fedora diff --git a/.gitconfig##o.Mint b/.gitconfig##d.Mint similarity index 100% rename from .gitconfig##o.Mint rename to .gitconfig##d.Mint diff --git a/.gitconfig##o.Ubuntu b/.gitconfig##d.Ubuntu similarity index 100% rename from .gitconfig##o.Ubuntu rename to .gitconfig##d.Ubuntu