Rsync from windows 98 with a password file
When I use this command from a Windows XP system everything works fine: C:\cwrsync\cwrsyncrsync.exe -avzr --stats --password file=c:\cwrsync\pete.secret --files-from=filesfrom.dat / [EMAIL PROTECTED]::testing But when I try if from a Windows 98 system I get this error message: password file must not be other-accessible continuing without password file Can rsync run from Windows 98 using a password file? If someone has this working then can you sent me a URL to version of rsync that used to get it working. Thanks for your help, Pete Peter Letkeman, Programmer Electro-Byte Technologies Inc. Sarnia, Ontario, Canada 519-332-8235 [EMAIL PROTECTED] http://www.ebtech.net/ -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Rsync from windows 98 with a password file
You can only run W98 as a bat file. W98 does not support daemons. Here is what I do: Create win.bat rsync.exe --config=c:/rsyncd/rsyncd.conf --daemon --no-detach Put this in startup. Hope this helps. Cheers! Ken Pete Letkeman wrote: When I use this command from a Windows XP system everything works fine: C:\cwrsync\cwrsyncrsync.exe -avzr --stats --password file=c:\cwrsync\pete.secret --files-from=filesfrom.dat / [EMAIL PROTECTED]::testing But when I try if from a Windows 98 system I get this error message: password file must not be other-accessible continuing without password file Can rsync run from Windows 98 using a password file? If someone has this working then can you sent me a URL to version of rsync that used to get it working. Thanks for your help, Pete Peter Letkeman, Programmer Electro-Byte Technologies Inc. Sarnia, Ontario, Canada 519-332-8235 [EMAIL PROTECTED] http://www.ebtech.net/ -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Stupid --delete mistake
Hi, Ive a nasty feeling I know the answer to this post, but Im gonna ask and pray anyway J I just made a rather stupid commandline ordering error and managed to delete a whole load of data (mostly word files/some pics fwiw) with rsync delete. I know, Im an idiot (and a big one at that). To make matters worse this was off an ext3 partition, which from what I can find out seems pretty much undeleteable at least if deleted in the normal way by rm. So the question is, does rsync delete files in a way which will allow me to recover them, or am I, as I suspect, royally screwed :( Thanks for any help (or just general smugness at the safely backed-up nature of your files :) you can give Ed (wondering why he ever tried to do anything involving delete parameters this late at night) -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Stupid --delete mistake
On 6/3/05, Ed wrote: I just made a rather stupid commandline ordering error and managed to delete a whole load of data (mostly word files/some pics fwiw) with rsync delete. I know, I'm an idiot (and a big one at that). To make matters worse this was off an ext3 partition, which from what I can find out seems pretty much undeleteable at least if deleted in the normal way by rm. They key to this lies in the pretty much, more below. ;-) So the question is, does rsync delete files in a way which will allow me to recover them, or am I, as I suspect, royally screwed :( Rsync deletes files in the same way as rm, so you are pretty screwed unless you want to spend some time learning a bit about filesystem forensics. The last time I recovered a file I'd nuked off an ext3 filesystem, I ran across The Sleuth Kit: http://www.sleuthkit.org/ It made the undelete process fairly painless. The Sleuth Kit requires a separate system with lots of disk space since it needs to hold the entire contents of the filesystem off which you deleted your files plus associated analysis, logs, etc. The first thing you need to do is dd a copy of your raw filesystem onto some other linux host with lots of disk space. The sooner you do this, the less chance there is of those disk blocks getting reallocated. For example, from the system that will be used as the dumping ground: ssh hosed-host dd if=/dev/hda3 obs=1500 | dd of=/home/sleuth/hosed-host-hda3.img ibs=1500 This does a dd to stdout of your hda3 partition (substitute the real device name) and sends it over the ssh connection to your receiving host which presumably has a lot of free space in /home/sleuth. The obs and ibs parameters are there to ensure that we can fill up a 1500 byte ethernet packet on each read. It works fine without them, just a bit slower. There are other ways to do this, one method using netcat is described on The Sleuth Kit's website: http://www.sleuthkit.org/informer/sleuthkit-informer-11.html#dd Once you have the image saved off you can spend some time learning how to run The Sleuth Kit. It goes to great pains to keep your dd image unmodified, however as a fail-safe I always keep these owned by root, mode 444, and run The Sleuth Kit as a non-root user. The Autopsy Forensic Browser is a webserver-based front end to The Sleuth Kit and is a good way to get started. RPMs can be found at: http://dag.wieers.com/packages/sleuthkit/ http://dag.wieers.com/packages/autopsy/ Good luck! This will be a valuable Learning Experience. ;-) -- Steve -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
please help -- Variable syntax error
Hello I am using rsync to sync w machines. I had no problem untill. Now i am trying the same script to sync 2 differnt machines. The code is the same. I just changed the machine names. When i execute the script i get Variable syntax rsync: connection unexpectedly closed (0 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(150) I am able to scp or ssh to the from the machines. I have proper keys. Where does the Variable syntax come from., I have 5 folders in include file. So this error is repeated 5 times. I tried rsync -vv testfile mydestmachine:/export/opt/geneva/temp/testfile even for this command i get the same error. How do i overcome this error. I tried everything. Is it something to do with c-shell. Because my previous scripts where working in ksh. I really dont understand. Please help . Thanks. -- Thanks G.Bhadri -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
(no subject)
Hello I am using rsync to sync w machines. I had no problem untill. Now i am trying the same script to sync 2 differnt machines. The code is the same. I just changed the machine names. When i execute the script i get Variable syntax rsync: connection unexpectedly closed (0 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(150) I am able to scp or ssh to the from the machines. I have proper keys. Where does the Variable syntax come from., I have 5 folders in include file. So this error is repeated 5 times. I tried rsync -vv testfile mydestmachine:/export/opt/geneva/temp/testfile even for this command i get the same error. How do i overcome this error. I tried everything. Is it something to do with c-shell. Because my previous scripts where working in ksh. I really dont understand. Please help . Thanks. -- Thanks G.Bhadri -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html