restic backup

This commit is contained in:
Daylin Morgan 2022-11-13 21:52:01 -06:00
parent 747ca94eaf
commit a5c12eed80
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,20 @@
$HOME/**/*
!$HOME/dev
!$HOME/archive
!$HOME/writing
!$HOME/Desktop
!$HOME/fonts
!$HOME/zettelkasten
!$HOME/labbook
!$HOME/clonmapper-plasmids
!$HOME/slidedecks
!$HOME/Geneious Data Restored
!$HOME/Pictures
!$HOME/notes
!$HOME/wallpapers
!$HOME/Documents
#[...]
node_modules
env

View file

@ -0,0 +1,9 @@
#!/usr/bin/env bash
restic \
backup \
-r rclone:g:thinkbak \
--exclude-file "$HOME/.config/restic/excludes.txt" \
--exclude-file "$HOME/.conda/environments.txt" \
--verbose \
"$HOME"