From b174f0ae1311de7b3cb336ecd2a85da7f73d42a5 Mon Sep 17 00:00:00 2001 From: Jonas Forsberg Date: Tue, 16 Aug 2022 15:15:36 +0200 Subject: [PATCH] added restic inc/excl --- .gitignore | 2 +- .restic/excludes.txt | 37 +++++++++++++++++++++++++++++++++++++ .restic/includes.txt | 1 + 3 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 .restic/excludes.txt create mode 100644 .restic/includes.txt diff --git a/.gitignore b/.gitignore index 3f9c89d..636b03d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,7 @@ .borgbackup.env .mc/ .password-store/ -.restic/ +.restic/restic.env .kube/ .gotify.sh kubeconfig diff --git a/.restic/excludes.txt b/.restic/excludes.txt new file mode 100644 index 0000000..07b4af7 --- /dev/null +++ b/.restic/excludes.txt @@ -0,0 +1,37 @@ +# Common file extentions excludes +*.tmp + +# Common directory excludes +lost+found +Cache +cache +.cache +tmp +temp +Temp + +# Common directories in HOME +/home/*/go +/home/*/.local/share/virtualenv +/home/*/.local/share/virtualenvs +/home/*/VirtualBox VMs +/home/*/.mozillla/firefox/*/minidumps +/home/*/.mozillla/firefox/*/storage +/home/*/.mozillla/firefox/*/extensions.sqlite +/home/*/.mozillla/firefox/*/urlclassifier3.sqlite +/home/*/.config/google-chrome/*/Local Storage +/home/*/.config/google-chrome/*/Session Storage +/home/*/.config/google-chrome/*/Application Cache +/home/*/.config/google-chrome/*/History +/home/*/.config/google-chrome/*/History-journal +/home/*/.config/google-chrome/*/History Provider Cache +/home/*/.local/share/flatpak +/home/*/.var/app/com.slack.Slack +/home/*/.local/share/Trash +/home/*/.config/Microsoft/Microsoft Teams +/home/*/.wine +/home/*/.vim/bundle +/home/*/snap +/home/*/Downloads +/home/*/Nextcloud +/home/*/git diff --git a/.restic/includes.txt b/.restic/includes.txt new file mode 100644 index 0000000..21b7fc1 --- /dev/null +++ b/.restic/includes.txt @@ -0,0 +1 @@ +/home/jonas