BackupPC-users

Re: [BackupPC-users] Can't do a backup

2011-08-01 18:48:05
Subject: Re: [BackupPC-users] Can't do a backup
From: Les Mikesell <lesmikesell AT gmail DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Mon, 01 Aug 2011 17:46:45 -0500
On 8/1/2011 5:25 PM, Rory Toma wrote:
> On 8/1/11 3:05 PM, Les Mikesell wrote:
>> On 8/1/2011 4:47 PM, Rory Toma wrote:
>>> Let me say, the default command threw me for some time:
>>>
>>> #    $Conf{TarClientCmd} = '$tarPath -c -v -f - -C /mnt/$host/$shareName'
>>> #                        . ' --totals';
>>>
>>>
>>> as I interpreted the "." as a tar argument, rather than perl syntax. 8-)
>> Errr, '.' is the target, meaning 'current directory'.  The -C option
>> tells tar to change its working directory to the specified path, then it
>> backs it up using '.' to have only relative paths in the backup.
>>
> Yes, . is current directory. However, in this case, isn't this perl
> syntax, as it is outside of the ' '? I don't really do perl, however.
>
> Also, if I include the ., outside of quotes, with nothing after it, the
> command fails.

I guess you are right.  My command doesn't look quite like that in the 
web interface and I was looking at the log entry where something else 
must have added the '.'.

-- 
   Les Mikesell
    lesmikesell AT gmail DOT com


------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
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/