Moon Software Forum
Moon Software Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Discussion Forums
 Backup Magic
 Copiaris - How to run a cmd script before backup

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert Email Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

  Check here to subscribe to this topic.
 
   

T O P I C    R E V I E W
gguinchard Posted - 22 July 2012 : 14:08:53
I need to launch a cmd file before backup, to export a database. It was easy in Magic, but with Copiaris, I do'nt find how.
I have bought the product, so I have all options.
5   L A T E S T    R E P L I E S    (Newest First)
Ahto/Moon Software Posted - 13 December 2014 : 01:05:43
That is good you got it working, on some reason I had not replied to your question earlier.
Copiaris also support VSS to copy in use files, not sure how well MYSQL supports it, though.

Ahto
gguinchard Posted - 13 December 2014 : 00:36:19
quote:
Originally posted by Ahto/Moon Software

When executing some commands it helps if you start your command line with
cmd /c <your command line>


So likely you need to use
cmd /c yourfile.cmd




Oh"yes, I was using :
cmd.exe /c "C:\usr\local\bin\StopSELECTLINE_SQL.cmd" since a moment ...
and in the cmd, I have a line in the beginning to stop SQL:
net stop MSSQL$SELECTLINE
So I can quietely copy the database files on a NAS without risking that they are on use.

Thanks for your answer, bette late then never
Ahto/Moon Software Posted - 12 December 2014 : 20:03:33
When executing some commands it helps if you start your command line with
cmd /c <your command line>


So likely you need to use
cmd /c yourfile.cmd
gguinchard Posted - 29 August 2012 : 16:23:58
Thanks for your reply, but there is still another problem. THe script, when launceh "by hand" works fine. When launched by the process task, it goes out without waiting end of the process, I did check "wait for completion". Some idea of what is happening ?
Ahto/Moon Software Posted - 29 August 2012 : 15:52:52
You basically add new "Process task" into your script and there you specify command line to execute. You can add this task into any place, either before or after your main copy task, or between several copy tasks.

Ahto

Moon Software Forum © Copyright 1996-2011 Moon Software Go To Top Of Page
Snitz Forums 2000