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@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/