BackupPC-users

Re: [BackupPC-users] Restore from commandline

2014-06-11 16:15:40
Subject: Re: [BackupPC-users] Restore from commandline
From: Carl Cravens <ccravens AT excelii DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Wed, 11 Jun 2014 15:14:23 -0500
On 06/11/2014 10:41 AM, Kenneth Bergholm wrote:
> I have a problem ragrding restoring files, if I try to restore from
> the browser it times out when it tries to list the files it is over
> 400000 files in the folder (oden)...

What errors or behavior are you seeing?  Using a '.' or '/' doesn't matter in 
my experience on Linux, as you're specifying a path or filename to restore.  
('.' means "the current directory", which would be relative to the share 
specified.)

-s is technically not a folder, it's the *share* name.  If you are backing up 
(on Linux) /, /boot, /usr and /home (listed as separate shares in the config), 
and you want to restore Fred Fish's directory "foo" from his home directory 
(which is /home/fredfish), your command would look like this:

Backuppc_tarCreate -h oden -n -1 -s /home fredfish/foo > restore.tar

If you're just backing up one large share, "/" (the root filesystem that 
contains everything on Linux), your command would look like this...

Backuppc_tarCreate -h oden -n -1 -s / home/fredfish/foo > restore.tar

Add a -l to the command to just list the matched filenames... what does it 
return?

(I do restores from the command-line all the time, using netcat to stream 
directly to the target machine.)

-- 
Carl D Cravens (ccravens AT excelii DOT com), Ext 228 (620.327.1228)
Lead System Architect

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
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>