delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/04/14/18:51:03

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=kKPjocW9ydvHkK0g
OQZri8FESHpRm8kTE74teGInNc+sVyjORs/uyGwE9m9DwZScoizCBujzm/h5xnmw
+opQ5l0n9RV6z4z4b73CO8zRcBie5qxTiQnxhu/NGWKGrM1Fdj09sXliNqt1Rooi
bigidpNREoOqyPOskbl1Z23MCrg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=Q54e0f9w5n3Lp6uQTyuMNk
Nbpas=; b=O6Q1Dvn9IKy1Z0iPprrGtkRyOlTTakS8j8lkaWsQnLaTjadId4ofzT
DrZOuFFZ3Y/UzfCIetGNkQ7RT22s2wMQoNR97EM/YNVLLKV4u2CaCOYrMijYbWj+
QaB/dwKfgDqlx09JtGnO6A8oSLgjE7SxOu2/ZFbeNdjoRL8QFBClw=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: Yes, score=5.5 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_PSBL,SPF_SOFTFAIL,T_FILL_THIS_FORM_SHORT autolearn=no version=3.3.2 spammy=H*UA:Bat!, H*x:Bat!, H*r:sk:postmas, H*x:Home
X-HELO: smtp.ht-systems.ru
Date: Fri, 15 Apr 2016 01:49:06 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <1186552899.20160415014906@yandex.ru>
To: Alexandria Gutierrez <alegutier AT gmail DOT com>, cygwin AT cygwin DOT com
Subject: Re: Cygwin-2.5.0 net share wbadmin no longer working post update
In-Reply-To: <CAN2X4tExtHpod9R_LLwt4sFvEJKp_bSh=UpyLFys5SbK1A1XnQ@mail.gmail.com>
References: <CAN2X4tEmO4H8=757x_CYFWPHtcOr+YMRfR2b07Vg7rFcrNY6tg AT mail DOT gmail DOT com> <loom DOT 20160414T170618-303 AT post DOT gmane DOT org> <CAN2X4tFfqgPS5Jc9=rodiv_4mE-mb3akSD925oA1tWy6C5jebA AT mail DOT gmail DOT com> <87ega8t99o DOT fsf AT Rainer DOT invalid> <CAN2X4tHMu32aFfAnbz0fC3heNLBHrXPxVkcQvp8+RgT_o7rNbw AT mail DOT gmail DOT com> <87a8kwt39s DOT fsf AT Rainer DOT invalid> <CAN2X4tExtHpod9R_LLwt4sFvEJKp_bSh=UpyLFys5SbK1A1XnQ AT mail DOT gmail DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Alexandria Gutierrez!

> I am sorry, I was not clear.
> On the original script I am using
> -backuptarget=\\\\SERVERNAME\\PATH\\TO\\SHARE
> to avoid the use of quotes.

You must use quotes to escape the "=" sign, which for CMD is an argument
separator equal to space. (Assuming the command hit CMD on the way to its
destination.) Or use caret to escape it explicitly.

> I have several cygwin version installed across multiple windows nodes. All
> of them work correctly.

> On the 2 new cygwin-2.5.0 nodes using the same script (already working
> with 2.4.0 and older) does not work. One was a cygwin upgrade, and the
> other was a clean install.

> What I mean to say, it was that given the number of computers running
> this script across systems that can not be access remotely, the
> solution that would be practical for us to find, would be one that we
> can be attached to a set of cygwin-2.5.0 installation instructions. I
> really appreciate all of the assistance I can get. I hope I did not
> sound dismissive.

The reality is that only current release is actually supported.
If it breaks anything, Corinna, and other people here, would really like to
know, what and how is broken, to be able to fix it.

> Just as an update, even if I connect directly via ssh to the node and
> and run either:

> /cygdrive/c/windows/Sysnative/wbadmin START BACKUP -user:USERNAME
> -password:PASSWORD -backuptarget:'\\SERVERNAME\PATH\TO\SHARE'
> -allCritical -systemstate -quiet
> or
> /cygdrive/c/windows/Sysnative/wbadmin START BACKUP -user:USERNAME
> -password:PASSWORD -backuptarget:\\\\SERVERNAME\\PATH\\TO\\SHARE
> -allCritical -systemstate -quiet

> it does not work. I do understand what you mean that SSH will strip the quotes.
> Whatever the solution is, I am interested in finding it. The next
> thing I am going to try is to roll back some windows updates to see if
> that is responsible for the issues.

> Any other suggestion, ideas and solutions would be appreciated.

If you mean that it doesn't work in direct shell prompt, then it is really a
very curious situation.
Anything in the event log that can help shed some light?
Can you perhaps try the same command with forward slashes?


-- 
With best regards,
Andrey Repin
Friday, April 15, 2016 01:41:19

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019