BackupPC-users

Re: [BackupPC-users] Permission denied during backup

2008-12-18 16:32:09
Subject: Re: [BackupPC-users] Permission denied during backup
From: Carl Wilhelm Soderstrom <chrome AT real-time DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Thu, 18 Dec 2008 15:27:41 -0600
On 12/18 03:56 , Glassfox wrote:
> Hello, I want to backup my localhost completely and just backup the root
> folder with some excludes (proc, sys, media and backuppc pool folder).
> Backup was successful, but if I look at the error log file there are a lot
> of "Permission denied" errors for the home folders, some files in the
> /root/ folder and some other folders. What is the best way to get also all
> this files/folders backuped?

In your /etc/backuppc/localhost.pl, use something like this (assuming you're
using tar for your local backup):

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


-- 
Carl Soderstrom
Systems Administrator
Real-Time Enterprises
www.real-time.com

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
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/