Carl Wilhelm Soderstrom wrote: > 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'; >
Thanks guys, and sorry: I'm using rsync :( What is the best solution for this? And yes, I'm running backuppc as a normal user and not as root. +---------------------------------------------------------------------- |This was sent by wild...@yahoo.de via Backup Central. |Forward SPAM to ab...@backupcentral.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/