Description:
There are times when a Mart database or another database dump needs to be sent to support for diagnosis purposes. Is any thing else also needed at the receiving end for restoring it?
Solution:
Yes, there are a few things that are needed for restoring it. Please use the following guidelines when sending a database dump to support. It will be much quicker to restore the database if we have all this information available.
For Oracle Database:
- Oracle database version.
- Execute Select * from V$NLS_PARAMETERS; in Oracle query tool and send us that result. It is very important for us to know the values for the parameters NLS_CHARACTERSET and NLS_NCHAR_CHARACTERSET so we can create our database with the same character set. Executing the above statement will also give us other (possibly important) environmental information so we can match our test instance to the one we are reveiving and allow the import to succeed.
- Send us the Mart Schema owner export, not the full export. This will reduce the size of the file and reduce the transmission time.
- Use the Oracle EXPORT utility when exporting the dbms. It will ensure that the export file can be restored on a Windows platform. The TAR command is only good to restore on UNIX OS.
- Mart Schema Owner name.
- At least one user name with 'Mart Administrator' Privilege.
- Names of the Data and Index Tablespaces.
- Total and used size of the Data Tablespace.
- Total and used size of the Index Tablespace.
- Compress the file if it is large and include compression utility name.
- Preferred backup method: Transfer compressed file to choice of backup hardware if electronic transfer is not available.
- Preferred Hardware for backup file device: 4mm DAT, DLT or standard CD-ROM.
For SQL Server Database:
- Database sort order and character set used (run sp_helpsort in the query tool to get this information).
- Name of database.
- Data device size.
- Log device size.
- Or total database size.
- At least one user name with 'Mart Administrator' privilege.
- Compress the file(s) if it is large and include compression utility name.
For Sybase Database:
- Database Version.
- Database sort order and character set used (run sp_helpsort in isql to get this information.)
- Name of database.
- Data device size.
- Log device size.
- Or total database size.
- At least one user name with 'ModelMart Administrator' privilege.
- Compress the file(s) if it is large and include compression utility name.
- If sending a bcp files then use character mode bcp option with unique set of column and row terminators. Also include the 'bcp out' script file so we can use it to do 'bcp in'.
- Preferred backup method: Create bcp files set and transfer it to choice of backup hardware if electronic transfer is not available.
- Preferred Hardware for backup file device: 4mm DAT, DLT or standard CD-ROM.