
Backuppc does not backup files with specific rights (600)
On 12/05 03:54 , petka wrote:
I use tar I found that files with rights 0600 rwx------ were not included into my backup. I use sudoed tar to back up my files. On each server I added a directive for tar, like this :
backuppcuser ALL=NOPASSWD: /bin/tar
which should backup any files if I am correct.
When you say 'I use sudoed tar' do you mean you changed your TarClientCmd
like so?:
$Conf{TarClientCmd} = '/usr/bin/env LC_ALL=C /usr/bin/sudo $tarPath -c -v -f - -C $shareName --totals';
If you weren't already aware you can put that in a file named for that
particular host and redefine the variable for just that host. My example
above comes from '/etc/backuppc/localhost.pl' but this is a Debian box
(easiest BackupPC install) and I don't know what distro you're using.
--
Carl Soderstrom
Systems Administrator
Real-Time Enterprises
www.real-time.com
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List:
https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:
http://backuppc.wiki.sourceforge.net
Project:
http://backuppc.sourceforge.net/