Monday, March 26, 2012
Moving the FTDATA folder
I need to move all folders off of a drive as that drive is being replaced.
One of those folders is FTDATA. Can I just stop SQL Server, move the folder,
modify the FULLTEXTDEFAULTPATH in the registry to point to the new location,
and restart SQL Server? Or, given that this application does not use Full
Text Search, does it even matter (i.e there are no full text catalogs being
populated)?
Thanks for any info!
Steve
Steve,
You should review KB article 240867 (Q240867) "INF: How to Move, Copy, and
Backup Full-Text Catalog Folders and Files" at:
http://support.microsoft.com/default...b;EN-US;240867
If you're not using the FTS features, you can drop the FT Catalog as this
will remove the FT Catalog folder & files and then disenable the database
for FT use.
Regards,
John
"steven virnig" <pezguy@.mn.rr.com> wrote in message
news:9VQSc.90650$vN3.29201@.twister.rdc-kc.rr.com...
> Hello
> I need to move all folders off of a drive as that drive is being replaced.
> One of those folders is FTDATA. Can I just stop SQL Server, move the
folder,
> modify the FULLTEXTDEFAULTPATH in the registry to point to the new
location,
> and restart SQL Server? Or, given that this application does not use Full
> Text Search, does it even matter (i.e there are no full text catalogs
being
> populated)?
> Thanks for any info!
> Steve
>
sql
Moving the distribution database
Is it possible to move the distribution database to a new folder/drive
without removing replication? I am attempting to do it the same way you
would move tempdb:
ALTER DATABASE distribution MODIFY FILE
(name = distmodel, filename = 'C:\DISTMOVED\distribution.MDF')
ALTER DATABASE distribution MODIFY FILE
(name = distmodel_log, filename = 'C:\DISTMOVED\distribution.LDF')
But I get -
Server: Msg 5037, Level 16, State 1, Line 1
MODIFY FILE failed. Do not specify physical name.
Thanks,
Joshjoshsackett (joshsackett@.gmail.com) writes:
> Is it possible to move the distribution database to a new folder/drive
> without removing replication? I am attempting to do it the same way you
> would move tempdb:
> ALTER DATABASE distribution MODIFY FILE
> (name = distmodel, filename = 'C:\DISTMOVED\distribution.MDF')
> ALTER DATABASE distribution MODIFY FILE
> (name = distmodel_log, filename = 'C:\DISTMOVED\distribution.LDF')
> But I get -
> Server: Msg 5037, Level 16, State 1, Line 1
> MODIFY FILE failed. Do not specify physical name.
According to Books Online, FILENAME is permitted for tempdb only.
For a regular database, one can always detach it, copy it and attach
it from the new location. Yet an alternative is to add files, and
then use DBCC SHRINKFILE to empty the first and then remove that
file, a fairly cumbersome operation. But whether that is possible for
distribution, I have idea.
I would ask in microsoft.public.sqlserver.replication, if I were
you.
--
Erland Sommarskog, SQL Server MVP, esquel@.sommarskog.se
Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techin.../2000/books.asp|||Thank you Erland.
I have since learned that it is impossible to move the distribution db.
You have to completely remove replication and then start over.
Oh well.
Josh
Friday, March 9, 2012
moving server to a new box
disk/folder layout of all database files to distribute IO etc.. There are
about 100 user databases with a lot of logins and jobs. I need your opinion
if my plan will work out.
1. Disconnect source server from network and stop all jobs
2. Detach all user databases
3. Full backup MSDB and Master databases
4. Attach all user databases to the new server
5. Restore master
6. Restore MSDB
I have done detach and attach databases a lot of times, so I am fine on
that. I am just not sure, if I restore master and MSDB, will all my logins
(with server level permissions), linked servers and all my jobs (including
maintenance plans) work? or is there any thing I need to watch?
Thanks.Have a look here:
http://www.support.microsoft.com/?id=314546 Moving DB's between Servers
http://www.support.microsoft.com/?id=224071 Moving SQL Server Databases
to a New Location with Detach/Attach
http://support.microsoft.com/?id=221465 Using WITH MOVE in a
Restore
http://www.support.microsoft.com/?id=246133 How To Transfer Logins and
Passwords Between SQL Servers
http://www.support.microsoft.com/?id=298897 Mapping Logins & SIDs after a
Restore
http://www.dbmaint.com/SyncSqlLogins.asp Utility to map logins to
users
http://www.support.microsoft.com/?id=168001 User Logon and/or Permission
Errors After Restoring Dump
http://www.support.microsoft.com/?id=240872 How to Resolve Permission
Issues When a Database Is Moved Between SQL Servers
http://www.sqlservercentral.com/scr...sp?scriptid=599
Restoring a .mdf
http://www.support.microsoft.com/?id=307775 Disaster Recovery Articles
for SQL Server
Andrew J. Kelly SQL MVP
"flologic" <flo@.flo.net> wrote in message
news:Omrv91kdEHA.2504@.TK2MSFTNGP12.phx.gbl...
> We are moving an older server to a new box. We will also change our
> disk/folder layout of all database files to distribute IO etc.. There are
> about 100 user databases with a lot of logins and jobs. I need your
opinion
> if my plan will work out.
> 1. Disconnect source server from network and stop all jobs
> 2. Detach all user databases
> 3. Full backup MSDB and Master databases
> 4. Attach all user databases to the new server
> 5. Restore master
> 6. Restore MSDB
> I have done detach and attach databases a lot of times, so I am fine on
> that. I am just not sure, if I restore master and MSDB, will all my logins
> (with server level permissions), linked servers and all my jobs (including
> maintenance plans) work? or is there any thing I need to watch?
> Thanks.
>|||HI
Wrong order: Restore master before attach datatbase!!!
1. Stop all jobs
2. Detach all user databases
3. Full backup MSDB and Master databases
4. Copy required files to the another server and Disconnect source server fr
om network.
5. Start the new server with same name
6. Restore master
7. Attach all user databases to the new server
8. Restore MSDB
After restore master and msdb will all your logins
(with server level permissions), linked servers and all you jobs (including
maintenance plans) work.
"flologic" wrote:
> We are moving an older server to a new box. We will also change our
> disk/folder layout of all database files to distribute IO etc.. There are
> about 100 user databases with a lot of logins and jobs. I need your opinio
n
> if my plan will work out.
> 1. Disconnect source server from network and stop all jobs
> 2. Detach all user databases
> 3. Full backup MSDB and Master databases
> 4. Attach all user databases to the new server
> 5. Restore master
> 6. Restore MSDB
> I have done detach and attach databases a lot of times, so I am fine on
> that. I am just not sure, if I restore master and MSDB, will all my logins
> (with server level permissions), linked servers and all my jobs (including
> maintenance plans) work? or is there any thing I need to watch?
> Thanks.
>
>
moving server to a new box
disk/folder layout of all database files to distribute IO etc.. There are
about 100 user databases with a lot of logins and jobs. I need your opinion
if my plan will work out.
1. Disconnect source server from network and stop all jobs
2. Detach all user databases
3. Full backup MSDB and Master databases
4. Attach all user databases to the new server
5. Restore master
6. Restore MSDB
I have done detach and attach databases a lot of times, so I am fine on
that. I am just not sure, if I restore master and MSDB, will all my logins
(with server level permissions), linked servers and all my jobs (including
maintenance plans) work? or is there any thing I need to watch?
Thanks.
Have a look here:
http://www.support.microsoft.com/?id=314546 Moving DB's between Servers
http://www.support.microsoft.com/?id=224071 Moving SQL Server Databases
to a New Location with Detach/Attach
http://support.microsoft.com/?id=221465 Using WITH MOVE in a
Restore
http://www.support.microsoft.com/?id=246133 How To Transfer Logins and
Passwords Between SQL Servers
http://www.support.microsoft.com/?id=298897 Mapping Logins & SIDs after a
Restore
http://www.dbmaint.com/SyncSqlLogins.asp Utility to map logins to
users
http://www.support.microsoft.com/?id=168001 User Logon and/or Permission
Errors After Restoring Dump
http://www.support.microsoft.com/?id=240872 How to Resolve Permission
Issues When a Database Is Moved Between SQL Servers
http://www.sqlservercentral.com/scri...p?scriptid=599
Restoring a .mdf
http://www.support.microsoft.com/?id=307775 Disaster Recovery Articles
for SQL Server
Andrew J. Kelly SQL MVP
"flologic" <flo@.flo.net> wrote in message
news:Omrv91kdEHA.2504@.TK2MSFTNGP12.phx.gbl...
> We are moving an older server to a new box. We will also change our
> disk/folder layout of all database files to distribute IO etc.. There are
> about 100 user databases with a lot of logins and jobs. I need your
opinion
> if my plan will work out.
> 1. Disconnect source server from network and stop all jobs
> 2. Detach all user databases
> 3. Full backup MSDB and Master databases
> 4. Attach all user databases to the new server
> 5. Restore master
> 6. Restore MSDB
> I have done detach and attach databases a lot of times, so I am fine on
> that. I am just not sure, if I restore master and MSDB, will all my logins
> (with server level permissions), linked servers and all my jobs (including
> maintenance plans) work? or is there any thing I need to watch?
> Thanks.
>
|||HI
Wrong order: Restore master before attach datatbase!!!
1. Stop all jobs
2. Detach all user databases
3. Full backup MSDB and Master databases
4. Copy required files to the another server and Disconnect source server from network.
5. Start the new server with same name
6. Restore master
7. Attach all user databases to the new server
8. Restore MSDB
After restore master and msdb will all your logins
(with server level permissions), linked servers and all you jobs (including
maintenance plans) work.
"flologic" wrote:
> We are moving an older server to a new box. We will also change our
> disk/folder layout of all database files to distribute IO etc.. There are
> about 100 user databases with a lot of logins and jobs. I need your opinion
> if my plan will work out.
> 1. Disconnect source server from network and stop all jobs
> 2. Detach all user databases
> 3. Full backup MSDB and Master databases
> 4. Attach all user databases to the new server
> 5. Restore master
> 6. Restore MSDB
> I have done detach and attach databases a lot of times, so I am fine on
> that. I am just not sure, if I restore master and MSDB, will all my logins
> (with server level permissions), linked servers and all my jobs (including
> maintenance plans) work? or is there any thing I need to watch?
> Thanks.
>
>
moving server to a new box
disk/folder layout of all database files to distribute IO etc.. There are
about 100 user databases with a lot of logins and jobs. I need your opinion
if my plan will work out.
1. Disconnect source server from network and stop all jobs
2. Detach all user databases
3. Full backup MSDB and Master databases
4. Attach all user databases to the new server
5. Restore master
6. Restore MSDB
I have done detach and attach databases a lot of times, so I am fine on
that. I am just not sure, if I restore master and MSDB, will all my logins
(with server level permissions), linked servers and all my jobs (including
maintenance plans) work? or is there any thing I need to watch?
Thanks.Have a look here:
http://www.support.microsoft.com/?id=314546 Moving DB's between Servers
http://www.support.microsoft.com/?id=224071 Moving SQL Server Databases
to a New Location with Detach/Attach
http://support.microsoft.com/?id=221465 Using WITH MOVE in a
Restore
http://www.support.microsoft.com/?id=246133 How To Transfer Logins and
Passwords Between SQL Servers
http://www.support.microsoft.com/?id=298897 Mapping Logins & SIDs after a
Restore
http://www.dbmaint.com/SyncSqlLogins.asp Utility to map logins to
users
http://www.support.microsoft.com/?id=168001 User Logon and/or Permission
Errors After Restoring Dump
http://www.support.microsoft.com/?id=240872 How to Resolve Permission
Issues When a Database Is Moved Between SQL Servers
http://www.sqlservercentral.com/scripts/scriptdetails.asp?scriptid=599
Restoring a .mdf
http://www.support.microsoft.com/?id=307775 Disaster Recovery Articles
for SQL Server
Andrew J. Kelly SQL MVP
"flologic" <flo@.flo.net> wrote in message
news:Omrv91kdEHA.2504@.TK2MSFTNGP12.phx.gbl...
> We are moving an older server to a new box. We will also change our
> disk/folder layout of all database files to distribute IO etc.. There are
> about 100 user databases with a lot of logins and jobs. I need your
opinion
> if my plan will work out.
> 1. Disconnect source server from network and stop all jobs
> 2. Detach all user databases
> 3. Full backup MSDB and Master databases
> 4. Attach all user databases to the new server
> 5. Restore master
> 6. Restore MSDB
> I have done detach and attach databases a lot of times, so I am fine on
> that. I am just not sure, if I restore master and MSDB, will all my logins
> (with server level permissions), linked servers and all my jobs (including
> maintenance plans) work? or is there any thing I need to watch?
> Thanks.
>
moving reports in report manager
Jens K. Suessmeyer.
http://www.sqlserver2005.de
Wednesday, March 7, 2012
Moving projects from server to workstation issue.
Dear folks,
I’ve moved my server folder which contains about 10 dtsx and its ADO .net connection as well as OLEDB into my folder workstation. Then, when I’m gonna to open them appears this error:
Error1Error loading M_HAC_Modelo198_CECA.dtsx: Failed to decrypt protected XML node "DTS:Password" with error 0x8009000B "Clave no válida para utilizar en el estado especificado.". You may not be authorized to access this information. This error occurs when there is a cryptographic error. Verify that the correct key is available.c:\ssis\hacienda_anual\M_HAC_Modelo198_CECA.dtsx11
Translate into english: "Clave no válida para utilizar en el estado especificado" = Invalid key for to use in the specified state (more or less)
What really happen? Well, I wrote these packages using a domain user (belong to Administrators group in Active Directory) via Terminal Server and now I want to modify them by mean my domain user (I already have got installed sql25k client tools and the stuff required)
I thouht that these connections were saved in the same folder where dtsx, dtsproj, etc..
Solution? Create them again? I hope that it will be a piece of cake otherwise...
Thanks in advance for any though or advice,
Well, it really occurs with a only dtsx. Issue raises with a SSIS packages which it was a importation of a sql2k dts. So that it's add a little bit of confusion. Others ones are fine.