BackupPC-users

Re: [BackupPC-users] BackupPC v4.1.1-Problem restoring backups

2017-04-24 15:15:24
Subject: Re: [BackupPC-users] BackupPC v4.1.1-Problem restoring backups
From: Johan Ehnberg <johan AT molnix DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Mon, 24 Apr 2017 22:14:36 +0300
Hi,

> I can browse and restore single files via the browser, but as it
> concerns about 2TB of data it is some job!!

The tarCreate option can be a doable solution as a one-off since the 
rsync route may require more time to set up but web restores work. 
Basically it creates a tar that you can pipe back to your restore location:

BackupPC_tarCreate -h YOURHOSTNAME -n -0 -s / / | tar -x -C /tmp

Or, more elaborately for a remote host over a slow link running as 
another user than backuppc and ensuring all file attributes can be set 
when extracting, something like:

sudo sudo -i -u backuppc /usr/share/backuppc/bin/BackupPC_tarCreate -h 
YOURHOSTNAME -n -0 -s / / 2> /dev/null |pv -Cq -B 256 |plzip -1 |ssh 
SOMEOTHERHOST -- 'plzip -d | sudo tar -x -C /tmp'


> About the syntax for executing the restore from the command-line i'm not
> quite sure, maybe you could elaborate a bit about that (If you still
> think it's worth while).

They are actually documented well in the file itself (it is perl so not 
binary, i.e. you can read the file with 'less 
/usr/share/backuppc/bin/BackupPC_restore').

Let us know how this round goes.

Best regards,
Johan

-- 
Johan Ehnberg
johan AT molnix DOT com
+358503209688

Molnix Oy
molnix.com

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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/