I have an old version running successfully. -> BackupPC-2.1.2-7.fc6
Now I am trying to get BackupPC-3.2.1-10.fc17.i686 working.
I passed the no error you can see "no service start" thing. It was some of some weird FC17 thing. Now I can't get the most basic backup to run.
On the old version my most basic old config was
$Conf{RsyncClientCmd} = '/usr/bin/ssh -q -x -l root $host $rsyncPath $argList+';
$Conf{RsyncShareName}= [ '/home/five01', '/home/six04' ]; ## share name to backup (ie: top-level directory )
$Conf{XferMethod} = 'rsync';
$Conf{RsyncClientPath}='/usr/bin/rsync';
But now it is not cutting it on the new version. I've tried to read and experimented with a few configs. It was late I admit. Now I give up and I simply ask --
I have a server called lamp with ssh access via keys. backuppc on the-backup-machine can ssh in to root@lamp via keys.
I have an all new install (second try) with the default configs -- SO what do I have to specify in pc/lamp/config,pl to back up only two directories:
Please .. just show me how!
$ pwd
/var/lib/BackupPC/pc/lamp
$Conf{RsyncShareName} = '/';
$Conf{BackupFilesOnly} = {
'/' => [
'/home/five01',
'/home/six04',
]
};
dump as a debug shows:
$ /usr/share/BackupPC/bin/BackupPC_dump -v -f lamp
cmdSystemOrEval: about to system /usr/bin/ping -c 1 -w 3 lamp
cmdSystemOrEval: finished: got output PING lamp (192.168.10.33) 56(84) bytes of data.
64 bytes from lamp (192.168.10.33): icmp_req=1 ttl=64 time=0.155 ms
--- lamp ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.155/0.155/0.155/0.000 ms
cmdSystemOrEval: about to system /usr/bin/ping -c 1 -w 3 lamp
cmdSystemOrEval: finished: got output PING lamp (192.168.10.33) 56(84) bytes of data.
64 bytes from lamp (192.168.10.33): icmp_req=1 ttl=64 time=0.135 ms
--- lamp ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.135/0.135/0.135/0.000 ms
CheckHostAlive: returning 0.135
full backup started for directory /
started full dump, share=/
Running: /usr/bin/ssh -q -x -l root lamp /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group -D --links --hard-links --times --block-size=2048 --recursive --ignore-times . /
Xfer PIDs are now 5652
xferPids 5652
Got remote protocol 29
Negotiated protocol version 28
Remote[2]: file has vanished: "/proc/2/exe"