DO NOT REPLY [Bug 5078] New: Unable to use Win32 device paths with
--files-from
samba-bugs at samba.org
samba-bugs at samba.org
Mon Nov 12 14:41:32 GMT 2007
https://bugzilla.samba.org/show_bug.cgi?id=5078
Summary: Unable to use Win32 device paths with --files-from
Product: rsync
Version: 2.6.9
Platform: x86
OS/Version: Windows XP
Status: NEW
Severity: major
Priority: P3
Component: core
AssignedTo: wayned at samba.org
ReportedBy: greg at bolshaw.me.uk
QAContact: rsync-qa at samba.org
I am using vshadow.exe to create a volume shadow copy of c: which is made
available at //?/GLOBALROOT/Device/HarddiskVolumeShadowCopy1. I can then run
the following rsync command succesfully:
rsync -ae ssh //?/GLOBALROOT/Device/HarddiskVolumeShadowCopy1/SomeFolder/
user at remote.server:Backup
Next, I try to implement the same but using --files-from, as follows:
rsync -ae ssh --files-from=files.txt
//?/GLOBALROOT/Device/HarddiskVolumeShadowCopy1/ user at remote.server:Backup
(files.txt contains SomeFolder/)
However, this fails with the following error:
rsync: push_dir "//?/GLOBALROOT/Device/HarddiskVolumeShadowCopy1/" failed: Not
a directory (20)
rsync error: errors selecting input/output files, dirs (code 3) at
flist.c(1082)
[sender=2.6.9]
I have also tried without the trailing slash after HarddiskVolumeShadowCopy1
and get a different error:
rsync: push_dir "//?/GLOBALROOT/Device/HarddiskVolumeShadowCopy1" failed:
Invalid argument (22)
rsync error: errors selecting input/output files, dirs (code 3) at
flist.c(1082)
[sender=2.6.9]
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the rsync
mailing list