Re: backup system files (and permissions) over ssh

2006-10-12 Thread Wayne Davison
On Thu, Oct 12, 2006 at 12:19:14PM +0200, [EMAIL PROTECTED] wrote: > how do you backup system files like /etc/ over ssh to another machine > and keep permissions the same on the remote backup location ? One possibility you can try is to use a program that lets rsync pretend to be root, such as fak

Re: backup system files (and permissions) over ssh

2006-10-12 Thread Martin Schröder
2006/10/12, [EMAIL PROTECTED] See the url I provided. i didnt see any SUDO mentioned there. validate-rsync calls rsync through sudo. Please get a name and switch of HTML. HTH. HAND Martin -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting

Re: backup system files (and permissions) over ssh

2006-10-12 Thread rsync-mail-gateway
martin at oneiros.de wrote: 2006/10/12, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: Quote: Quote: "Without root: Use a non-root account and use passwordless sudo in the script." sounds interesting, can you explain how am i suppose to do that ? who runs the script ? when ? See t

Re: backup system files (and permissions) over ssh

2006-10-12 Thread Chuck Wolber
On Thu, 12 Oct 2006, [EMAIL PROTECTED] wrote: > Quote: "Without root: Use a non-root account and use passwordless sudo > in the script." > > sounds interesting, can you explain how am i suppose to do that ? who > runs the script ? when ? Check the man page for the sudoers file: "man 5 sudoers"

Re: backup system files (and permissions) over ssh

2006-10-12 Thread Martin Schröder
2006/10/12, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: Quote: "Without root: Use a non-root account and use passwordless sudo in the script." sounds interesting, can you explain how am i suppose to do that ? who runs the script ? when ? See the url I provided. :-) Best Martin -- To unsubscri

Re: backup system files (and permissions) over ssh

2006-10-12 Thread rsync-mail-gateway
Quote: "Without root: Use a non-root account and use passwordless sudo in the script." sounds interesting, can you explain how am i suppose to do that ? who runs the script ? when ? thanks Read this topic online here: Sent using Mail2Forum (ht

Re: backup system files (and permissions) over ssh

2006-10-12 Thread Martin Schröder
2006/10/12, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: is there a way to do what i'm trying WITHOUT giving root ssh access ? With root: http://www.jdmz.net/ssh/ Without root: Use a non-root account and use passwordless sudo in the script. Best Martin -- To unsubscribe or change options: https:

backup system files (and permissions) over ssh

2006-10-12 Thread rsync-mail-gateway
how do you backup system files like /etc/ over ssh to another machine and keep permissions the same on the remote backup location ? i tried using -a flag, but because i'm connecting through ssh i'm not using Rsync module on the remote computer and therefore i cant write files as root so -a