Hi there,
I have the following cron schedule
rsync -az --rsh=ssh server1:/home/ /backup
This backs up everything in the remote machine's home directory in my /backup dir. The problem I am having is, it backs up a nfs mounted directory as well.
Is there anyway to tell rsync just to sync up regular directories and not nfs items? I know I can hard code it into the command, but I was wondering if there was a more generic approach to this.
I have the following cron schedule
rsync -az --rsh=ssh server1:/home/ /backup
This backs up everything in the remote machine's home directory in my /backup dir. The problem I am having is, it backs up a nfs mounted directory as well.
Is there anyway to tell rsync just to sync up regular directories and not nfs items? I know I can hard code it into the command, but I was wondering if there was a more generic approach to this.