Re: rsync over lan

2008-09-11 Thread Andrei Popescu
On Thu,11.Sep.08, 01:27:58, Celejar wrote: > On Thu, 11 Sep 2008 05:08:44 + > Tzafrir Cohen <[EMAIL PROTECTED]> wrote: > > ... > > > As root: > > # cat /etc/shadow >/dev/null > > # > > > > Faking it: > > > > $ fakeroot cat /etc/shadow > > cat: /etc/shadow: Permission denied > > > >

Re: rsync over lan

2008-09-10 Thread Celejar
On Thu, 11 Sep 2008 05:08:44 + Tzafrir Cohen <[EMAIL PROTECTED]> wrote: ... > As root: > # cat /etc/shadow >/dev/null > # > > Faking it: > > $ fakeroot cat /etc/shadow > cat: /etc/shadow: Permission denied > > Darn, fakeroot still does not fake me a set of configuration files :-)

Re: rsync over lan

2008-09-10 Thread Tzafrir Cohen
On Wed, Sep 10, 2008 at 08:17:14PM -0400, Celejar wrote: > On Wed, 10 Sep 2008 15:17:57 + > Tzafrir Cohen <[EMAIL PROTECTED]> wrote: > > > Be careful with fakeroot: > > [EMAIL PROTECTED]:~$ ls -l /etc/ | grep -v root > > total 2156 > > -rw-r- 1 asterisk asterisk 4500 2008-08-12 23:31 am

Re: rsync over lan

2008-09-10 Thread Celejar
On Wed, 10 Sep 2008 15:40:08 -0500 Sam Leon <[EMAIL PROTECTED]> wrote: > Also I use rsnapshot. It uses rsync to download the data each time into > a separate directory and all the files that have not changed are hard > linked back to the older directory. That away you can have multiple > sna

Re: rsync over lan

2008-09-10 Thread Celejar
On Wed, 10 Sep 2008 15:17:57 + Tzafrir Cohen <[EMAIL PROTECTED]> wrote: > Be careful with fakeroot: > [EMAIL PROTECTED]:~$ ls -l /etc/ | grep -v root > total 2156 > -rw-r- 1 asterisk asterisk 4500 2008-08-12 23:31 amportal.conf > drwxrwxr-x 4 asterisk asterisk 4096 2008-09-10 13:57 a

Re: rsync over lan

2008-09-10 Thread Sam Leon
tyler wrote: Hi, With some help from the good people on this list, I got a simple home network setup, and I'm now using it to backup my laptop to my desktop using rsync. I have one question though - I'm backing up /etc, /home, /opt, and parts of /usr and /var. I want to preserve ownership, but i

Re: rsync over lan

2008-09-10 Thread Tzafrir Cohen
On Tue, Sep 09, 2008 at 09:30:01PM -0400, Celejar wrote: [ Snip stuff about password-less root login, with which I agree ] > B) Fakeroot can apparently more or less do what you want; install it, > and read README.saving. It claims to be usable with rsync to do > exactly what you want (although

Re: rsync over lan

2008-09-10 Thread Rob McBroom
Sorry about the previous (useless) message. On 2008-Sep-9, at 9:17 PM, tyler wrote: In order to preserve the ownerships, I have to run the above command as root, which requires that I configure sshd on the desktop to accept root logins. Even behind a NAT router, that doesn't seem like a good id

Re: rsync over lan

2008-09-10 Thread Rob McBroom
On 2008-Sep-9, at 9:17 PM, tyler wrote: In order to preserve the ownerships, I have to run the above command as root, which requires that I configure sshd on the desktop to accept root logins. Even behind a NAT router, that doesn't seem like a good idea. Am I missing something? --- Rob McBro

Re: rsync over lan

2008-09-10 Thread tyler
Mike McCarty <[EMAIL PROTECTED]> writes: > tyler wrote: > > [I use my lan to] >> do the backup from my user account as: >> >> rsync -av --include-from=/home/tyler/rsync_includes / >> etch.mynetwork:/home/tyler/laptop >> >> Then the ownerships all get set to tyler tyler, even when they are >> ori

Re: rsync over lan

2008-09-09 Thread Mike McCarty
tyler wrote: [I use my lan to] do the backup from my user account as: rsync -av --include-from=/home/tyler/rsync_includes / etch.mynetwork:/home/tyler/laptop Then the ownerships all get set to tyler tyler, even when they are originally root root. In order to preserve the ownerships, I have t

Re: rsync over lan

2008-09-09 Thread Celejar
On Tue, 09 Sep 2008 22:17:59 -0300 tyler <[EMAIL PROTECTED]> wrote: > Hi, > > With some help from the good people on this list, I got a simple home > network setup, and I'm now using it to backup my laptop to my desktop > using rsync. I have one question though - I'm backing up /etc, /home, > /op

rsync over lan

2008-09-09 Thread tyler
Hi, With some help from the good people on this list, I got a simple home network setup, and I'm now using it to backup my laptop to my desktop using rsync. I have one question though - I'm backing up /etc, /home, /opt, and parts of /usr and /var. I want to preserve ownership, but if I do the back