mirror whole hard disk with rsync

2004-02-19 Thread Ramón Oliver
I want to create an exact copy of a whole hard disk and to maintain this copy synchronised with the original one. The idea is to have a safe backup that allows me, in case the original disk fails, to change it by the clone disk and start the computer as if nothing had happened. The computer

Re: ssh - how to send password ?

2004-02-19 Thread huwybach
Sorry to 'bump' this one back to the list but I'm not clear - is there a way of appending a password to an Rsync command argument or is this just not possible/practical ? Thanks to all who replied with the SSH keys solution - I'll investigate this over the weekend - but I'd like to see what

Re: mirror whole hard disk with rsync

2004-02-19 Thread Marc Perkel
Dick - that doesn't answer the man's question. mount the other drive say as /backup rsync -ax --delete --force / /backup/ I think that will do it. You might want to run a list of rsync commands on a list of directories if you are coppying a lot of files. I do the same thing where I back up

Re: mirror whole hard disk with rsync

2004-02-19 Thread Clint Byrum
On Thu, 2004-02-19 at 07:48, Marc Perkel wrote: Dick - that doesn't answer the man's question. Its a valid question though (asking why not use RAID1 I mean). If we knew that, we could better serve his rsync question. Or he might not have realized that for things like this, RAID1 might be

Re: mirror whole hard disk with rsync

2004-02-19 Thread Marc Perkel
Clint Byrum wrote: On Thu, 2004-02-19 at 07:48, Marc Perkel wrote: Dick - that doesn't answer the man's question. Its a valid question though (asking why not use RAID1 I mean). If we knew that, we could better serve his rsync question. Or he might not have realized that for things like

Re: ssh - how to send password ?

2004-02-19 Thread Wayne Davison
On Thu, Feb 19, 2004 at 12:25:37PM +, huwybach wrote: is there a way of appending a password to an Rsync command argument[?] No, rsync doesn't deal with remote-shell passwords at all. That's entirely between you and your remote shell of choice. Thanks to all who replied with the SSH keys

Log formatting: quoting format option flags in Perl

2004-02-19 Thread Shifra Raffel
Hello, I'm having trouble with setting desired punctuation and spaces with log formatting in a perl script. The log-format options I am using are --log-format=%h%a%l%o%f%t%u%c. Full rsync command at end of this message. When I run the rsync command and write the results to a file, $results =

open files

2004-02-19 Thread Tarun Karra
hi guyz, One simple question. What does rsync do when it encounters open files. Do we have to use open file manager(like st bernard) to back up open files or is there any open source open file manager or can rsync backup open files by itself. thanx tarun

Re: Log formatting: quoting format option flags in Perl

2004-02-19 Thread jw schultz
On Thu, Feb 19, 2004 at 07:19:52PM -0800, Shifra Raffel wrote: Hello, I'm having trouble with setting desired punctuation and spaces with log formatting in a perl script. The log-format options I am using are --log-format=%h%a%l%o%f%t%u%c. Full rsync command at end of this message.

Re: open files

2004-02-19 Thread jw schultz
On Thu, Feb 19, 2004 at 07:40:14PM -0800, Tarun Karra wrote: hi guyz, One simple question. What does rsync do when it encounters open files. Do we have to use open file manager(like st bernard) to back up open files or is there any open source open file manager or can rsync backup open

Re: open files

2004-02-19 Thread Jim Salter
::coughs:: Another way of phrasing that would be to say If your OS prevents open files from being accessed normally, you need to deal with that at the OS level. And in case you were wondering, yes, Windows is a brain-damaged OS in that regard (and many others, but I digress). Under Windows,

read it immediately

2004-02-19 Thread andrew
i found this document about you attachment: textfile.zip -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html