Hi Gurus,
i am having problems with restoring a ms sql database.
i have restored the database using veritas to a different location
('g:\datafiles') in no recover mode.
when i view the database through the Enterprise Manager, it shows the
database as silver icon (loading).
i go to sql analyzer, and put in the restore command
restore log myDatabase
from 'mylog'
with recovery
this produces an error
RESTORE FILELISTONLY
FROM jobs
Server: Msg 3206, Level 16, State 1, Line 1
No entry in sysdevices for backup device 'mylog'. Update sysdevices
and rerun
statement.
i look in master..sysdevices - no entry for mylog, but then no entries
for the log files for any of the other perfectly working databases
either.
i do have a copy of the log files ('c:\logfiles') in another location
i would like the following help if possible:
* a way to update sysdevices with the log file i wish to apply to my
restored database so it will let my restore go through properly.
* a way to specify to use apply the logs in 'c:\logfiles' without
having to give the restore statement a logical name for the log files
(which naturally won't be in sysdevices!)
pls supply transact sql
my thanks
Edwina63
(if wish to email please remove h from edwinah@)
p.s sp_add_log_file_recover_suspect_db will not work in a partially
restored database