Chapter 6 Operations of NEC Storage ReplicationControl SQL Option
If an error occurred in the disk in which data files for databases, snap1 and snap2, are allocated, but not in
the log file disk, a transaction log backup can be created with Microsoft SQL Server 2000. In this case,
recovery up until immediately before the error occurred is possible by applying the transaction log after a
snapshot restoration has been performed. In the event that transaction logs have been periodically backed
up, if an error occurred in the log file disk, recovery shall be possible up until the latest transaction log
backup copy had been created.
If the transaction log backup file is lost, recovery up until the transaction log backup copy had been created
is impossible. Save the transaction log backup file in a highly reliable disk.
Procedure 1. Prepare a database operation file
Prepare a database operation file.
For details of the database operation file, refer to the "NEC Storage Manager Data Replication
Command Reference".
snap_dbfile.txt
#db:db_name
db:snap1
db:snap2
Procedure 2. Create a transaction log backup (Business Server)
Create a transaction log backup when an error occurs in Microsoft SQL Server 2000's data file disk.
T-SQL : BACKUP LOG snap1 TO DISK = 'h:\sql\backups_snap1\trbl.dat' WITH
NO_TRUNCATE
T-SQL : BACKUP LOG snap2 TO DISK = 'h:\sql\backups_snap2\trbl.dat' WITH
NO_TRUNCATE
* In the event that an error occurs in a disk, maintenance personnel may replace the disk. In this case,
the OS may be restarted to correctly recognize the replaced disk.
Procedure 3. Detach the database (Business Server)
Detach the database where the error occurred.
T-SQL : EXEC sp_detach_db snap1
T-SQL : EXEC sp_detach_db snap2
Procedure 4. Initialize the recovery target disk (Backup Server)
Initialize the RV by using "Disk management" of Windows2000 if the logical volume is recovered due
to a hardware failure or if the file system is incorrect due to a procedural mistake during separation.
If the file system is in the normal state, for example, when data is recovered from an application error,
etc., mount the recovery target disk (all the disks in the database) on the backup server side and then
remod:restore_mode
remod:norecovery
remod:norecovery
65
Need help?
Do you have a question about the Storage ReplicationControl SQL Option and is the answer not in the manual?
Questions and answers