Re: backup XP on Linux using rsync over ssh: permissions problems

2009-06-10 Thread H.S.
Jason Pyeron wrote: > > >> -Original Message----- >> From: H.S. >> Sent: Wednesday, June 10, 2009 14:38 >> >> Jason Pyeron wrote: >>>> -Original Message- >>>> From: H.S. >>>> Sent: Wednesday, June 10, 2009 13:

Re: backup XP on Linux using rsync over ssh: permissions problems

2009-06-10 Thread H.S.
Jason Pyeron wrote: >> -Original Message- >> From: H.S. >> Sent: Wednesday, June 10, 2009 13:15 >> >> Greg Chicares wrote: >>> On 2009-06-10 03:36Z, H.S. wrote: >>>> rsync --delete --modify-window=10 --force -Rvaue ssh >>>>

Re: backup XP on Linux using rsync over ssh: permissions problems

2009-06-10 Thread H.S.
Greg Chicares wrote: > On 2009-06-10 03:36Z, H.S. wrote: >> rsync --delete --modify-window=10 --force -Rvaue ssh >> --exclude-from=$EXCLUDESFILE --progress \ >> xp-box:"/cygdrive/c/Documents\ and\ Settings/user1 >> /cygdrive/c/Documents\ and\ Settings

backup XP on Linux using rsync over ssh: permissions problems

