How can we help you today? How can we help you today?
dhtucker

Activity overview

Latest activity by dhtucker

I'm experiencing the same problem, and I confirmed that both the source and target databases are of collation: SQL_Latin1_General_CP1_CI_AS / comments
I'm experiencing the same problem, and I confirmed that both the source and target databases are of collation: SQL_Latin1_General_CP1_CI_AS
0 votes
Confirmed! If I use the explicit RESTORE...MOVE syntax to restore a production backup (creating the initial full-text catalog) to my test database, subsequent restores using the implicit syntax work flawlessly (see below). It seems strange that SQL Server knows how to create .mdf and .ldf files when required by a RESTORE command and yet defaults to attempting a reuse of the source database's full-text catalog when one doesn't exist in the target database - I'm having a hard time imagining a scenario where that's the behavior I'd want. Sounds like a MS "feature" to me. [image] Thanks for your research! ~Doug /* server app1db (SQL2005) Command generated by SQL Backup GUI: */ EXECUTE master..sqlbackup '-SQL "RESTORE DATABASE [_ynz_tx1] FROM DISK = ''\\nas-sql\Wilcomp_SQL\ewhserver520\weekly\EWHSERVER520_YNZ_TX1_FULL_201108140246.sqb'' WITH RECOVERY, MOVE ''SAMPLE_Data'' TO ''C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\_ynz_tx1_1.mdf'', MOVE ''sysft_LibraryFullTextCatalog'' TO ''C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\_ynz_tx1_2'', MOVE ''SAMPLE_Log'' TO ''C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\_ynz_tx1_3.ldf''"' /* results: Restoring _ynz_tx1 (database) from: \\nas-sql\Wilcomp_SQL\ewhserver520\weekly\EWHSERVER520_YNZ_TX1_FULL_201108140246.sqb Processed 45856 pages for database '_ynz_tx1', file 'SAMPLE_Data' on file 1. Processed 3 pages for database '_ynz_tx1', file 'SAMPLE_Log' on file 1. Processed 258 pages for database '_ynz_tx1', file 'sysft_LibraryFullTextCatalog' on file 1. RESTORE DATABASE successfully processed 46116 pages in 14.318 seconds (26.384 MB/sec). SQL Backup process ended. exitcode 0 sqlerrorcode 0 filename001 \\nas-sql\Wilcomp_SQL\ewhserver520\weekly\EWHSERVER520_YNZ_TX1_FULL_201108140246.sqb */ EXECUTE master..sqlbackup '-sql "RESTORE DATABASE _ynz_tx1 FROM DISK=[\\nas-sql\wilcomp_sql\ewhserver520\weekly\EWHSERVER520_YNZ_TX1_FULL_201108140246.sqb] WITH RECOVERY, REPLACE, DISCONNECT_EXISTING, SINGLERESULTSET" ' /* results: Restoring _ynz_tx1 (database) from: \\nas-sql\wilcomp_sql\ewhserver520\weekly\EWHSERVER520_YNZ_TX1_FULL_201108140246.sqb Processed 45856 pages for database '_ynz_tx1', file 'SAMPLE_Data' on file 1. Processed 3 pages for database '_ynz_tx1', file 'SAMPLE_Log' on file 1. Processed 258 pages for database '_ynz_tx1', file 'sysft_LibraryFullTextCatalog' on file 1. RESTORE DATABASE successfully processed 46116 pages in 15.549 seconds (24.295 MB/sec). SQL Backup process ended. */ / comments
Confirmed! If I use the explicit RESTORE...MOVE syntax to restore a production backup (creating the initial full-text catalog) to my test database, subsequent restores using the implicit syntax wor...
0 votes
RG RESTORE FILELISTONLY resultset doesn't match SQL native
According to MSDN, the resultset from RESTORE FILELISTONLY should be: declare @fileListTable table( LogicalName nvarchar(128), PhysicalName nvarchar(260), [Type] ...
0 followers 0 comments 0 votes
errors 1834, 3013, 3119, 3156 restore backup w/ full-text
DECLARE @exitCode INT DECLARE @sqlErrorCode INT DECLARE @strSql NVARCHAR(1000) SET @strSql = ' -sql "RESTORE DATABASE _ynz_tx1 FROM DISK=[\\nas-sql\wilcomp_sql\temporary\YNZ_TX1_205042.sqb] WITH RE...
2 followers 8 comments 0 votes