rsync backup
Karl F. Larsen
klarsen1 at gmail.com
Mon Nov 23 23:33:49 UTC 2009
Thomas K Gamble wrote:
> On Monday 23 November 2009 11:37:38 am Robert Holtzman wrote:
>> .............snip..............
>>
>>> what I do is :
>>>
>>> sudo rsync -auv --exclude-from=/home/tkg/exclude_list / /backup
>>>
>>> -u option
>>> tells rsync to only back up those files that have changed since your last
>>> backup.
>> I thought that's what rsync did by default.
>>
>
> Well, it seems you're right. I've just gotten into the habit from using -h
> with cp on systems that didn't have rsync. Also, it seems this behavior is
> documented rather obscurely in the --Ignore-times option description in the
> man page.
>
Here is my current rsync file:
sudo rsync -auv --exclude-from=/home/karl/bin/exclude-list /
/media/disk-1/back/
It runs fine and there is much about nothing and then it quits
with the below error.
sent 5000119 bytes received 23627 bytes 76698.41 bytes/sec
total size is 18256953230 speedup is 3634.13
rsync error: some files/attrs were not transferred (see
previous errors) (code 23) at main.c(1058) [sender=3.0.5]
./mybackup: 6: /media/disk-1/back/: Permission denied
It happens the location of the backup disk and the proper
directory is /media/disk-1/back/. I have used cd and if I use
cd filename /media/drive-1/back and it works just fine.
I'm out of ideas.
Karl
--
Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.
Key ID = 3951B48D
More information about the ubuntu-users
mailing list