full server backup with rsync

From WebHostingNeeds.com
Revision as of 00:07, 23 September 2013 by Admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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