rsync backup
Thomas K Gamble
tkg at lanl.gov
Tue Nov 24 13:01:36 UTC 2009
On Monday 23 November 2009 04:33:49 pm Karl F. Larsen wrote:
> 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
>
what is the output of ls -l /media/disk1/back? This should tell you what the
permissions and ownership settings are. It seems like it might be set as
read-only.
--
Thomas K. Gamble
Research Technologist, System/Network Administrator
Chemical Diagnostics and Engineering (C-CDE)
Los Alamos National Laboratory
MS-E543,p:505-665-4323 f:505-665-4267
There cannot be a crisis next week. My schedule is already full.
Henry Kissinger
More information about the ubuntu-users
mailing list