BackupPC-users

Re: [BackupPC-users] Automatic redirected restore

2012-02-18 12:09:45
Subject: Re: [BackupPC-users] Automatic redirected restore
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: Sat, 18 Feb 2012 11:08:23 -0600
On Sat, Feb 18, 2012 at 10:53 AM, Dan Johansson <Dan.Johansson AT dmj DOT nu> wrote:
>
> Use the BackupPC_tarCreate command line program and pipe it directly to a
> 'tar -xf -' to extract instead of saving the output in a file.  Insert ssh
> in the pipeline appropriately if you want the restore to happen elsewhere.

Great - that was what I was looking for. Now I have another (related) problem.
With BackupPC_archiveStart I get all shares for the host, with
BackupPC_tarCreate I have to explicitly name all shares. This puts me in the
situation that I have to dynamically figure out all shares for each host. Are
there command that does this for me? If not, then I have to write a small
perl-script  to read the host-config-file.


Something like:
BEGIN { require "config.pl"; }
??

--
  Les Mikesell
    lesmikesell AT gmail DOT com

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
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>