logo       

Sudo + ssh and rsnapshot: msg#00019

sysutils.backup.rsnapshot.general

Subject: Sudo + ssh and rsnapshot

Hello list,

I'm a newbie in rsnapshot but seems to be amazing :)

I've got various linux server configured to use sudo
the root access is disabled (like in Ubuntu)

How can I setup rsnapshots to get data from these servers

I think that I should do :
- do ssh public keys exchange between servers

- configure sudo to allow rsync call without password

LAN = NOPASSWD: /usr/bin/rsync ...


I believe that I need to call a line like this ...

//rsync -avz -e "ssh -i /home/backup/.ssh/id_dsa" --rsync-path='sudo rsync'
backup at server <http://lists.samba.org/mailman/listinfo/rsync>:/
/backup/server///


But with rsnapshots how can I do that ?
Thanks for your help

Regards

Sebastien


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise