BackupPC-users

Re: [BackupPC-users] disable wakeup / Read-only backuppc

2010-01-27 18:29:21
Subject: Re: [BackupPC-users] disable wakeup / Read-only backuppc
From: "HUGE | David Stahl" <dstahl AT hugeinc DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Wed, 27 Jan 2010 18:27:29 -0500
Actually what led me to this problem/need/question when occured when I first rolled this out to our production system. I had forgot to set the $Conf{FullKeepCnt} and $Conf{IncrKeepCnt} counts same on both servers. hence the offsite one started erasing backups in its data dir.
  I am actually doing a test lab right now. where I modified  /usr/local/BackupPC/bin/BackupPC
and am commenting out the parts out of  the "Main Loop" section related to Backuppc_nightly and CmdQue and UserQue

as well in the /usr/local/BackupPC/bin folder
I moved/renamed Backuppc_nightly and Backuppc_trashClean


I will know soon enough if this worked or not. as I have left my 2  test lab machine with different Conf{FullKeepCnt} and $Conf{IncrKeepCnt} counts

On Wed, Jan 27, 2010 at 5:47 PM, John Rouillard <rouilj-backuppc AT renesys DOT com> wrote:
On Tue, Jan 26, 2010 at 05:27:55PM -0500, HUGE | David Stahl wrote:
> We have a setup where we have one backuppc sending it's data off-site to a
> server in our colocation. We would like to test for disaster recovery
> restores. and I would like to run backuppc gui on that remote server with
> same hosts as on our production server so I can do restores from gui. yet I
> don't want it to wake up and make any changes to pool/cpool etc.
>  What I really want is that offsite backuppc server to be read only. Any
> thoughts?
> I am wondering if just leaving "$Conf{WakeupSchedule}   "  empty in the main
> config.pl would do it. I am going to try this in a test lab, but also wanted
> to see if anyone had a quick answer here.

Would setting:

 $Conf{BackupsDisable} = 2;

as well/instead of help? If the scheduler doesn't add any new backups,
then all the existing backups should be preserved. The nightly script
will have nothing to do since the pc directory is already pruned for
the $Conf{FullKeepCnt} and $Conf{IncrKeepCnt} counts).

--
                               -- rouilj

John Rouillard       System Administrator
Renesys Corporation  603-244-9084 (cell)  603-643-9300 x 111

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
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/



--
HUGE

David Stahl
Sr. Systems Administrator
718 233 9164
www.hugeinc.com <http://www.hugeinc.com>
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
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>