On 04/14/2013 10:28 AM, Reindl Harald wrote:
Am 14.04.2013 16:17, schrieb Robert Moskowitz:
I am doing a new setup, got most of the files in place from other places and then ran my rsync backup from the command line before putting it in crontab. Here is the rsync:
rsync -ah --stats --delete /home/ /mnt/sdc1/backups/homebase/home
Why would files transferred be less than the number of files? For example, is there some option I need to move hidden files? I do not believe there are any symlinks under /home
because there may be links and special files in userhomes?
thanks Harald.
"--force --delete-after --devices --specials --sparse -tPrlHpogEAX" are the params to go if you REALLY want to sync folders 1:1 and i am using this since many years for any backup/sync job local as also over networks
# -z compress # -t timestamps # -P progress # -r recursive # -l links # -H hard-links # -p permissions # -o owner # -g group # -E executability # -A acls # -X xtended attributes