| 1 | #!/bin/bash |
| 2 | rsync -avhzr --delete --progress --rsh='ssh -p11' user@111.111.111.111:/ --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found","/swapfile","/boot/*"} /path/to/folder |
airikr / backupvps.sh
Last active 5 months ago
This script backups everything from the server besides of the excluded folders.
Revision 661a2c1dcbe605cd15aa304ace217205592de94f