SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Backuppc does not backup files with specific rights (600)
Author Message
Post Backuppc does not backup files with specific rights (600) 
Hello everyone!

I use backuppc to backup my servers. I never had to deal with restorations until one day when something happened :)
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.

Does anyone have any hints regarding this matter? Backuppc is a really good solution and I don't want to drop it but fix missing configuration:)

Cheers,
Peter

View user's profile Send private message
Post 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/

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB