BackupPC-users

Re: [BackupPC-users] An host for restoration only

2013-07-24 06:43:06
Subject: Re: [BackupPC-users] An host for restoration only
From: "Dick Tump (Shock Media)" <dick AT shockmedia DOT nl>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Wed, 24 Jul 2013 12:18:52 +0200
The easiest way is probably to set the option 'BackupsDisable' to 1 for your restoration only host:
http://backuppc.sourceforge.net/faq/BackupPC.html#_conf_backupsdisable_
Met vriendelijke groet / Kind regards,
Dick Tump | Shock Media B.V.

Tel: +31 (0)546 - 714360
Fax: +31 (0)546 - 714361
Web: http://www.shockmedia.nl/

Connect to me @ LinkedIn:
http://nl.linkedin.com/in/dicktump
On 07/24/2013 12:08 PM, Jimmy Thrasibule wrote:
Hi,

I've set up an host in my BackupPC configuration mostly for restoration
purposes. Meaning that I don't want to backup this fake host but only
use it when I need to restore something.


        # backup-restore.pl - Fake host for on site restoration.
        $Conf{ClientNameAlias} = "backup";
        
        # Transport method configuration.
        $Conf{XferMethod} = 'rsync';
        $Conf{RsyncClientCmd} = '/bin/true';
        $Conf{RsyncClientRestoreCmd} = '$rsyncPath $argList+';

        # What to backup.
        $Conf{RsyncShareName} = [
          '/srv/backup/restore',
        ];


The problem with this configuration is that BackupPC will try to backup
this host and will obviously fail. I tried to put `/bin/true` in place
of the usual `rsync` path, but it doesn't help. How can I make BackupPC
believe that backup of this host succeeded?

Or is there any other way to have a restoration only host?

--
Jimmy



------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
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/

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
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>