BackupPC-users

[BackupPC-users] basic backup / BackupFilesOnly

2013-01-30 12:28:07
Subject: [BackupPC-users] basic backup / BackupFilesOnly
From: Ctdi Unix <ctdiux AT gmail DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Wed, 30 Jan 2013 12:26:29 -0500
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:

/home/five01
home/six04

Please .. just show me how!  


I tried this config

$ pwd
/var/lib/BackupPC/pc/lamp
$ more config.pl


$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"


<control c>


Please & thank you

Penguin Pal
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/