restic backup
This commit is contained in:
parent
747ca94eaf
commit
a5c12eed80
2 changed files with 29 additions and 0 deletions
20
home/private_dot_config/restic/excludes.txt
Normal file
20
home/private_dot_config/restic/excludes.txt
Normal 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
|
9
home/private_dot_config/restic/run-restic.sh
Normal file
9
home/private_dot_config/restic/run-restic.sh
Normal 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"
|
Loading…
Reference in a new issue