2009-06-09 Thread H.S.
Hello, I have a XP Pro laptop which has Cygwin installed (with ssh). I run a backup script on a Debian box which rsyncs some directories from XP box to a partition on Debian box using rsync via ssh. The command is something like (rsync script is called as root on Debian and user "root" on the XP b

Re: rsyncd prevents computer to enter Standby mode on XP

2006-12-26 Thread H.S.
H.S. wrote: Hello, I am running Cygwin on a machine running Windows XP Pro. I have noticed that if rsync service is running, the laptop does not go into standby mode. If I set the timeout for the machine to enter standby mode to 1 min, then all is fine. But anything larger than this does

rsyncd prevents computer to enter Standby mode on XP

2006-12-22 Thread H.S.
Hello, I am running Cygwin on a machine running Windows XP Pro. I have noticed that if rsync service is running, the laptop does not go into standby mode. If I set the timeout for the machine to enter standby mode to 1 min, then all is fine. But anything larger than this does not work. Seems

rsync hangs (maybe due to cron?) when getting data from Windows to Linux PC

2006-11-12 Thread H.S.
Hello, I backup a windows laptop on my home lan everynight using rsync and cygwin. The backups are made on a Linux PC running Debian Etch and 2.6.17 kernel. The Windows laptop is running Windows XP Pro. fully updated, and cygwin, also fully updated (which has sshd and rsyncd running). On th

installing minimal Cygwin on XP for ssh and rsync

2006-06-22 Thread H.S.
I installed Cygwin on XP yesterday to get ssh and rsync servers running. I have done this before and shared my experiences on this list earlier as well. Specially the bit about the Zone Alarm causing a problem to connect to the WIndows machine via ssh after reboots. Here are the steps I follo

Re: rysnc hangs when backing up multiple /cygdrive/* dirs

2005-12-06 Thread H.S.
Jim Kleckner wrote: > H.S. wrote: > ... > >> >> I don't know why, but it is working now. I exluded the .lnk files and >> backup the d drive folder separately first. Then I included other >> directories to backed up. Now I am backing up only '/cy

Re: permissions problem cygwin<-->Linux

2005-12-05 Thread H.S.
H.S. wrote: > I am backing up Windows box directories on a Linux rsync server. Backing > up is going good for now. How do I deal with permission issues? > > Currently, a Windows user is not able to read files from the backups > directory in the Linux box. I am using the -a flag i

permissions problem cygwin<-->Linux

2005-12-05 Thread H.S.
I am backing up Windows box directories on a Linux rsync server. Backing up is going good for now. How do I deal with permission issues? Currently, a Windows user is not able to read files from the backups directory in the Linux box. I am using the -a flag in rsync command. Is there anyway (other

permissions problem when recovering backed up files (rsync)

2005-12-05 Thread H.S.
Hi, I have set up Debian Testing box as rsync server which backs up certain directories on my Windows XP laptop: Debain <--[rsync]-- WinXP The backup part is working great for now. But I am not able to recover the files: Debian --sftp--> WinXP this is not working. I noticed that the permissio

Re: rysnc hangs when backing up multiple /cygdrive/* dirs

2005-12-05 Thread H.S.
H.S. wrote: > H.S. wrote: > >>Hi, >> >>I am not able to see what could be going wrong with my rsync method. I >>am trying to back up a Windows XP box (running Cygwin and sshd and >>rsyncd) from my Debian Testing box. The following command hangs before >&g

Re: rysnc hangs when backing up multiple /cygdrive/* dirs

2005-12-05 Thread H.S.
H.S. wrote: > Hi, > > I am not able to see what could be going wrong with my rsync method. I > am trying to back up a Windows XP box (running Cygwin and sshd and > rsyncd) from my Debian Testing box. The following command hangs before > really transfering any files: >

rysnc hangs when backing up multiple /cygdrive/* dirs

2005-12-05 Thread H.S.
Hi, I am not able to see what could be going wrong with my rsync method. I am trying to back up a Windows XP box (running Cygwin and sshd and rsyncd) from my Debian Testing box. The following command hangs before really transfering any files: rsync -R --delete --delete-excluded --modify-window=1

Re: permission denied while deleting the local copy of rsynced data

2005-12-03 Thread H.S.
Brian Dessent wrote: > "H.S." wrote: > > >>rsync: send_files failed to open "/cygdrive/c/Documents and >>Settings/winuser/NTUSER.DAT": Device or resource busy (16) > > > That is your HKCU hive. It is opened by the system in exclusive mode,

permission denied while deleting the local copy of rsynced data

2005-12-03 Thread H.S.
Hi, When I get a backup of my Windows XP box running cygwin (CYGWIN_NT-5.1 1.5.18(0.132/4/2) 2005-07-02 20:30), I get permission denied on many files. Can anybody explain what is going on here? Here are the commands that I used and the output I got: $> rsync -avze ssh --exclude-from=rsync-winbox

Re: bash and variable holding directories with spaces

2005-12-03 Thread H.S.
Brian Dessent wrote: > "H.S." wrote: > > >>In the script, I am faced with this problem of defining the source >>directories (dirs on the remote machine to be backed up) in a bash >>variable. I want to define a variable DIRS so that it expands to: >>

bash and variable holding directories with spaces

2005-12-03 Thread H.S.
Hi, I am writing up a rsync script to back up a Windows box using cygwin running on it. On my Debian Testing, which will do the backups, I plan to run a cron job. In the script, I am faced with this problem of defining the source directories (dirs on the remote machine to be backed up) in a bash

Re: sshd crahes; ssh instal fails

2005-12-03 Thread H.S.
[EMAIL PROTECTED] wrote: > I just installed Cygwin on two Windows XP machines in the last four days > and got sshd and rsync daemon working. To get an idea of how to solve > your problem you must describe what you did: > 1. How did you install sshd? > 2. What options did you give to ssh-host-confi

Re: sshd crahes; ssh instal fails

2005-12-02 Thread H.S.
[EMAIL PROTECTED] wrote: > hello: > > I just downloaded latest version of cygwin. I tried to install ssh using the > install scripts. however sshd does not startup and it hangs. > > anybody else noticed this problem? > > thanx > I just installed Cygwin on two Windows XP machines in the last f

Re: how to make ssh-agent automatically

2005-12-01 Thread H.S.
Morche Matthias wrote: > You just want to connect from one host to another one. It's totally > sufficient to set up the key and copy the public part into authorized > keys on the remote host. I never used ssh-agent nor ssh-add and 1. I did that. So why I am asked for my SSH passphrase when I try t

Re: how to make ssh-agent automatically

2005-11-30 Thread H.S.
Hi Karl, Karl M wrote: > Hi HS... > > You can use keychain (a package available from setup.exe). > > I do something like > > ssh-add -l >/dev/null 2>&1 > if [ $? -eq 1 ]; then > ssh-add > fi > > in my .bash_profile, because keychain is slow when I launch several > windows. Okay, I will try t

how to make ssh-agent automatically

2005-11-30 Thread H.S.
Hi, I yesterday installed a bare minimum Cygwin (via internet) on to a laptop running Windows XP. The purpose of the Cygwin installation is to backup data on to a Linux computer using rsync and ssh. I was wondering, to allow for passwordless login via ssh I have to run ssh-agent and ssh-add comma