Viewing 15 posts - 1 through 15 (of 20 total)
@hiramfleitas: Error is the correct description because if "Msg " appears in the output it's an error 😉
@
July 31, 2017 at 12:02 am
Hi Manu, I saw your short script in the newsletter today and it inspired me. Thanks! Yes powershell is nice but you always need the correct environment, powershell version, permissions,...
July 28, 2017 at 3:59 am
Thank you mick.regan for answering. I will try to complement your answer a little bit:
The script gets the default log (and data) path with the following statement:
SELECT CAST(SERVERPROPERTY('instancedefaultlogpath') AS NVARCHAR(512))
the...
December 14, 2015 at 1:51 am
Hello Metcalfe,
sure it is not possible to downgrade databases. To do so you have to create a new database on the old version SQL-Server and transfer the objects of the...
December 4, 2015 at 8:25 am
Hi psheperia,
no, there are no plans because I don't use Azure.
Best regards, Roland
December 4, 2015 at 3:58 am
Hello all,
as promised I've now tested the new version (20141104) and you will find the download here:
http://rolx.de/download/CopyDB.cmd
This version now supports blanks in path and filenames. Nevertheless I recommend not to...
November 4, 2014 at 3:45 am
Hi mprokop04,
do you mean something like this:
1.) Open a query on the source server
2.) Run: select 'call c:\temp\copydb ' + @@servername + ' TargetServer\TargetInstance ' + Name + ' offline'...
October 10, 2014 at 1:12 am
Hi Mick,
thanks for your modifications. I did some more modifications and after they are tested I will provide the command file here again.
Regards Roland
October 1, 2014 at 6:35 am
Hi ofirgeller22,
your syntax is correct in this way. Are there blanks in your paths or filenames or database names?
Maybe it will help if you run the statement on the source...
September 24, 2014 at 5:31 am
Hi joe.tj,
sorry, I don't have experience with Chinese OS. Maybe this will help:
Try to save the file directly to your HD. Do not open it in an editor.
or
Replace the frame...
September 24, 2014 at 2:17 am
Hello,
@Christian: Thnks for the hints. I've fixed the bugs. (http://rolx.de/download/CopyDB.cmd)
@JunkIt: No! As I know it is not possible to copy a database from a newer to...
September 23, 2014 at 11:14 pm
O.K. sorry, some more details:
- the user has to be a domain key
- the user has to be granted to access the \\Server\x$ shares
- the user needs write permissions on...
September 23, 2014 at 7:17 am
Look at the bottom of the article:
http://www.sqlservercentral.com/articles/Copy+Database+Script/107377/
direct link:
http://www.sqlservercentral.com/Files/CopyDB.cmd/23588.cmd
Regards, Roland
September 23, 2014 at 6:13 am
Thank you for your tips. I use the script since many years and it always worked fine for me. O.K. I dont use blanks in my path and filenames (old...
September 23, 2014 at 6:10 am
September 23, 2014 at 3:26 am
Viewing 15 posts - 1 through 15 (of 20 total)