On Fri, 20 Aug 2010, balearenin...@gmx.net wrote: > Verry fast answer... Thank you Tony > > > > > > Hola, > > > > new to the list and maybe having problems with english I ask for a > > friendly and a not too difficult answer. > > > > Using Windows 7 Pro, > > D-link DNS-323 NAS-Storage > > rSync: actual Version (just downloaded) > > > > Here is the stange behavier: > > I use > > rsync.exe -a -v --progress --delete --ignore-errors --force > > /cygdrive/N/ /cygdrive/ "//SPEICHER/Volume_1/Backup/10-er/D$/" > > << Assuming the above was all on one line: > YES! > << Rsync.exe -a -v --progress --delete --ignore errors --force > << /cygdrive/N/ ##-- this is the N drive ####### the source > << /cygdrive/ ##-- this is ALL the drives that cygwin can find > << "//SPEICHER/... ##-- this is the TARGET. The above TWO parameters are > sources. > > Why TWO parameters??? As I read I must use "cygdrive" under windows > for each drive. (Source and target)
Ignoring the other flags, your command is the same as: rsync -a /cygdrive/N/ /cygdrive/ //backup-path/ (source) (source) (target) Which says: Archive (-a) everything... ...from /cygdrive/N/ (the 'N:' drive) ...and from /cygdrive/ (all of your drives, including 'N:' again) ...to "//SPEICHER/Volume_1/Backup/10-er/D$/" (your NAS). You must use '/cygdrive/' for each drive listed as a source or target, but in this case, you're only interested in one drive (the source: 'N:'). > > So I want to backup the drive "N" from the Windows-Computer to > > //SPEICHER/Volume_1/Backup/10-er/D$/ on the NAS-Drive > > > > That works fine until all files are copied from "N" to > > //SPEICHER/Volume_1/Backup/10-er/D$/ > > > > After finishing that rSync starts to coppy ALL Drives (c:,D:,E:,...) > > from the Windows system to the NAS-Drive //SPEICHER/Volume_1/Backup/10- > > er/D$/ which is, of course not, what I want :( > > << This comes from the SECOND SOURCE PARAMETER /cygdrive/ > Hmmmm... and what to do delete the SECOND SOURCE PARAMETER ?? Yust > nou use the second "/cygdrive/"? Yes. Just don't use the second /cygdrive/. -- Best, Ben -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html