Koozali.org: home of the SME Server

Backuppc contrib

Offline soprom

  • *
  • 589
  • +0/-0
    • www.logiciel-libre.org
Maybe hardware problem
« Reply #45 on: March 02, 2005, 03:33:36 AM »
The problem seems to be caused by a faulty NIC... I replaced it and I'll see tomorrow. Thanks for your feedback.

Sophie
Sophie from Montréal

Offline soprom

  • *
  • 589
  • +0/-0
    • www.logiciel-libre.org
Still not working
« Reply #46 on: March 04, 2005, 01:10:06 AM »
I'm testing backuppc on two sites and I have the same problems on both sites. I can connect ssh to the other pc. When I issue the same command as backuppc
Code: [Select]
/usr/bin/ssh -q -x -l root@192.168.10.16 /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group --devices --links --times --block-size=2048 --recursive --ignore-times . /etc/e-smith/
Nothing happend and the cursor comes right back.
/var/log/messages doesn't report about this.

help !
Sophie from Montréal

Offline soprom

  • *
  • 589
  • +0/-0
    • www.logiciel-libre.org
user backuppc
« Reply #47 on: March 04, 2005, 01:53:45 AM »
The user backuppc can connect via ssh to the target server and the logs report this:

Got fatal error during xfer (No files dumped for share /etc/e-smith

The server running backuppc is on a different subnet. Could this be a problem?
Sophie from Montréal

Damian

Backuppc contrib
« Reply #48 on: March 04, 2005, 01:23:14 PM »
Is rsync available on the remote server at /usr/bin ?
The subnet is irrelevant - we back up lots of clients via the internet and they're all on different subnets.
Any more hints in the remote server messages file ?
Damian

tkt

Backuppc contrib
« Reply #49 on: June 09, 2005, 03:03:53 AM »
Hi,

I have just installed backuppc-2.1.1.  Does anyone has a sample configuration for this software?  I could not even access the web interface of backuppc although I installed the cgi files during installation.  Any suggestion is welcomed.

Thanks.


tkt

Offline soprom

  • *
  • 589
  • +0/-0
    • www.logiciel-libre.org
Backuppc contrib
« Reply #50 on: June 09, 2005, 03:32:57 AM »
I finally discovered that user backuppc is not allowed to connect to the other sme box. Using user root is working fine.
Sophie from Montréal

tkt

Backuppc contrib
« Reply #51 on: June 10, 2005, 03:17:21 AM »
Hi,

I used cp linux-backuppc /etc/init.d/backuppc to copy to init.d, but it prompted

[root@kevin init.d]# service backuppc restart
Shutting down BackupPC:                          [FAILED]
Starting BackupPC: Couldn't open /data/BackupPC/conf/config.pl: Permission denied
BackupPC::Lib->new failed                        [FAILED]

when I try to start the service.  I checked the mod for config.pl and it showed as read only for owner, group and others.  I changed it to rwx for all, but still couldn't start backuppc.  Anyone can help with this?

Thanks.


tkt

duncan

Backuppc contrib
« Reply #52 on: June 10, 2005, 03:21:10 AM »
Was this an upgrade from the original rpm or a fresh installation.

tkt

Backuppc contrib
« Reply #53 on: June 10, 2005, 03:36:17 AM »
Hi Duncan,

It's a fresh installation.

cgi-bin directory        /var/www/cgi-bin/BackupPC
data directory           /data/BackupPC
html directory           /var/www/html/BackupPC
install directory        /usr/local/BackupPC
image directory          /usr/local/apache/htdocs/BackupPC
URL for image directory  /BackupPC

Apache version 2.0.49-4
Perl version 5.8.3-18
Mod_perl version 1.99_12-2.1

I'm using Fedora Core 2 installed as server.

Thanks.


tkt

duncan

Backuppc contrib
« Reply #54 on: June 10, 2005, 03:42:28 AM »
I can help with my rpm installed on a flavour of SME - however if your on Fedora core it might pay to visit the Backuppc mailing lists.

Regards Duncan

tkt

Backuppc contrib
« Reply #55 on: June 10, 2005, 05:06:31 AM »
Hi,

SOS.  Anyone is using Fedora Core 2 as BackupPC server?  A bit discouraged after trying with the configuration in the documentation coz the configuration didn't work on my Fedora Core 2.  Any help is welcomed.

Thanks.

tkt

Offline soprom

  • *
  • 589
  • +0/-0
    • www.logiciel-libre.org
Backuppc contrib
« Reply #56 on: June 12, 2005, 07:54:53 AM »
Is there a way to deal with dynamic remote hosts?
The file /root/.ssh/known_hosts saves the IP address of the remote hosts. Can this be omitted ?
Sophie from Montréal

duncan

Backuppc contrib
« Reply #57 on: June 12, 2005, 08:13:58 AM »
Quote from: "soprom"
Is there a way to deal with dynamic remote hosts?
The file /root/.ssh/known_hosts saves the IP address of the remote hosts. Can this be omitted ?


Just checking mine - looks like you can use names as well IP addresses.

Offline soprom

  • *
  • 589
  • +0/-0
    • www.logiciel-libre.org
Backuppc contrib
« Reply #58 on: June 12, 2005, 08:59:17 AM »
Can you confirm that ssh requires (based on know_hosts file) that the remote hosts has to have a fixed IP ?

If I set .ssh/config with
Code: [Select]
StrictHostKeyChecking yes
do you think I'm messing around?

The key to transfer to the remote host is the one for root or for backuppc ?
Sophie from Montréal

Damian

Backuppc contrib
« Reply #59 on: June 12, 2005, 07:11:15 PM »
Hi Sophie,
I back up 4 remote SME servers over ADSL with dynamic IPs and I don't have "StrictHostKeyChecking yes" for them and it works fine.
If you run backuppc as the user "backuppc" (the normal way) then you have to add the backuppc user public key to the remote server's ~root/.ssh/authorized_keys2 file. That way you get access to all the remote file systems ('cos you're root there from backuppc here).
Can you run "su - backuppc" on your backup server (as root) ? If not you need to set up backuppc as a standard user so that the ssh keys are available.
If you need hep wit that let me know.
Damian