Luis Paulo napsal(a):
> On Tue, Nov 23, 2010 at 12:22, Pavel Hofman <pavel.hof...@ivitera.com> wrote:
>> Luis Paulo napsal(a):
>>> On Wed, Nov 10, 2010 at 16:16, Luis Paulo <luis.bar...@gmail.com> wrote:
>>>>>> Setting $Conf{BackupsDisable} = 2; for all clients won't do what you 
>>>>>> want?
>>>>>>
>>>>>> See 
>>>>>> http://your_server/backuppc/index.cgi?action=view&type=docs#item__conf_backupsdisable_
>>>>>>
>>>>>> With web gui select for each client -> Edit Config -> Schedule -> On
>>>>>> blackouts set BackupsDisable to 2.
>>>>> Luis,
>>>>>
>>>>> Thanks a lot for your help. Setting this option for all clients (i.e. in
>>>>> the main config) is perfect, but is there a way to tell backuppc (while
>>>>> running a backup job) to reload its configuration (re-read the config
>>>>> files) so that next backup jobs already reflect the changed
>>>>> configuration? In my experience I always had to restart backuppc.
>>>>>
>>>>> Thanks a lot,
>>>>>
>>>>> Pavel.
>>>>>
>>>> You're probably right, but I'm not sure you need to reload/restart
>>>> backuppc (mostly if you change clients .pl).
>>>> Any way, I found this:
>>>> http://www.mail-archive.com/backuppc-users@lists.sourceforge.net/msg19741.html
>>>>
>>
>> Hi Luis,
>>
>> I apologize for late reply, it took me a while to test your solution.
>> Thanks a lot, it works as advertised :-) Now our offline-copy script
>> disables futher backups, and re-enables them after the external drives
>> are fully synchronized and removed from the raid array.
>>
>> Pavel.
>>
> 
> Great it works, thank you for replying back.
> 
> Could you be kind enough to clarify if
> * you only change BackupsDisable directive
> * or if you use also the "BackupPC_serverMesg server reload" command
> 

Option B) is correct :)

The offline-backup script generates a small file with the directive and
value 0 or 2. The file is included in config.pl:

do "external-control.pl";

After generating the include file the script calls

BackupPC_serverMesg server reload

Thanks a lot for your help. I am thinking about sharing our backup setup
on some wiki since it is something we have been fine-tuning several
years and many companies fight with proper backup solution.

Regards,

Pavel

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to