This example assumes that you have set your backup path to “/” (root directory) on the source system. This example also assumes that you are running Mac OS X.
/private/etc/ssh_config/ + private + private/etc/*** + private/var/*** + home/*** - *
Depending upon your system the example above may not work. It will depend upon the actual location of these files on your system.
However, please keep in mind that if you use this kind of approach for your backups then you may find that in a future release of LBackup the backup integrity check feature which is added will not work correctly.
Up until recently, I was not aware that the rsync excludes file could be used like this to add files as well as remove them. With that in mind, if you use this approach please check very carefully that all files you need to preserve are actually being backup.
Notes regarding each line of the example exclude file listed above :
/private/etc/ssh_config/
)+ private
)+ private/etc/***
)+ private/var/***
)+ home/***
)- *
)If you have questions feel free to ask questions on the LBackup or rsync mailing lists.
Note : Mac OS X has a directory “/private/etc
” and then this symbolically links this to “/etc/
”