Last active
August 31, 2023 03:07
-
-
Save Hasnep/17be35d9f39d1f8691a6971ac063fca6 to your computer and use it in GitHub Desktop.
Resticprofile setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[global] | |
password-file = "password.txt" | |
[global.backup] | |
exclude-file = "excludes.txt" | |
exclude-if-present = ".resticignore" | |
schedule-permission = "user" | |
schedule-lock-wait = "1h" | |
[global.retention] | |
before-backup = false | |
after-backup = true | |
prune = true | |
# Home | |
[home] | |
inherit = "global" | |
[home.backup] | |
source = ["~"] | |
schedule = "daily" | |
exclude = ["~/Documents/"] | |
tag = ["home"] | |
[home.retention] | |
keep-daily = 7 | |
keep-weekly = 4 | |
keep-monthly = 12 | |
keep-yearly = 999 | |
tag = ["home"] | |
# Documents | |
[documents] | |
inherit = "global" | |
[documents.backup] | |
source = ["~/Documents/"] | |
tag = ["documents"] | |
schedule = "hourly" | |
[documents.retention] | |
keep-hourly = 24 | |
keep-daily = 14 | |
keep-weekly = 4 | |
keep-monthly = 12 | |
keep-yearly = 999 | |
tag = ["documents"] | |
# Final profiles | |
[home-local] | |
inherit = "home" | |
repository = "/media/hannes/caddy/dello/home/" | |
[home-remote] | |
inherit = "home" | |
repository = "~/pCloudDrive/restic/dello/home/" | |
[documents-local] | |
inherit = "documents" | |
repository = "/media/hannes/caddy/dello/documents/" | |
[documents-remote] | |
inherit = "documents" | |
repository = "~/pCloudDrive/restic/dello/documents/" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ansible | |
$HOME/.ansible/ | |
# Arduino | |
$HOME/.arduino15/ | |
$HOME/Arduino/ | |
# Bitwig | |
$HOME/.BitwigStudio | |
# Cache files | |
$HOME/.config/**/Cache | |
.cache/ | |
Cache/ | |
# Docker | |
$HOME/.local/share/containers/ | |
# Downloads | |
$HOME/Downloads/ | |
# Dropbox | |
$HOME/.dropbox-dist/ | |
$HOME/.dropbox/ | |
$HOME/Dropbox/ | |
# Firefox | |
$HOME/.mozilla/ | |
# Fish shell | |
$HOME/.local/share/fisher/ | |
# GNOME | |
$HOME/.gvfs/ | |
$HOME/.local/share/gvfs-metadata/ | |
# Games | |
$HOME/.Prison Architect/ | |
# Go | |
$HOME/.local/share/go/ | |
# Julia | |
$HOME/.julia/ | |
$HOME/packages/julias/ | |
$HOME/.local/share/julia/ | |
# Lutris | |
$HOME/.local/share/lutris/ | |
$HOME/Games/ | |
# Mono | |
$HOME/.mono/ | |
# Nim | |
$HOME/.choosenim/ | |
# Node | |
$HOME/.npm/ | |
$HOME/.nvm/ | |
node_modules/ | |
# OCaml | |
$HOME/.local/share/opam/ | |
# Phoronix | |
$HOME/.phoronix-test-suite/ | |
# Python | |
$HOME/.local/pipx | |
$HOME/.venvs/ | |
.ipynb_checkpoints/ | |
.mypy_cache/ | |
.venv/ | |
venv/ | |
# R | |
$HOME/.local/share/renv/ | |
$HOME/.r/ | |
$HOME/R/ | |
renv/library/ | |
renv/library/ | |
renv/python/ | |
renv/python/ | |
renv/staging/ | |
renv/staging/ | |
# RIP | |
$HOME/.local/share/graveyard | |
# Rust | |
$HOME/.cargo/ | |
$HOME/.local/share/cargo/ | |
$HOME/.local/share/rustup/ | |
$HOME/.rustup/ | |
$HOME/Documents/rust/**/target/ | |
# Snaps | |
$HOME/snap/ | |
# Steam | |
$HOME/.local/share/Steam/steamapps/common/ | |
$HOME/.steam/ | |
# System files | |
$HOME/.Trash/ | |
$HOME/.dbus/ | |
$HOME/.local/share/Trash/ | |
$HOME/.recently-used/ | |
$HOME/.thumbnails/ | |
$HOME/.var/ | |
$HOME/.xsession-errors/ | |
# Terraform | |
.terraform/ | |
# Torrents | |
$HOME/torrents/ | |
# VSCode | |
$HOME/.config/Code - Insiders/ | |
$HOME/.config/Code/ | |
$HOME/.vscode-insiders/ | |
$HOME/.vscode/ | |
# VSCodium | |
$HOME/.vscode-oss/ | |
$HOME/.config/VSCodium/ | |
# VirtualBox | |
$HOME/VirtualBox VMs/ | |
# Wine | |
$HOME/.wine-prefixes/ | |
$HOME/.wine/ | |
# Zeal | |
$HOME/.local/share/Zeal/ | |
# pCloud | |
$HOME/.config/pcloud/ | |
$HOME/.pcloud/ | |
$HOME/pCloudDrive/⏎ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment