BackupPC-users

Re: [BackupPC-users] Feature Request

2014-08-28 11:41:27
Subject: Re: [BackupPC-users] Feature Request
From: Les Mikesell <lesmikesell AT gmail DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Thu, 28 Aug 2014 10:37:00 -0500
On Thu, Aug 28, 2014 at 9:59 AM,  <backuppc AT kosowsky DOT org> wrote:
>>
> While it's not clear to me what you are actually trying to do, there
> is a *lot* that you can do short of patching the Rsync.pm file.
>
> - You can have separate config files per host
> - You can put arbitrary executable Perl code within any host config file that
>   is evaluated at run time which can be used to conditionally set
>   variables like RsyncShareName at run time.

Note that if you do add run-time perl code in the configs you'll
probably lose the ability to use the web 'edit config' interface.
Also, you can set the IP targets independently from the hostname by
using ClientNameAlias in the per-host configs - you don't really need
the settings in the system /etc/hosts file.   If I needed to do
something like that I would probably set up one configuration using
the web interface's per-host 'Edit Confilg', then for a small number
of variations add the others using the 'newhost=oldhost' syntax in
'Edit Hosts' followed by changing just the ClientNameAlias and the
RsyncShareName settings, or for a large number of targets, write
something to generate the appropriate per-host config files using the
first as a template.

-- 
   Les Mikesell
     lesmikesell AT gmail DOT com

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
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>