Skip to content

Instantly share code, notes, and snippets.

@ralsina
Created March 27, 2020 14:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save ralsina/0d294a4740cf71df1890c3dc508a0f5a to your computer and use it in GitHub Desktop.
Save ralsina/0d294a4740cf71df1890c3dc508a0f5a to your computer and use it in GitHub Desktop.
#!/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