You are not logged in.

#1 2011-03-06 04:34:11

timm
Member
From: Wisconsin
Registered: 2004-02-25
Posts: 417

rsnapshot backing up wrong directory [solved]

I've worked through getting rsnapshot working over ssh with rsa keys, and the logs show it is now connecting to my remote machine.  It backs up the local machine just fine, but for some reason it is only backing up the /root directory on the remote machine.

My rsnapshot.conf has the following lines:

backup  /home/  localhost/
backup  /etc/           localhost/

backup  root@remote.local.lan:/tv/            remote/tv
backup  root@remote.local.lan:/tv_xtend/      remote/tv_xtend

what ends up in both tv and tv_xtend is a copy of the /root directory, identical in both backup directories.

I'm sure when someone points out the error it will be obvious, but it isn't to me now.......

Last edited by timm (2011-03-12 18:43:21)

Offline

#2 2011-03-06 06:58:03

mikesd
Member
From: Australia
Registered: 2008-02-01
Posts: 788
Website

Re: rsnapshot backing up wrong directory [solved]

If it is not a copy and paste error the last line appears to be missing a colon.

Last edited by mikesd (2011-03-06 06:58:18)

Offline

#3 2011-03-06 15:51:19

timm
Member
From: Wisconsin
Registered: 2004-02-25
Posts: 417

Re: rsnapshot backing up wrong directory [solved]

Went back and checked that, and it was just a cut and paste error.  The colon is there.

Offline

#4 2011-03-12 18:42:56

timm
Member
From: Wisconsin
Registered: 2004-02-25
Posts: 417

Re: rsnapshot backing up wrong directory [solved]

I backed out and started from scratch, the error is no more.  Couldn't find the error, but I must have messed up a configuration item somewhere.

Offline

Board footer

Powered by FluxBB