On 04/10/13 18:51, [email protected] wrote:
> Hi,
>
> I'm using BackupPC 3.1.0 and Debian 6.0.7
> I'm trying to restore a 250 MB folder through CGI interface, but it seems the 
> process hangs.
> So, I've tried with CLI, just a single file, with this command:
>
> /usr/share/backuppc/bin/BackupPC_tarCreate -h server2 -n 226 -s home4 
> camillar/public_html/index.php > /tmp/index.php
>
> but I cannot read the output file:
>
> # less index.php
> "index.php" may be a binary file.  See it anyway?
>
> It seems there is some garbage at the very beginning of file:

Looks like you are asking for a tar file, and expecting it to be a php file.

Try this:

/usr/share/backuppc/bin/BackupPC_tarCreate -h server2 -n 226 -s home4 
camillar/public_html/index.php > /tmp/restore.tar

Probably need to copy the tar file to the remote computer
cd <destination>
tar -xf /tmp/restore.tar
 

Regards,
Adam

-- 
Adam Goryachev
Website Managers
www.websitemanagers.com.au


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to