Jon writes:

> > I'm sure it works, there must be some error in your settings. Could you
> > maybe post your BackupFilesExclude and BackupFilesOnly settings?
> 
> Sure. In /etc/BackupPC/config.pl
> 
>         $Conf{BackupFilesOnly} = {};
>          $Conf{BackupFilesExclude} = {};
> 
> In /etc/BackupPC/pc/client.pl
> 
>         $Conf{BackupFilesOnly} = {
>         '/etc/namedb' => [
>         ''
>         ],
>         '/etc/named.conf' => [
>         ''
>         ]
>         };
> 
> The only other thing I can think of is that my "share" name
> is "/" but even so, I would expect BackupFilesOnly to do
> its trick.

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'],
    };

These are relative to the share name, which you said was "/".

Insteady, you could use "/etc" for the share name and then set:

    $Conf{BackupFilesOnly} = {
        '/etc' => ['/namedb', '/named.conf'],
    };

> (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.

Craig

-------------------------------------------------------------------------
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