Add backup alias

This commit is contained in:
ItsDrike 2021-05-03 16:00:25 +02:00
parent ddbf375ac5
commit e9b074594b
No known key found for this signature in database
GPG key ID: B5F6B41F708C3ADD

View file

@ -138,6 +138,7 @@ alias swapout='sudo swapoff -a; sudo swapon -a' # Reset swap (move everything to
alias mount-ram='mount -t tmpfs tmpfs' # Mount RAM disk for fast filesystem
alias upload-journal='sudo journalctl -b -1 | curl -F "f:1=<-" ix.io' # Upload journalctl from last boot to ix.io
alias sv='systemctl'
alias backup="rsync -avHAXS --delete --filter='dir-merge /.rsync-filter'" # Make full rsync backup, respecting .rsync-filter files for exclusions
# Processes
alias psmem='ps auxf | sort -nr -k 4' # Top memory eaters