BackupPC-users

Re: [BackupPC-users] Spaces in rsync-conf

2011-06-27 10:44:24
Subject: Re: [BackupPC-users] Spaces in rsync-conf
From: "Michael Stowe" <mstowe AT chicago.us.mensa DOT org>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 27 Jun 2011 09:42:37 -0500
> Am 06/27/2011 04:06 PM, schrieb Michael Stowe:
>>> Hello,
>>>
>>> I try to use the cygwin-rsync from Backuppc.
>>> Cause of the German Language, the c:\Users-Folder is called
>>> "c:\Dokumente und Einstellungen".
>>> But rsync can't find that folder.
>>>
>>> I tried it with
>>> path = "/cygdrive/c/Dokumente und Einstellungen" and other quuotings,
>>> but none worked. I always get the error "rsync: chdir
>>> "/cygdrive/c/Dokumente und Einstellungen" failed: No such file or
>>> directory (2)"
>>>
>>> What is the right way to quote such a path?
>>>
>>> Regards
>>>
>>> Daniel
>>
>> Errr...  no.
>>
>> "Dokumente und Einstellungen" is "Documents and Settings," not Users.
>>
>> If you're backing up Vista or Windows 7, your problem isn't the spaces
>> in
>> the folder name, it's that the folder name is actually "Users," which is
>> the same on both German and English versions.
>>
>> This is translated to "Benutzer" on the desktop, but it's only a
>> localized
>> name, in the filesystem, you still want "Users."
>>
>> And I hate to answer your question with a question, but where do you
>> wish
>> to quote the path with spaces in it?  The BackupPC configuration,
>> rsyncd.conf, the command line ...?
>>
>
> Sorry, for the confusion, I'm backing up a machine with Windows XP Prof.
> My problem is the rsyncd.conf, rsync can't find the path.
>
> Regards
>
> Daniel

In that case, to find the path, start with:

dir /x

This will provide the "short" names, which should be locatable:
03/05/2010  03:20 PM    <DIR>          DOCUME~1     Documents and Settings
06/14/2011  03:32 PM    <DIR>          PROGRA~1     Program Files

In this case, I'd use:

/cygdrive/c/DOCUME~1

And it should be able to locate the path.


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>