Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Windows Small Business Server > Moving Data Folders for Windows Small Business Server 2003

Reply
Thread Tools Display Modes

Moving Data Folders for Windows Small Business Server 2003

 
 
ZielonySBS
Guest
Posts: n/a

 
      11-27-2009

I need to move Monitoring folder with files SBSMonitoring.mdg ect.

I am doing it exactly like in instruction
http://technet.microsoft.com/en-us/l...31(WS.10).aspx


but there is a command to copy:

Osql -E -S ServerName\SBSMonitoring -Q "sp_detach_db 'SBSMonitoring'" and
result is:


C:\Documents and Settings\Administrator> Osql -E -S MYSERVER\SharePoint -Q
"sp_detach_db 'STS_Config'"

usage: osql [-U login id] [-P password]
[-S server] [-H hostname] [-E trusted connection]
[-d use database name] [-l login timeout] [-t query timeout]
[-h headers] [-s colseparator] [-w columnwidth]
[-a packetsize] [-e echo input] [-I Enable Quoted Identifiers]
[-L list servers] [-c cmdend] [-D ODBC DSN name]
[-q "cmdline query"] [-Q "cmdline query" and exit]
[-n remove numbering] [-m errorlevel]
[-r msgs to stderr] [-V severitylevel]
[-i inputfile] [-o outputfile]
[-p print statistics] [-b On error batch abort]
[-X[1] disable commands [and exit with warning]]
[-O use Old ISQL behavior disables the following]
<EOF> batch processing
Auto console width scaling
Wide messages
default errorlevel is -1 vs 1
[-? show syntax summary]

It looks like a syntax error ? but syntax is corect

Anyone can help?




 
Reply With Quote
 
 
 
 
Al Williams
Guest
Posts: n/a

 
      11-27-2009
Verify your quotation marks. Sometimes you get "smart quotes" from the
website when you copy/paste so maybe retype them.

--
Allan Williams




ZielonySBS wrote:
> I need to move Monitoring folder with files SBSMonitoring.mdg ect.
>
> I am doing it exactly like in instruction
> http://technet.microsoft.com/en-us/l...31(WS.10).aspx
>
>
> but there is a command to copy:
>
> Osql -E -S ServerName\SBSMonitoring -Q "sp_detach_db 'SBSMonitoring'"
> and result is:
>
>
> C:\Documents and Settings\Administrator> Osql -E -S
> MYSERVER\SharePoint -Q "sp_detach_db 'STS_Config'"
>
> usage: osql [-U login id] [-P password]
> [-S server] [-H hostname] [-E trusted connection]
> [-d use database name] [-l login timeout] [-t query timeout]
> [-h headers] [-s colseparator] [-w columnwidth]
> [-a packetsize] [-e echo input] [-I Enable Quoted Identifiers]
> [-L list servers] [-c cmdend] [-D ODBC DSN name]
> [-q "cmdline query"] [-Q "cmdline query" and exit]
> [-n remove numbering] [-m errorlevel]
> [-r msgs to stderr] [-V severitylevel]
> [-i inputfile] [-o outputfile]
> [-p print statistics] [-b On error batch abort]
> [-X[1] disable commands [and exit with warning]]
> [-O use Old ISQL behavior disables the following]
> <EOF> batch processing
> Auto console width scaling
> Wide messages
> default errorlevel is -1 vs 1
> [-? show syntax summary]
>
> It looks like a syntax error ? but syntax is corect
>
> Anyone can help?



 
Reply With Quote
 
Robbin Meng [MSFT]
Guest
Posts: n/a

 
      12-01-2009


Hello,

Thanks for your post and Allan's input.

Please click the "Copy Code" option on the right of the page and modify the ServerName part. Make sure you didn't change the default configuration name which is
"STS_Config". You can verify the names under "C:\Program Files\Microsoft SQL Server\MSSQL$SHAREPOINT\Data" folder.

Hope this helps.


Best regards,
Robbin Meng(MSFT)
Microsoft Online Newsgroup Support


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error not able to loging after upgrading domain controller Alexyy Active Directory 6 11-10-2009 07:09 AM
Re: New Server Transition question Ace Fekay [MCT] Windows Server 2 10-28-2009 05:39 AM
Re: 2003 migration to new 2003 server Meinolf Weber [MVP-DS] Server Migration 0 10-22-2009 08:48 AM
Vista and Small Business Server 2003: Password/Network Set Up Pro John Windows Vista Administration 2 09-07-2006 06:50 PM
Vista and Small Business Server 2003: Password/Network Set Up Pro John Windows Vista Administration 1 09-04-2006 09:49 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59