full server backup with rsync

From WebHostingNeeds.com
Jump to: navigation, search

To exclude a folder when transferring with rsync, use --exclude=/path/to/folder/or/file

rsync -avz --exclude={/dev,/proc,/sys,/tmp,/run,/mnt,/media,/lost+found,/backup} "-e ssh -p 22" / [email protected]:folder




rsync

rsync excluding folders