Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3204

rsync does not exclude directories in cron.daily (5 replies)

$
0
0
Hi,

Anybody running rsync in a cron job to backup rootfs? Once in a while I run rsync in a script to backup my debian development plug rootfs to another plug. It always works fine, excluding typical directories that we should exclude such as /proc, /dev,... Now I'm starting to get organize :) and want to execute it inside a cron.daily. And I found out from dry-run that it does not exclude these directories! since I am running everything as root, it is really strange that it would behave differently in a cron job.

Anybody experience the same thing on kernel 3.8.11?

Thanks,

Viewing all articles
Browse latest Browse all 3204