Jon Forrest wrote:
> Craig Barratt wrote:
> 
> First of all, thanks so much for replying. Please take my comments
> as respectful suggestions.
> 
>> Your BackupFilesOnly is backwards.  It should map the share name
>> to the list of files/directories to backup for that share:
>>
>>     $Conf{BackupFilesOnly} = {
>>         '/' => ['/etc/namedb', '/etc/named.conf'],
>>     };
> 
> This worked. Thanks!. That said,
> 
> 1) How could I have known that this was required from reading the 
> documentation?
> The documentation for BackupFilesOnly says: "List of directories or files to 
> backup.
> If this is defined, only these directories or files will be backed up.".
> Then, the 3rd paragraph confuses the issue by saying "A hash is used to give 
> a list
> of directories or files to backup for each share (the share name is the key)".
> This doesn't say when I'd need a hash as opposed to a simple string, as shown
> in the first example.

From: 
http://backuppc.sourceforge.net/faq/BackupPC.html#what_to_backup_and_when_to_do_it

   "This can be set to a string, an array of strings, or, in the case of 
multiple shares, a hash of strings or arrays".

So if you have multiple shares on the same host you would use a hash, 
with the special key of '*' to indicate values that apply to all of 
them, otherwise they only apply to the specified key.

>>> (I'm not sure what "share" really means when backing up Unix systems).
>> It depends on the Xfer method.  BackupPC started with only smb for PCs,
>> which use the "share" terminology.  For tar and rsync, share means the
>> absolute directory path.  For rsyncd it means the rsyncd module name.
> 
> Having these multiple meanings for a word that, at least in the Windows world,
> has a fixed meaning makes things less clear. It would be nice if you could
> only use "share" for smb and use something else, like "file system" for
> rsync and tar. I suspect that doing so would make my issue #1 above
> go away.

Having multiple words for the same meaning sounds even more confusing, 
especially if you change methods later.  Maybe 'target' would have made 
sense.

-- 
    Les Mikesell
     [EMAIL PROTECTED]

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to