[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rdiff-backup-users] rdiff-backup logging in through sshd several ti
Re: [rdiff-backup-users] rdiff-backup logging in through sshd several times
Wed, 5 Sep 2012 10:56:29 -0700 (PDT)
My setup is such that the backup server logs in to each remote host and
fetches all the data to store centrally (source is remote, destination is
Perhaps the specifics of what I'm doing would give clues...
I set up a regular user's account for rdiff-backup on my backup server as
well as a directory where I save the backed up files to. That directory has
permissions for only rdiff-backup user and group (chmod -R
rdiff-backup:rdiff-backup /dirname). On the servers that I want to be backed
up I also created a user account for rdiff-backup, and in addition to the
entry in /etc/sudoers, in the file at
/rdiff-backup_home/.ssh/authorized_keys I put this on one line:
command="sudo rdiff-backup --server --restrict-read-only
ssh-rsa AAAAB3NzaC1<...long SSH public key here...> ==
So would each command rdiff-backup issues on the remote hosts require a
separate SSH login session?
Robert Nichols-2 wrote:
> On 09/05/2012 07:33 AM, weloki wrote:
>> weloki wrote:
>>> I've been receiving logwatch reports each day from my servers and I
>>> after each backup that rdiff-backup connected via SSH many times, like
>>> from over 100 to 300 times per backup session. Why is this? Does it need
>>> to do that in order to function properly?
>> Is anyone else seeing this? Is there a way to have rdiff-backup login
>> once through SSH to perform a daily backup?
> I see just one ssh login per rdiff-backup session. I am pushing my
> from the client to the server (source is local, destination is remote).
> From your description, it sounds like that is what you are doing, too.
> Your situation might be entirely different if you are controlling the
> backups from the server and pulling from the clients. I've never tried
> Bob Nichols "NOSPAM" is really part of my email address.
> Do NOT delete it.
> rdiff-backup-users mailing list at address@hidden
> Wiki URL:
View this message in context:
Sent from the rdiff-backup-users mailing list archive at Nabble.com.