Skip to content

Instantly share code, notes, and snippets.

@ralsina
Created March 27, 2020 14:54
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
#!/bin/bash -x
DEBUG=4
PUNTODEMONTAJE=/vos/sabras
rdiff-backup -v$DEBUG --print-statistics --exclude ~/.cargo --exclude ~/.local/share/Steam/ --exclude ~/.cache ~ /$PUNTODEMONTAJE/backup-$USER/
rdiff-backup -v$DEBUG --print-statistics --remove-older-than 4W /$PUNTODEMONTAJE/backup-$USER/
rdiff-backup -l /$PUNTODEMONTAJE/backup-$USER/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment