[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: rsync fails to copy (both 2.4.6-1 and 2.5.5-0.1) maybe other ways to copy?



> > I am trying to copy the whole drive from a Win2000 Server to a Debian box
> > over the LAN for backup. The whole 2000 drive is mounted on my /mnt
> > directory. This is the command I use:
> > steelhead:~# rsync -av --ignore-errors --force /mnt
> > /home/andy/serverbackup
> >
> > With rsync 2.5.5-0.1 I keep getting this error:
> > send_files failed to open //mnt/pagefile.sys: Text file busy
> > wrote 1997693597 bytes  read 311316 bytes  798403.56 bytes/sec
> > total size is 3608114930  speedup is 1.81
> > rsync error: partial transfer (code 23) at main.c(578)
> >
> > I rolled back to rsync 2.4.6-1 to try an older version and this time it
> > copies a few gigs but then hangs when it hits file in the c:\ root
> > directory. I am not sure why.  Google shows a ton of returns on the
> > partial transfer error but I can't find any solutions out there.
>
> don't back up pagefile.sys.  It's a swap file.

It still fails at the pagefile.sys even though I tell it to exclude pagefile 
and ntldr 2 different ways.  I have read the manpage but I am very weak on 
proper syntax.  I tried with including the .sys extension as well. No dice.
Can you correct me here?  Is my PATTERN correct?

This is the command I used:
steelhead:~# rsync -av --ignore-errors --force --exclude "mnt/pagefile" 
--exclude "mnt/ntldr" --exclude "pagefile" --exclude "ntldr" /mnt/ /root/nt

Here is the error:
send_files failed to open /mnt/pagefile.sys: Text file busy
wrote 1995009521 bytes  read 311284 bytes  794790.20 bytes/sec
total size is 3606469105  speedup is 1.81
rsync error: partial transfer (code 23) at main.c(578)



Reply to: