Prev Previous Post   Next Post Next
Old 29th June 2007, 00:16
raptor2552 raptor2552 is offline
Junior Member
Join Date: Apr 2007
Location: Melbourne, FL
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Default backuppc restore

There two more questions I have which may be because of some configuration, or perhaps a user, problem. Since this is new to me I'm setting backuppc to use tar on the host computer to experiment with, get the lay of the land.

I cannot restore any files and the log reports:

2007-06-28 09:03:42 Restore failed (BackupPC_tarCreate failed)
2007-06-28 11:03:52 Running: /usr/share/backuppc/bin/BackupPC_tarCreate -h localhost -n 3 -s / -t -r /home/mike/Media -p /home/mike/Media/ /home/mike/Media/Photo
Why is backuppc using BackupPC_tarCreate and not BackupPC_tarExtract? Am I totally off base on this or what?

Here is my file:
# Local server backup of /etc as user backuppc
$Conf{XferMethod} = 'tar';

$Conf{TarShareName} = '/';
$Conf{BackupFilesOnly} = ['/home/mike', '/var/www'];
$Conf{BackupFilesExclude} = ['/home/mike/.VirtualBox','/home/mike/dvdrip-data', '/var/www/smfbbs'];

$Conf{TarClientCmd} = '/usr/bin/env LC_ALL=C $tarPath -c -v -f - -C $shareName'
                        . ' --totals';

$Conf{TarClientRestoreCmd} = ' /usr/bin/env LC_ALL=C $tarPath -x -p --numeric-owner --same-owner'
		   . ' -v -f - -C $shareName+';

# remove extra shell escapes ($fileList+ etc.) that are
# needed for remote backups but may break local ones
$Conf{TarFullArgs} = '$fileList';
$Conf{TarIncrArgs} = '--newer=$incrDate $fileList';
The script has not been modified.

Secondly I noticed that backuppc did not backup many of my files because "Access was denied". I had put backuppc in the sudoers files as instructed by the install script:
 backuppc ALL = NOPASSWD: /bin/tar
How do get this to work?
Reply With Quote
Sponsored Links


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Database Backup and Restore PoleCat Feature Requests 5 16th May 2007 16:36
Backup / Restore SamTzu General 8 16th May 2007 16:30
Using backuppc for ISPConfig mxc General 1 11th February 2007 13:43
please help...restore 180 mb backup gary1974 Programming/Scripts 3 30th January 2007 14:08
systemimager restore errors Randy HOWTO-Related Questions 5 2nd November 2006 16:02

All times are GMT +2. The time now is 03:55.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.