Toby Johnson <[EMAIL PROTECTED]> wrote:
> >
> > Well, sorry it's
> >
> > $Conf{BackupFilesEsclude} = {'/var' =>
> > ['named/chroot/dev','named/chroot/etc','named/chroot/proc','log',]};
> >
> > without the fisrt slash. I usually backup from the root
> > ($Conf{RsyncShareName} = ['/'];)
> > so I can exclude with absolute paths. but when you exclude from another
> > directory
> > you must use relative paths
> >
>
> Thanks, that did the trick! The documentation made it seem as though the
> { share } => [files] syntax was for SMB only so I hadn't tried that at all.
for my own understanding -- the problem could have been solved without
this syntax, if only the original pathnames had been relative rather than
absolute, correct? i.e., by changing this:
$Conf{BackupFilesExclude} = ['/var/named/chroot/dev',
'/var/named/chroot/etc', '/var/named/chroot/proc', '/var/log'];
to this:
$Conf{BackupFilesExclude} = ['var/named/chroot/dev',
'var/named/chroot/etc', 'var/named/chroot/proc', 'var/log'];
correct?
or should it have been this:
$Conf{BackupFilesExclude} = ['named/chroot/dev',
'named/chroot/etc', 'named/chroot/proc', 'log'];
=---------------------
paul fox, [EMAIL PROTECTED] (arlington, ma, where it's 49.3 degrees)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/