[BackupPC-users] I can't control backuppc !! ㅠㅠ

2007-07-18 Thread 송 태환
hi all~ Thank you for reply my question !! I have a problem.. I changed directory TopDir !! /data/BackupPC -> /backup/BackupPC & $Conf{TopDir}= '/data/BackupPC'; -> $Conf{TopDir}= '/backup/BackupPC'; & All backup data move : /data/BackupPC -> /backup/BackupPC In result.. NewFileList.JobNumber i

Re: [BackupPC-users] Error starting a backup

2007-07-18 Thread Les Mikesell
Yaakov Chaikin wrote: > I set up the BackupPC to run at 3am last night. Here are the logs that > it produced... Basically, looks like the same problem. I don't get it. > Anyone? > > 2007-07-18 03:00:00 tbiqdev: mkdir /data/BackupPC: Permission denied > at //usr/share/BackupPC/bin/BackupPC_dump lin

Re: [BackupPC-users] Error starting a backup

2007-07-18 Thread Yaakov Chaikin
Ok, never mind. I think I solved my own problem. The /data directory had root ownship. I thought this was OK since /data/BackupPC was owned by apache user. However, clearly, that was not good enough. I changed the ownership of: chown apache.apache -R /data and everything worked Well, at least

Re: [BackupPC-users] Error starting a backup

2007-07-18 Thread Yaakov Chaikin
I set up the BackupPC to run at 3am last night. Here are the logs that it produced... Basically, looks like the same problem. I don't get it. Anyone? * 2007-07-18 03:00:00 Reading hosts file 2007-07-18 03:00:00 Running 2 BackupPC_nightly jobs from 0.

Re: [BackupPC-users] Error starting a backup

2007-07-18 Thread Yaakov Chaikin
With all these side (albeit important) security issues, I never got an answer to my question. Why am I am getting a Permission Denied error and what am I doing wrong? Thanks, Yaakov. On 7/18/07, Rob Owens <[EMAIL PROTECTED]> wrote: > I believe you can look in the XferLog in the web interface to s

Re: [BackupPC-users] $Conf{BackupFilesExclude}

2007-07-18 Thread Nils Breunese (Lemonbit)
Ted To wrote: I'm trying to get BackupFilesExclude to work but so far what I've tried doesn't seem to work. I'm running 2.1.2 from the Dapper repository, backing up /home on the client and wishing to exclude a subdirectory of /home. I've tried $Conf{BackupFilesExclude}=['/home/dir_name'], $C

[BackupPC-users] $Conf{BackupFilesExclude}

2007-07-18 Thread Ted To
Hi all, I'm trying to get BackupFilesExclude to work but so far what I've tried doesn't seem to work. I'm running 2.1.2 from the Dapper repository, backing up /home on the client and wishing to exclude a subdirectory of /home. I've tried $Conf{BackupFilesExclude}=['/home/dir_name'], $Conf{Backup

[BackupPC-users] Renaming a host

2007-07-18 Thread Toni Van Remortel
Hi all, We use Backuppc as our backup solution for our servers. Now we are in the midst of a server move / rename / function change of many servers. How can I just rename the host in Backuppc without losing my backups? Renaming it in the hosts file and renaming it's directory doesn't work. Any

[BackupPC-users] Error: Unable to open /usr/bin/../doc/BackupPC.html: configuration problem?

2007-07-18 Thread Stijn De Doncker
Hi, I'm using backuppc3 on a CentOS distribution. Everything works fine. But in the main configuration editor I want to click on a configuration parameter, for example CgiNavBarLinks [http://backuppcserver/backuppc/cgi-bin/BackupPC_Admin?action=view&type=docs#item__conf_cginavbarlinks_]. I get

Re: [BackupPC-users] ssh keys and security

2007-07-18 Thread Rob Owens
according to this link: http://backuppc.sourceforge.net/faq/ssh.html#how_can_client_access_as_root_be_avoided the /etc/sudoers line should have looked like this: user_with_sudo_rights ALL=NOPASSWD: /usr/bin/rsync --server --sender * -Rob Yaakov Chaikin wrote: > Which of the config directive nee

Re: [BackupPC-users] ssh keys and security

2007-07-18 Thread Rob Owens
Assuming you're using rsync as the transport: This is the default setting in config.pl $Conf{RsyncClientCmd} = '$sshPath -q -x -l root $host $rsyncPath $argList+'; That needs to be changed to $Conf{RsyncClientCmd} = '$sshPath -q -x -l username_with_sudo_rights $host sudo $rsyncPath $argList+';

Re: [BackupPC-users] ssh keys and security

2007-07-18 Thread Yaakov Chaikin
Which of the config directive needs to change for the "sudo" part and how would it look? Could you give an example? Thanks, Yaakov. On 7/18/07, Rob Owens <[EMAIL PROTECTED]> wrote: > If you're going to connect to the host as root, then no changes to > config.pl are needed. If you're going to con

Re: [BackupPC-users] Tar exited with error 256 () status

2007-07-18 Thread Nils Breunese (Lemonbit)
Serge Pecher wrote: I was using Backuppc on a kubuntu dapper with success. I changed to feisty, and I am not able anymore to have it working as it have to. I am doing backups of localhost. I get the error Tar exited with error 256 () status. I also had an error about ssh. I found something ab

Re: [BackupPC-users] Idea: using rrdtool to graph the pool size

2007-07-18 Thread Nils Breunese (Lemonbit)
L.Drolez wrote: I think that something interesting could be easily added to backuppc: if the 'rrdtool' binary is available, a graph of the pool size could be shown in the status page. With this you could: - predict when you will run out of space - have hints about which backup boomed the po

Re: [BackupPC-users] Error starting a backup

2007-07-18 Thread Rob Owens
You want /data/BackupPC to be owned by user "backuppc". You shouldn't be allowing user "apache" to do anything besides run the webserver. User "apache" should not be allowed to log in as root. User "backuppc" should be allowed to log into the host machines as root (assuming you're using rsyn

[BackupPC-users] Tar exited with error 256 () status

2007-07-18 Thread Serge Pecher
Hello, I was using Backuppc on a kubuntu dapper with success. I changed to feisty, and I am not able anymore to have it working as it have to. I am doing backups of localhost. I get the error Tar exited with error 256 () status. I also had an error about ssh. I found something about ssh and sudo,

Re: [BackupPC-users] $Conf{BackupFilesExclude}

2007-07-18 Thread Keith Edmunds
On Tue, 17 Jul 2007 21:48:33 -0400, [EMAIL PROTECTED] said: > Any help would > be greatly appreciated. You need something like this: $Conf{BackupFilesExclude} = { '/home' => [ '/not.this.one', '/or.this.one' ] }; Keith -- Keith Edmunds +--