February 15, 201412 yr Hey All... I've been reading most of the morning/afternoon on best way to backup unraid to another unraid box and most people seem to agree rsync is the best method. rsync -avz /mnt/user/TV [email protected]:/mnt/user/TV --dry-run >> dryrun My backup box right now has about 80% of the content of my production box (just copying over SMB thru my mac), I ran the above code to see if it would just copy over the changes and it doesn't, it grabs everything. Is there anyway to get rsync to just copy the changes? I know it has incremental support. My goal would be to cron this to run once a week. I will have to setup the openSSH private keys.. but thats after I getting working manually.
February 15, 201412 yr Author I think I found it out why. Needed the "/" at the end rsync -avzh /mnt/user/TV/ [email protected]:/mnt/user/TV/ --dry-run --stats >> dryrun Number of files: 69,840 (reg: 68,237, dir: 1,603) Number of created files: 9,613 (reg: 9,460, dir: 153) Number of regular files transferred: 24,156 Total file size: 7.42T bytes Total transferred file size: 3.36T bytes Literal data: 0 bytes Matched data: 0 bytes File list size: 0 File list generation time: 0.041 seconds File list transfer time: 0.000 seconds Total bytes sent: 1.64M Total bytes received: 84.00K
Archived
This topic is now archived and is closed to further replies.