Re: [BackupPC-users] windows/scripts

2013-01-16 Thread Michael Stowe
> No, the main problem I've had is with winexe timeout on one specific > destination machine, however, I'm pretty sure that is a networking issue > (ie, there seems to be a flaky DSL connection in the way). I've tried to > add a few things to detect the timeout and kill winexe (because it > doesn'

Re: [BackupPC-users] windows/scripts

2013-01-16 Thread Les Mikesell
On Tue, Jan 15, 2013 at 8:13 PM, wrote: > > > > I installed cygwin on my windows server. When using cygwin I'm > atomatically logged in as backupPC (backupPC@serverName), which means that > I'll appear as cyg_server which is a memeber of administrators. > > Just because cyg_server is a membe

Re: [BackupPC-users] windows/scripts

2013-01-15 Thread backuppc
elrich wrote at about 08:38:40 -0800 on Tuesday, January 15, 2013: > "he problem (likely) is that ssh logs in as the SYSTEM (or equivalent) > user that doesn't have permission to run vss.exe. I get around that by > using a recursion script to escalate privileges via 'at'. I imagine > perhaps th

Re: [BackupPC-users] windows/scripts

2013-01-15 Thread Adam Goryachev
On 16/01/13 04:07, Les Mikesell wrote: > On Tue, Jan 15, 2013 at 8:57 AM, Adam Goryachev > wrote: > >>> 5) openvpn + winexe + cygwin rsyncd >> probably more combinations also... Personally, I've used (and still use) >> items 1, 2 and 5. I feel the best option right now is option 5, since it >> all

Re: [BackupPC-users] windows/scripts

2013-01-15 Thread Michael Stowe
> Off-topic question: have you found any way to debug winexe problems? > I use it for some other automation running from CentOS5 and CentOS6 > hosts and find that it sometimes fails with a 'failed to install > service' error on the windows target but often running the same > command from the other

Re: [BackupPC-users] windows/scripts

2013-01-15 Thread Les Mikesell
On Tue, Jan 15, 2013 at 8:57 AM, Adam Goryachev wrote: > > 5) openvpn + winexe + cygwin rsyncd > > probably more combinations also... Personally, I've used (and still use) > items 1, 2 and 5. I feel the best option right now is option 5, since it > allows to do shadow backups, it is secure (tunne

Re: [BackupPC-users] windows/scripts

2013-01-15 Thread Les Mikesell
On Tue, Jan 15, 2013 at 10:38 AM, elrich wrote: > "he problem (likely) is that ssh logs in as the SYSTEM (or equivalent) > user that doesn't have permission to run vss.exe. I get around that by > using a recursion script to escalate privileges via 'at'. I imagine > perhaps that winexe allows for d

[BackupPC-users] windows/scripts

2013-01-15 Thread elrich
"he problem (likely) is that ssh logs in as the SYSTEM (or equivalent) user that doesn't have permission to run vss.exe. I get around that by using a recursion script to escalate privileges via 'at'. I imagine perhaps that winexe allows for direct launching of vss.ex. " I created a windows user na

[BackupPC-users] windows/scripts

2013-01-15 Thread elrich
"he problem (likely) is that ssh logs in as the SYSTEM (or equivalent) user that doesn't have permission to run vss.exe. I get around that by using a recursion script to escalate privileges via 'at'. I imagine perhaps that winexe allows for direct launching of vss.ex. " I created a windows user na

Re: [BackupPC-users] windows/scripts

2013-01-15 Thread Adam Goryachev
On 16/01/13 01:08, Les Mikesell wrote: > On Tue, Jan 15, 2013 at 6:04 AM, elrich > wrote: >> hello, >> thank you for answering Adam. >> So what would you recommend me to use? >> Cygwin + open-ssh? >> Then how could I get the script to work on my windows server? > Cygwin ssh will make the windows s

Re: [BackupPC-users] windows/scripts

2013-01-15 Thread backuppc
elrich wrote at about 02:04:24 -0800 on Tuesday, January 15, 2013: > Hello Michael, > > first of all thank you for answering me. > I'm going to use winexe to test it out since the teacher wants us to stop > the service. > Whil reading the read me file, I saw that winexe is using the samba

Re: [BackupPC-users] windows/scripts

2013-01-15 Thread backuppc
elrich wrote at about 23:52:10 -0800 on Monday, January 14, 2013: > Hello Michael, > > first of all thank you for answering me. > I'm going to use winexe to test it out since the teacher wants us to stop > the service. > Whil reading the read me file, I saw that winexe is using the samba

Re: [BackupPC-users] windows/scripts

2013-01-15 Thread Les Mikesell
On Tue, Jan 15, 2013 at 6:04 AM, elrich wrote: > hello, > thank you for answering Adam. > So what would you recommend me to use? > Cygwin + open-ssh? > Then how could I get the script to work on my windows server? Cygwin ssh will make the windows system more linux-like. That is, in addition to t

[BackupPC-users] windows/scripts

2013-01-15 Thread elrich
hello, thank you for answering Adam. So what would you recommend me to use? Cygwin + open-ssh? Then how could I get the script to work on my windows server? thank you for your answers, I must say that I'm kinda lost ^^" +-- |This

Re: [BackupPC-users] windows/scripts

2013-01-15 Thread Adam Goryachev
On 15/01/13 18:52, elrich wrote: > Hello Michael, > > first of all thank you for answering me. > I'm going to use winexe to test it out since the teacher wants us to stop the > service. > Whil reading the read me file, I saw that winexe is using the samba protocole. > Since my windows server isn't

[BackupPC-users] windows/scripts

2013-01-15 Thread elrich
Hello Michael, first of all thank you for answering me. I'm going to use winexe to test it out since the teacher wants us to stop the service. Whil reading the read me file, I saw that winexe is using the samba protocole. Since my windows server isn't in the same network, I'll to go throw the in

[BackupPC-users] windows/scripts

2013-01-14 Thread elrich
Hello Michael, first of all thank you for answering me. I'm going to use winexe to test it out since the teacher wants us to stop the service. Whil reading the read me file, I saw that winexe is using the samba protocole. Since my windows server isn't in the same network, I'll to go throw the in

Re: [BackupPC-users] windows/scripts

2013-01-14 Thread Michael Stowe
> Good evening, > > I'm trying to backup a windows server (2003/2008) machine. > Thing is, everytime I have to do a backup I must stop some services > before. > I know that while using rsyncd backupPC has an option which is named > 'DumpPreUserCmd' and which allows to run a script before doing the

[BackupPC-users] windows/scripts

2013-01-14 Thread elrich
Good evening, I'm trying to backup a windows server (2003/2008) machine. Thing is, everytime I have to do a backup I must stop some services before. I know that while using rsyncd backupPC has an option which is named 'DumpPreUserCmd' and which allows to run a script before doing the backup but I