Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Title Page
Copyrights
NetVault:Backup - Users Guide for the NetVault:Backup APM for Microsoft SQL Server Software Copyright 2006 BakBone Software Documentation Copyright 2006 BakBone Software This software product is copyrighted and all rights are reserved. The distribution and sale of this product are intended for the use of the original purchaser only per the terms of the License Agreement. All other product trademarks are the property of their respective owners. The NetVault:Backup - Users Guide for the NetVault:Backup APM for Microsoft SQL Server documentation is copyrighted and all rights are reserved. This document may not, in whole or part, be copied, photocopied, reproduced, translated, reduced or transferred to any electronic medium or machine-readable form without prior consent in writing from BakBone Software. THIS PUBLICATION IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. THIS PUBLICATION COULD INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS. CHANGES ARE PERIODICALLY ADDED TO THE INFORMATION HEREIN; THESE CHANGES WILL BE INCORPORATED INTO NEW EDITIONS OF THE PUBLICATION. BAKBONE SOFTWARE MAY MAKE IMPROVEMENTS AND/OR CHANGES IN THE PRODUCT(S) AND/OR THE PROGRAM(S) DESCRIBED IN THIS PUBLICATION AT ANY TIME.
BakBone Software
9540 Towne Centre Drive, Suite 100 San Diego, California 92121 858.450.9009
Users Guide
SQ.2.0 - Configuring the Microsoft SQL Server APM ..................................... 10 SQ.3.0 - Backing Up Data with the Microsoft SQL Server APM ............... 11
SQ.3.1 - Step 1: Selecting Data Items for a Backup ............................................................. 11 SQ.3.2 - Step 2: Setting Backup Options ............................................................................ 12 SQ.3.3 - Step 3: Finalizing and Submitting the Backup Job ................................................. 17
SQ.4.0 - Restoring Data with the Microsoft SQL Server APM ................... 17
SQ.4.1 - Phase 1: Understanding the Recovery of Various Types of Backup........................ 18 - SQ.4.1.a - Overview of Available Backup and Recovery Scenarios ....................................... 18 SQ.4.2 - Phase 2: Restore Procedure .................................................................................. 20 SQ.4.3 - The Restore Options Tab....................................................................................... 21 SQ.4.4 - Restoring the Master Database ............................................................................. 23 SQ.4.5 - Renaming/Relocating a Restore ............................................................................ 24 - SQ.4.5.a - Renaming a Restore......................................................................................... 24 - SQ.4.5.b - Relocating a Restore ........................................................................................ 25 - SQ.4.5.c - Renaming and Relocating a Restore .................................................................. 26 - SQ.4.5.d - Restoring Data Files and Log Files to Different Locations ..................................... 26
SQ.5.0 - The Microsoft SQL Server APM and Application Cluster Support................................................................................................................ 27
SQ.5.1 - Application Cluster Support - An Overview ........................................................... 28 SQ.5.2 - About this Section of the Guide ............................................................................ 28 SQ.5.3 - Installation ............................................................................................................ 29 - SQ.5.3.a - Pre-Requisites ................................................................................................. 29 - SQ.5.3.b - Installation Procedure ....................................................................................... 29 SQ.5.4 - Backup/Restore Scenarios .................................................................................... 30
SQ.5.5 - Licensing ............................................................................................................. 31 SQ.5.6 - Configuration ....................................................................................................... 31 - SQ.5.6.a - Configuration for Backup/Restore Scenario A ..................................................... 32 - SQ.5.6.b - Configuration for Backup/Restore Scenario B ..................................................... 32 SQ.5.7 - Backup ................................................................................................................. 33 SQ.5.8 - Restore ................................................................................................................ 34 - SQ.5.8.a - Restoring a Virtual Client Backup....................................................................... 34 - SQ.5.8.b - Restoring Data Backed up From a Member Client ............................................... 35 SQ.5.9 - Multiple Shared Microsoft SQL Instances .............................................................. 35 - SQ.5.9.a - Installation Requirements.................................................................................. 35 - SQ.5.9.b - Configuration Requirements .............................................................................. 36 - SQ.5.9.c - Backup Requirements ...................................................................................... 37 - SQ.5.9.d - Restore Requirements ...................................................................................... 38
SQ.0.0
SQ.0.1
Target Audience
Microsoft DBA skills are not generally required for routine backup operations. However, initial configuration and recovery operations may require Administratorlevel experience and access.
SQ.1.0
SQ.1.1
SQ.1.1.a
Important: The account used in the following procedure must be either the Administrator
account or a member account with the proper SQL Server permissions set (e.g., a Domain Administrator account). 1. From the Start menu, select Settings>Control Panel. Double-click on the Administrative Tools utility to open its associated window.
Figure SQ-1: The window for the NetVault: :Backup Process Manager service as seen in Windows 2000/2003
2. Launch the Services utility by double-clicking on it in order to display a list of services currently running on the machine. Locate the NetVault: Backup Process Manager and double-click on it to open its associated window. 3. In the window that appears, select the Log On tab.
4. Select the This Account option and input an eligible account name (e.g., the actual Administrator login for the machine, or another member account with the correct level of permissions). 5. In both the Password and Confirm Password fields, input the password associated with the account input in the This Account field. 6. Click the OK button to apply the change and close this window.
Figure SQ-2: Restarting the NetVault: Backup Process Manager Service
7. Back in the Services window, locate the NetVault: Backup Process Manager item and right-click on it to access its associated pop-up menu. Select the Restart command in order to restart this service. 8. Close this and all subsequent windows to complete this procedure.
SQ.1.1.b
Recommended Configuration
While it is possible to set up a single machine as both the NetVault: Backup Server and the Microsoft SQL Server (i.e., all software installation and configuration requirements outlined earlier are performed on a single machine), it is recommended that these two entities exist on separate machines. The table below displays an ideal set up for use with the MS SQL APM, including the software and configuration requirements to establish this type of environment.
Network Connection
Microsoft SQL Server Machine Software Installed/Configuration Microsoft SQL Server (ver. 7.0 or later) NetVault: Backup Server/Client Software Microsoft SQL Server APM NetVault: Backup Process Manager Service Properly Configured
NetVault: Backup Server Machine Software Installed/Configuration NetVault: Backup Server Software (with the Microsoft SQL Server added as a NetVault Client via the Client Management window of the NetVault: Backup GUI).
Important:
1. Regardless of configuration environment in place (i.e., separate NetVault: Backup Sever and MS SQL Server, vs. a single machine configured as both), the Microsoft SQL Server APM must be installed on the machine configured as the Microsoft SQL Server. 2. If the machine configured as the Microsoft SQL Server and the NetVault: Backup Server are separate machines (i.e., as recommended in the table above), the machine will need to be successfully added to the NetVault: Backup Server via the Client Management window before this operation can take place. (For details on adding a Client to a NetVault: Backup Server, please see the NetVault: Backup - Administrators Guide). 3. Example images and procedures throughout this guide assume that the two machine environment, outlined in the preceding table is in place and all of the above configuration requirements have occurred (i.e., the NetVault: Backup Server and MS SQL Server are separate machines). 4. NetVault: Backup version 7.3 offers support for the backup/restore of clustered instances of Microsoft SQL Server. NetVault: Backups Application Cluster Support Functionality is used for this purpose. For complete details on the installation, configuration and backup procedures required to set up this functionality with the Microsoft SQL Server APM, see the section, The Microsoft SQL Server APM and Application Cluster Support on page 27.
SQ.1.2
Figure SQ-3: The Client Management window of NetVault: Backup
Installation Procedure
1. From the machine acting as the NetVault: Backup Server, launch the GUI and access the Client Management window by clicking either of the Client Management buttons in the command toolbar (or select the Client Management command from the Administration pulldown menu). 2. Right-click on the NetVault: Backup machine configured as the Microsoft SQL Server in the Clients frame and select Install Software from the pop-up menu. 3. Navigate to the location of the .npk installation file (e.g., the NetVault: Backup APM Installation CD or the directory to which the file was downloaded). Select the file (e.g., mssxxxx.npk) and click on Open to begin the installation process.
Important: Based on the operating system being used, the directory path for this
installation software may vary, but the file required for this process should be entitled mssxxxx.npk (where xxxx represents various software platforms and version numbers).
Figure SQ-4: The dialog box launched upon the successful installation of the APM
4. When the installation has completed, a successful installation message will appear in the Install Software dialog box. 5. Once the OK button is clicked to close this dialog box, the APM has been successfully installed and is ready for configuration.
SQ.1.3
Figure SQ-5: The Remove Software window with the Microsoft SQL Server APM selected for removal
Figure SQ-6: The two dialog boxes issued during the removal process for this APM
3. In the Remove Software window that appears, select the MS SQL Plugin item from the displayed list and click the Remove button. 4. A dialog box will appear asking for confirmation of the remove command. Click on OK to proceed (or Cancel to abort). Clicking OK results in the removal of the software and a confirmation message will appear. Click OK to close this dialog box and return to the Client Management window.
10
SQ.2.0
Figure SQ-7: Selecting the Configure command from the pop-up menu
3. Right-click on the MS SQL APM and select Open from the pop-up menu. The APM will automatically detect all instances of Microsoft SQL on the target machine and display them accordingly. 4. Locate the desired instance in the tree and right-click on it. From the pop-up menu that appears, select the Configure command.
5. The MS SQL Configuration window will launch. This window contains two frames and an additional option. The Logon Security Mode Frame - This frame contains the following options: Windows - Select this option if the Microsoft SQL Login Security Mode is set to Windows 2000 Integrated. SQL User - Select this option if the Microsoft SQL Login Security Mode is set to Standard or Mixed. The SQL User Login Details Frame - The options in this frame will remain greyed-out and unavailable, unless the SQL User option is selected from the Logon Security Mode frame. Once this option is selected, the following options can be accessed in this frame: Login - Supply a valid name for an account which has the appropriate privileges to perform Microsoft SQL dump and load commands. Password - Supply the applicable password value for the account name input in the Login field to allow for access.
11
Instance(s) - Input the exact name of the instance of SQL in use in this field (e.g., SQLSERVER, SQLSERVER\instance2 etc.). In the event that multiple instances of Microsoft SQL are in place on the SQL Server, each can be listed in this field, separated by a comma. Each instance, as it is successfully located will be revealed in the Selections tab of the Backup window for browsing and inclusion in a backup job.
SQ.3.0
SQ.3.1
Figure SQ-9: The MS SQL APM opened to reveal the tree structure of selectable items for a backup
12
4. With the instances revealed, it is possible to perform the following: Select the Entire Instance for Inclusion Open an Instance to Display its Individual Database Components and Select the Desired Ones for Inclusion - Double-click on the desired Instance to open it. Open an Individual Database to Display its File Contents (if applicable) - By double-clicking on a database, it may open to reveal an individual file item which can be selected. These individual files will be revealed for databases that are not Simple Recovery Methods (i.e., the file is required for proper restore of the database). Navigate the tree structure and select items for inclusion as desired. 5. With desired items selected for a backup, it is recommended that a Selection Set be created. Selection Sets allow for often selected data items to be saved in a composite set that can be easily accessed for future backup jobs. This eliminates the need to manually select these items each time a backup is required. Selection Sets are not unique to the Microsoft SQL Server APM. For details on their creation and use, please see the Appendix B: Working with Selection Sets of the NetVault: Backup - Administrators Guide.
SQ.3.2
Figure SQ-10: The options available in the Backup Options tab for the Microsoft SQL Server APM
NetVault: Backup Users Guide The Backup Type Frame - This frame contains the following options:
13
Database - Complete: Performs a complete backup of the selected data. This is the equivalent of issuing the Microsoft SQL commands DUMP DATABASE or BACKUP DATABASE. File and Filegroup - Select this option to backup only the files contained in a selected database (i.e., not the databases structural information). This form of backup will allow you to perform restores of individual files and file groups, without the need to recover other database information. Database - Differential: Performs a backup of only data that has changed since the last complete backup of the selected items (i.e., a backup of the selected data has already been performed using the Database - Complete backup type). Transaction log: Select this type of backup to have NetVault: Backup remove inactive parts of logs associated with the selected data before the backup is performed. It is recommended that this form of backup be performed in conjunction with a File and Filegroup backup.
Important:
1. Prior to utilizing any of these options to generate an Incremental backup scenario (e.g., the Database - Differential and Transaction Log backup types), it is strongly recommended that the section, Phase 1: Understanding the Recovery of Various Types of Backup on page 18, be reviewed. This section provides an outline of how the sequence required for each of the available types of backup affects the restore procedure. 2. It is only possible to perform a Transaction Log type of backup for data that has had a Database - Complete or File and Filegroup backup performed on it at least once. 3. Before performing a backup of either Database - Differential or Transaction Log type, a full backup of the same data (i.e., a backup utilizing the Database - Complete backup type) must be performed. In addition, it is only possible to perform either of the aforementioned forms of backup using a Backup Selection Set. During the data selection process of the required Database - Complete backup, a Backup Selection Set is created in order to save the data selections into a set that can be accessed for use with either a Database Differential or Transaction Log backup. For complete details on the creation of a Selection Set in NetVault: Backup, please see Appendix B: Working with Selection Sets of the NetVault: Backup - Administrators Guide). 4. If the data included in a File and Filegroup type of backup is changed through Microsoft SQL use after the backup was performed, it will be necessary to perform a Transaction Log backup of this same data in order to maintain a valid date stamp. 5. The File and Filegroup, Database - Differential and Transaction Log forms of backup can only be selected as the Backup Type for either Full or Bulk Logged types of MS SQL databases. Simple databases cannot be backed up using these backup types.
14
The Transaction Log options frame - This frame is left greyed-out and unavailable unless the Transaction Log option is selected from the Backup Type frame. Once selected, the following options are available:
Figure SQ-11: With the Transaction Log backup type selected, the options in this frame are made available
Normal - Selecting this option will perform a standard Transaction log backup, but the log itself will be truncated. No Truncate - Select this option in order to avoid truncating the Transaction Logs when a backup of this type is selected. With this option, the log will be backed up even if the database becomes damaged, flagged as suspect, or has not been recovered. If New DB in Trans/Diff Backup Frame - This frame is left-greyed out and unavailable unless the Database - Differential or the Transaction Log option is selected from the Backup Type frame. Once selected, the following options are available: Ignore - Selecting this option will request that NetVault: Backup ignore any databases that have been newly created since the original Database - Complete backup of a Selection Set was performed (i.e., only the databases included in the original Database - Complete backup will be checked for new data, and only that data will be included for the backup). Do Full Backup - If new databases have been added since the initial Database - Complete backup of a Selection Set of data, selecting the Do Full Backup option will instruct NetVault: Backup to perform a full and complete backup of these new databases. Backup Method Frame - This frame contains several options that allow for the method of Microsoft SQL backup to be selected. Use Named Pipe - With this backup method selected, a backup will be performed of data selected in the Selections tab, to a named pipe. The other options in this frame only apply to the use of the other available backup method, Use Virtual Device Interface (VDI). Therefore, these additional options will remain greyed-out and unavailable when the Use Named Pipe backup method is selected. Use Virtual Device Interface (VDI) - The default setting, this backup method allows the user to take advantage of a high-performance backup (and restore) mechanism. Once selected, other fine-tuning options can be set, including those listed below:
15
Block Size (Bytes) - Available only when Use Virtual Device Interface (VDI) is selected, this field allows for the input of a device block size (in bytes). The default value for this field is 64KB (e.g., 65536 bytes). Transfer Multiple - A value input in this field is used as a multiplier for the value input in the Block Size field. The overall value of the two serves as the maximum allowable data transfer size (i.e., the Block Size default of 65536 bytes multiplied by the default Transfer Multiple of 24, results in a maximum allowable transfer size of 1.6 MBytes). Number of VDI Devices - The value input in this field determines the number of VDI devices to be used for storing the backup job. In the default setting, all backup job options have one VDI device set to the job, when the Use Virtual Device Interface (VDI) is selected. Additional VDI devices can be added; however, the minimum number of VDI device is one, the maximum number of the VDI devices added cannot exceed thirty two.
Important: It is important to note that the number of VDI devices selected is equal or less
than the number of available media or tape drive. For e.g., if the number of VDI devices selected is five, there needs to exist a minimum of five media or tape drives. Snapshot Format (Microsoft SQL 2000/2005 ONLY) - Select this option to perform a snapshot of the selected data, in which only the metadata of a selected database will be recorded to media, thereby resulting in no impact to the production system. This type of backup is useful when the selected databases for a backup are constantly in use by outside users and cannot be taken offline for a standard backup.
Figure SQ-13: The Snapshot Format option is selected and the created path, along with the complete name of the batch file to launch the snapshotting software is input
Snapshot Script (Microsoft SQL 2000/2005 ONLY) - The value input in this field corresponds to a script or batch file that will launch an external snapshotting software to be used in conjunction with NetVault: Backup via selection of the Snapshot Format option. The file itself must reside in the scripts sub-directory of the NetVault: Backup installation directory on the machine configured as the MS SQL Server (e.g., <path to installation>\NetVault\scripts). The field automatically recognizes the correct path to this directory, so it is not necessary to input this path, only the full name of the executable file. For example, if a batch file, entitled snapshot.bat were created to launch the snapshotting software, it would need to be placed in the NetVault: Backup scripts directory and the following value would be input in the SnapShot Script field to access it: snapshot.bat.
16
Important:
1. Use of the Snapshot options offered in this frame require that a third-party software capable of performing snapshots be installed and available on the Microsoft SQL 2000/ 2005 Server (e.g., if the SQL Server is a separate machine from the NetVault: Backup Server, as recommended in the installation instructions, this snapshotting software must be installed and fully configured for use on that machine). 2. If utilizing the Snapshot Format option, only complete databases can be selected for a backup in the Selections tab (i.e., individual database files within a database cannot be selected to conduct a backup of this type). 3. When establishing a script or batch file for use with the Snapshot options offered in this tab, it is critical that the file be tested beforehand to ensure that the third party software actually launches when it is accessed. It is also recommended that this test be conducted with the script/batch file placed in the .../NetVault/scripts directory. 4. After a Snapshot Format backup is performed, it is highly recommended that the Snapshot image taken be verified to ensure that it was actually generated by the third-party software used to perform the operation. 5. If additional sub-directories have been created in the NetVault: Backup scripts directory to house a created script, the value input in the Snapshot Script field must include this additional directory path along with the executable file name, as if starting from the NetVault: Backup scripts directory. In addition, directories must be followed by a forward slash (/) rather than the traditional back slash used in Microsoft Operating systems (e.g., if a series of sub-directories were created off of the scripts directory entitled mssql\batch, and the snapshot.bat batch file resides in the batch sub-directory, the following would be input in the Snapshot Script field: mssql/batch/snapshot.bat). 6. Batch/executable files, and any sub-directories created cannot contain spaces in their titles for use in the Snapshot Script field. Underscores (_) can be used in their place. Ensure that all of these do not contain spaces in their respective titles. 7. The Snapshot Format option must be selected as well as the complete command executable/batch file name input in the SnapShot Script field for the snapshot functionality to operate correctly. This also applies to additional path information if sub-directories have been created. If proper values are not input, the job will fail and a message will be displayed in the NetVault: Backup Logs stating such.
17
SQ.3.3
Important:
1. When attempting a backup operation, if a dialog box opens with a message that the database has failed to open and requests that logs be checked, make sure the correct configuration has been set and that Microsoft SQL is running on the target Client. For more information on configuration, see Configuring the Microsoft SQL Server APM on page 10. 2. It is not possible to mix a full database backup with individual items in a single job (i.e., selecting an entire database as well as individual files/filegroups from a second database in a single backup job). This will result in an error when the job is run, failing the backup job. 3. As explained in the process above, it is possible to browse the selection tree down to the file/filegroup level of a database. However, it is important to note that certain databases do not allow for browsing to this level and must be selected as a complete database for inclusion in a backup (i.e., due to the databases content/format).
SQ.4.0
Important: Microsoft SQL Server APM version 3.5 (and earlier) backups can not be
restored with version 3.6 (and later) of this APM. If it is necessary to recover a version 3.5 (or earlier) backup job, it is necessary to obtain a re-install this version of the APM (i.e., remove the 3.6 or later version). Please contact BakBone Technical Support for details on obtaining older versions of this APM.
18
SQ.4.1
SQ.4.1.a
19
2. A Database - Differential backup was then performed at a later time. This type of backup copied all activities that had taken place since the initial Database - Complete backup was performed, including new data and changes to existing. With a backup of this type, the associated transaction log was not truncated. 3. This type can be repeated in the future. All data, new or changed since the original Database - Complete backup will be included (including data stored in previous Database - differential backups). How Data is Recovered: 1. To restore the data to the point in time of the most recent Database Differential backup, first restore the Database - Complete backup as either Inactive or Read Only. 2. Next, recover the most recently performed Database - Differential backup with Set Database Active selected. Overall Outcome: Slower Backup, Fastest Recovery Transaction Log Backup and Recovery How Data was Backed Up: 1. An initial Database - Complete backup was performed in which a copy of all of the data in the selected database was generated. 2. Next, a Transaction Log backup of this same selected data was performed at a later time. This type of backup copied all activities that had taken place since the initial Database - Complete backup was performed, including new data and changes to existing. With a backup of this type, the associated transaction log was truncated. 3. Additional Transaction Log backups can be performed as desired. At this phase, this type of backup will copy only the transaction log, thereby recording all activities which have taken place since the last Transaction Log backup was performed. How Data is Recovered: 1. To restore the data to its most recent state, first recover the original Database - Complete backup with either the Set Database: NonOperational or Set Database: Read Only option selected from the Restore Options tab.
20
Operation 2. Next, recover each of the Transaction Log backups in the order in which they were backed up. Each sequential Transaction Log must be restored using either Set Database: Non-Operational or Set Database: Read Only until the final restore step when the database can be set to active (via the selection of the Set Database: Operational Restore option) if desired.
Important: Depending on the Action after restore option selected in the Restore Options
tab, a recovered database can be set to be automatically activated or not. Refer to the relevant Microsoft SQL documentation for more information on activating databases.
SQ.4.2
Important: Various restore scenarios exist based on the type of backup performed. Before attempting a restore, it is recommended that the section, Phase 1: Understanding the Recovery of Various Types of Backup on page 18 be thoroughly reviewed.
1. From the NetVault: Backup GUI, access the Restore window (i.e., by clicking either of the Restore buttons in the command toolbar, or by choosing the Restore command from the Operations pull-down menu). With the window accessed, the Selections tab will be displayed, containing a list of clients which have completed successful backups. 2. Locate the client in the list which completed the desired backup and open it (by double-clicking on it or right-click on it and choose Open from the pop-up menu). A list of the plugins used to complete successful backups on the target machine will be displayed. 3. Open the Microsoft SQL Server APM (via double-clicking on it or rightclicking and selecting the Open command) to display all backup savesets generated with this APM that are available for restore. 4. Open the desired backup saveset (by double-clicking on it) to display the list of databases available for restore. 5. Select the desired items for a restore by clicking the box to the left of the desired item. Selected items will be marked with a green check. 6. Click the Restore Options tab to display these options and set them as required (see the section, The Restore Options Tab on page 21, for complete details on the options available in this tab).
21
7. The remaining tab selections (e.g., Schedule, Target Client and Advanced Options) contain additional options that can be set as desired. The options available in these tabs are not unique to the Microsoft SQL Server APM. For more information on these tabs, see the NetVault: Backup - Administrators Guide. 8. Input a suitable name for the job in the Job Title box. It is recommended that a detailed name be used to allow for easy identification of the job in the various windows of the NetVault: Backup GUI (e.g., the Job Management window, the Job Status window, etc.). 9. Submit the restore job by clicking the Submit button.
Important: Restored databases must be brought online from within the Microsoft SQL
application if they have not been brought online automatically when the restore is complete.
SQ.4.3
Figure SQ-14: The Restore Options tab for the Microsoft SQL Server APM
22
Set Database Non-operational; More Transaction Logs can be Restored - Select this option if another transaction log or differential database backup is to be applied once this restore has completed. This is equivalent to the MS SQL command, RESTORE DATABASE WITH NO RECOVERY. Set Database Read-only; More Transaction Logs can be Restored Select this option if another transaction log or differential database backup is to be applied. The database can be read during transaction log restores; this is useful when it is necessary to check the database between transaction log restores (e.g., warm backup server situations). This is equivalent to the Microsoft SQL command, RESTORE DATABASE WITH STANDBY (i.e., restoring in Standby State).
Important: A restore of a File or Filegroup backup (i.e., as set in the Backup Type frame
of the Backup Options tab for a selected backup) cannot have the Set Database ReadOnly; More Transaction Logs can be Restored option set. The MS SQL Server software does not support this functionality for the recovery of this type of backup. Undo File - Input the complete path to the Microsoft SQL Undo file here. The Undo file is used by SQL as a point of reference when performing restores in Standby State (i.e., if the target MS SQL database is currently in Standby, this file is required by NetVault in order to properly perform the restore). This option is only used when performing a restore to a MS SQL server that is currently in Standby, therefore the field will remain greyedout and unavailable unless the Action After Restore is set to either Set Database Non-operational; More Transaction Logs can be Restored or Set Database Read-only; More Transaction Logs can be Restored.
Important: The path used in this field can be input in the Undo File for Standby Restore
field, of the MS SQL Plugin sub-tab of the Plugin Options tab located in the NetVault Configurator. By doing this, the path will automatically appear by default in this field for all Microsoft SQL Server APM restore jobs. Otherwise, you will need to manually input this complete path value on a per-restore job basis.
Figure SQ-15: The Undo File for Standby Restores field, as located in the MS SQL Plugin subtab of the Plugin Options tab located in the NetVault Configurator
Point in Time Restore - Select this option to recover a Transaction Log backup to a specific point in time (as set in the Time and Date fields).
23
Target Instance - Input the name of a different instance to which selected data is to be restored, or leave this option at its default of (local) to restore it to its original location. Qualifying entries in this field consist of either of the following: The Path to the Instance - <System name>\<instance name> The Instance Name Enclosed in Parenthesis - (<instance name>) The Restore Method Frame - This frame contains several options that allow for the method of MS SQL restore to be selected. Use Named Pipe - Select this option to perform the restore of selected data to a named pipe. With this restore method selected, all other options in this frame do not apply, so they will be revealed as greyed-out and unavailable. Use Virtual Device Interface (VDI) Select this option to take advantage of a high-performance restore mechanism. With this option selected, other finetuning options can be set, including those listed below. Block Size (Bytes) - Can be set only when Use Virtual Device Interface (VDI) is selected, this field allows for the input of a device block size (in bytes). The default value for this field is 64KB (e.g., 65536 bytes). Transfer Multiple - A value input in this field is used as a multiplier for the value input in the Block Size field. The overall value of the two serves as the maximum allowable data transfer size (i.e., the Block Size default of 65536 bytes multiplied by the default Transfer Multiple of 24, results in a maximum allowable transfer size of 1.6 MBytes). Mount Command - Use this field to input the exact path and file name of a script or batch file to be used to remount a database once the restore has completed.
SQ.4.4
Important:
1. The target server for this type of restore must have the exact same file system path as the Microsoft SQL Server that was originally backed up. For example, if the database files that were backed up existed in a directory entitled databases on the C:\ partition of the original machine, the new target machine must have this same directory set up in the same partition.
24
2. Microsoft requires the database server be in single-user mode prior to restoring a master database. Refer to the relevant Microsoft SQL documentation for more information. 3. When attempting a recovery of this type, it is recommended that only the master database be selected for this procedure (i.e., no other individual databases should be included in this type of restore). 4. Before this procedure can be successfully completed the NetVault: Backup Process Manager must be properly configured on the Microsoft SQL Server. Please see the section, Setting Up the NetVault: Backup Process Manager on page 6. 1. With the SQL Server in single-user mode, access the appropriate backup saveset containing the Master Database to select the desired data and execute the restore job (e.g., using the steps covered in the section, Restoring Data with the Microsoft SQL Server APM on page 17). 2. Once the restore job completes, it will be labelled as Job Completed in the Logs window of the NetVault: Backup GUI. However, the job has actually completed, but with warnings. This is because when the Master Database is recovered, the Microsoft SQL Server will shut down immediately and not notify NetVault: Backup of the true completion status. This is expected behavior. 3. The final action required is to restart Microsoft SQL on the target machine. Once restarted, the newly recovered Master Database will be active.
SQ.4.5
Renaming/Relocating a Restore
NetVault: Backup makes it possible to rename and/or relocate a restore item with the Microsoft SQL Server APM.
SQ.4.5.a
Renaming a Restore
Simply renaming a restore allows the user to restore a database item to its original location, but with a new name for the item. 1. From the Selections tab of the Restore window, open down to the desired MS-SQL APM backup saveset. Open the the saveset to reveal the database items contained within.
Figure SQ-17: Selecting the Rename command from the pop-up menu
2. Select the desired item by clicking the box to the left of it (selected items will contain a green check). 3. Once selected, right-click on the item and select the Rename command from the pop-up menu that appears.
25
4. The Restore Rename dialog box will appear. Click the checkbox to the left of the Rename to field in order to activate it and input the desired new name for the selected item. 5. Click on OK to commit the change (or Cancel to abort) and return to the Selections tab. The renamed item will be labelled as such.
Figure SQ-19: A renamed item as it appears in the Selections tab of the Restore window
6. With these options set as described, the selected item will be recovered to its original location, but with the newly created name value. This can be beneficial when attempting to recover a data item without overwriting an existing one. 7. Continue with normal restore selections and options (as described in the various sections above) and then submit the job.
SQ.4.5.b
Relocating a Restore
In relocating a restore, the user can restore a database item with its original name, but to a new location. 1. Repeat Steps 1 - 3 covered in the section, Renaming a Restore on page 24. 2. Click the checkbox to the left of the Relocate to field in order to activate it. Type in the path to the new directory where the item is to be restored. 3. Click on OK to commit the change (or Cancel to abort) and return to the Restore window. The relocation will be displayed for the selected data.
26
Figure SQ-20: With a valid entry input in the Restore Rename window, the item will be marked with its Relocation information in the Selections tab
4. With options set as described, the selected item will be recovered with its original name, but to the new location specified. This can be beneficial when attempting to recover a data item that may already exist by simply restoring it to a different location, thereby eliminating the possibility of an overwrite. 5. Continue with normal restore selections and options (as described in the various sections above) and then submit the job.
Important:
1. The directory signified by the path input in the Relocate to: field must exist at job run-time for a relocated restore to succeed. 2. In order to relocate a restore item to an entirely different Microsoft SQL Server, simply follow the instructions detailed above and then click the Target Client tab and select the desired Client Server from the list displayed. Clients must be successfully added to the server for them to be displayed in the list. For complete details on Adding Clients and the Target Client tab, please see the NetVault: Backup - Administrators Guide. 3. When inputting a path in the Relocate to: field, ensure that directories are separated using a back slash (\). If a forward slash is used, the relocation will fail. 4. If relocating a restore of a Snapshot backup, follow the same procedure outlined above. However, the MS SQL Server log file for the selected database must be copied from the existing directory and placed in the desired relocation directory before submitting this form of relocation restore job.
SQ.4.5.c
SQ.4.5.d
27
restored. The data file directory must be specified first, followed by the path to the log file directory. The two directory paths must be separated by comma.
Figure SQ-21: Restoring data files and log files to different locations
3. Click on OK to commit the change (or Cancel to abort) and return to the Restore window. The relocation will be displayed for the selected data. 4. Continue with normal restore selections and options (as described in the various sections above) and then submit the job.
Important:
1. The directory signified by the path input in the Relocate to: field must exist at job run-time for a relocated restore to succeed. 2. In order to relocate a restore item to an entirely different Microsoft SQL Server, simply follow the instructions detailed above and then click the Target Client tab and select the desired Client Server from the list displayed. Clients must be successfully added to the server for them to be displayed in the list. For complete details on Adding Clients and the Target Client tab, please see the NetVault: Backup - Administrators Guide. 3. When inputting a path in the Relocate to: field, ensure that directories are separated using a back slash (\). If a forward slash is used, the relocation will fail.
SQ.5.0
Important:
1. This support is offered with the Microsoft SQL Server APM version 3.7 (and later). 2. NetVault: Backup Encryption functionality is not supported for use in environments incorporating NetVault: Backups Application Cluster Support functionality. If you intend to use this support in conjunction with the Microsoft SQL Server APM, NetVault: Backups Encryption functionality must be disabled. Please see the NetVault: Backup Administrators Guide for details on disabling this functionality.
28
SQ.5.1
SQ.5.2
Important:
1. Unless outlined in the sections that follow, backups and restores performed with the Microsoft SQL Server APM of clustered data are the same as those performed with traditional Microsoft SQL data. 2. The following sections of this guide only offer information on Microsoft SQL-specific settings required for the use of this APM in a clustered environment. They do not offer instructions on how to set up NetVault: Backups Application Cluster Support to administer backups/restores of a cluster. This process is not APM-specific and complete details can be found in Appendix E: NetVault: Backups Application Cluster Support of the NetVault: Backup - Administrators Guide for version 7.3.
29
3. Prior to viewing the contents that follow, it is strongly recommended that Appendix E: NetVault: Backups Application Cluster Support of the NetVault: Backup - Administrators Guide for version 7.3 be thoroughly reviewed to obtain a better understanding of how the information presented here works in conjunction with the Application Cluster Support functionality.
SQ.5.3
SQ.5.3.a
Installation
Pre-Requisites
The following pre-requisites must be met before it is possible to install the Microsoft SQL Server APM in a clustered environment: Microsoft SQL Clustered Environment in Place - You must have a properly configured clustered environment, capable of using the cluster version of Microsofts SQL database software. Only versions of Microsoft SQL Server that are designed for use in a clustered environment can be used. Cluster Friendly Version of the APM Obtained - At least version 3.7 of the Microsoft SQL Server APM must be obtained for use in the creation of a Virtual Client. It is not possible to use an older version of the Microsoft SQL Server APM in a clustered environment. Separate NetVault: Backup Server Machine - The machine that is to serve as the NetVault: Backup Server must be properly configured and it must exist outside the cluster, but have network connectivity to the machines within the cluster.
SQ.5.3.b
Installation Procedure
Installation of the Microsoft SQL Server APM for a clustered environment is different than the traditional installation of this APM. This process is completed through the creation of a Virtual Client on the NetVault: Backup Server. Simply put, a Virtual Client is a group of machines within the cluster that are seen by the NetVault: Backup Server as a single client, that is created to backup a single clustered resource (e.g., a shared disk drive or, in the case of this APM, a shared instance of Microsoft SQL). During the Virtual Client creation process, the Microsoft SQL Server APM is transferred from the NetVault: Backup Server to selected member clients within a cluster and installed there.
30
Figure SQ-22: A Virtual Client that has been set up with the same name as its associated instance. This way, the correct instance can be easily identified for selection
Assign a Suitable Name to the Virtual Client - It is highly recommended that a name be given to the Virtual Client that points out the shared Microsoft SQL Server instance for which it was created. When a Virtual Client is browsed, NetVault: Backup will locate the cluster client currently in control of the clustered application, and reveal all of its Microsoft SQL Server contents, even if these instances are not shared (e.g., in the Selections tab of the Backup window, when a Virtual Client is opened, not only will the shared Microsoft SQL instance be revealed, but any other instances that currently exist on the target machine will be shown as well). With a Virtual Client name set up to be the same as or similar to the shared instance, it will be easy to recognize the specific Microsoft SQL Server instance for which the Virtual Client was created. Only Include Relevant Cluster Clients in the Virtual Client - The member clients that are to be included in the creation of a Virtual Client should only be those within the cluster that are relevant to the application that is to be backed up/restored (e.g., if only two machines within a cluster administer the shared Microsoft SQL Server instance, only these two machines should be included).
SQ.5.4
Backup/Restore Scenarios
As covered in the previous section, after the creation of the Virtual Client, the APM is transferred to all designated cluster clients and installed locally. The installed Microsoft SQL Server APM can be used via the Virtual Client to backup/restore shared data and it is also possible to use the APM to backup/restore Microsoft SQL Server data that is local to each member client. With this in mind, it is necessary to determine the desired backup/restore scenario for use. Scenario A: Backup and Restore of Shared Data Only - Only backups/ restores of data established as shared within the cluster can be performed. Scenario B: Backup and Restore of Shared Data and Local Data Backups/restores of both the shared data between cluster Clients, and Microsoft SQL Server data that is local (i.e., not shared) on each individual member client. With a scenario decided upon, continue on to the following sections which address the set up and use of this APM in a clustered environment.
Important: Hereinafter, each scenario type will be referenced by its letter title when called
out (e.g., Scenario A).
31
SQ.5.5
Licensing
Another difference between using the Microsoft SQL Server APM in a clustered environment is how it is licensed for use. The licenses required vary, based on the type of scenario that is to be used in backing up/restoring data (i.e., as covered in the section, Backup/Restore Scenarios on page 30). With the desired scenario selected, license keys can be obtained from BakBone Softwares Order Administration department. Complete details on the licensing process, including how to obtain the proper license keys can be found in the section, Licensing a Virtual Client of Appendix E: NetVault: Backups Application Cluster Support in the NetVault: Backup Administrators Guide for version 7.3.
Important:
1. Once a Virtual Client is created using the Microsoft SQL Server APM, it is installed with a 45 DAY evaluation license that allows for full usage. For this 45 day period, no license keys are required for the use of this APM, and either of the previously outlined Backup/Restore scenarios can be employed. Upon expiration of this trial period, one of the two aforementioned scenarios must be decided upon and license keys obtained accordingly. 2. In the event that an older version of the Microsoft SQL Server APM was already installed on a machine within the cluster, the version of the APM installed with the creation of a Virtual Client will overwrite this existing version. However, license keys in place for the existing APM are still valid. Therefore, Scenario B outlined in the previous section can be used without the need to obtain additional license keys for the backup/restore of local, non-shared data.
SQ.5.6
Configuration
Complete configuration of the Microsoft SQL Server APM for use in a clustered environment depends on the backup/restore scenario selected for use. The points below separate the configuration requirements, based on scenario type in place:
Important:
1. Configuration of the APM in a clustered environment which houses multiple instances of Microsoft SQL Server requires additional steps. Please see the section, Configuration Requirements on page 36 for this additional information. 2. This section assumes that a Virtual Client has already been created for use with the Microsoft SQL Server APM.
32
SQ.5.6.a
Important: Even though a Virtual Client is created for a specific, shared Microsoft SQL Server instance, all instances currently running on the machine in control of the clustered application will be revealed when the Virtual Client is browsed. Ensure that the correct shared Microsoft SQL instance is selected for the above step. This can be resolved by naming the Virtual Client to match the shared instance during its creation. Please see the section, Installation Procedure on page 29 for detailed information.
5. In the window that appears, set the desired configuration options. The options available are exactly the same as those covered in the section, Configuring the Microsoft SQL Server APM on page 10. 6. With the desired options set, click on the OK button to confirm the settings and close this window.
SQ.5.6.b
33
3. Right-click on this client and select Open from the pop-up menu (or doubleclick on the Client node). 4. Locate the desired database instance and right-click on it. From the pop-up menu that appears, select the Configure command.
Important:
1. In the same manner as a Virtual Client, once a member Client machine is opened, both the local Microsoft SQL Server instance(s) and those that were established as shared will be revealed. During this phase of configuration, shared instance must not be selected for configuration. Configuration of the shared instance has already been set up via the Virtual Client (i.e., in Step 1., above). 2. Microsoft SQL Server APM configuration options are set on a per instance basis. If a member Client machine contains multiple, non-shared instances that are to be backed up, it is necessary to follow these steps to set configuration options for each one. 5. In the window that appears, set the desired configuration options. The options available are exactly the same as those covered in the section, Configuring the Microsoft SQL Server APM on page 10. 6. With the desired options set, click on the OK button to confirm the settings and close this window.
SQ.5.7
Backup
Backing up data using the Microsoft SQL Server APM that has been set up for use in a Virtual Client is relatively simple. The only difference that should be noted is between the backup of shared data through the Virtual Client itself, and the backup of local, non-shared data on the individual member client machines. Backup of a Virtual Client - The Microsoft SQL Server APM is accessed from the Virtual Client itself and the instructions offered for a backup in Appendix E: NetVault: Backups Application Cluster Support of the NetVault: Backup - Administrators Guide for version 7.3 should be followed when backing up a Virtual Client.
34
Important: When browsing a Virtual Client in the Selections tab, NetVault: Backup will
reveal all Microsoft SQL Server data available on the machine that is currently in control of the clustered application (i.e., Microsoft SQL Server). This includes both the shared data, and any non-shared, local data on the machine. Only data items that have been established as shared within the cluster should be selected when performing a backup of the Virtual Client (i.e., do not select any non-shared data items when backing up a Virtual Client). Backup of Local, Non-Shared Microsoft SQL Data - Backup of this type of data is performed by accessing the Microsoft SQL Server APM on the actual member Client machine, in the same manner as a traditional Microsoft SQL Server APM backup. Therefore, the instructions offered in this Users Guide can be used for the backup of local, non-shared data. See the section, Backing Up Data with the Microsoft SQL Server APM on page 11 of this guide for complete details on performing a backup of this type.
Important: In the event that a member Client machine targeted for a backup is currently in control of the clustered application, all data items established as shared will be revealed when the client is browsed in the Selections tab of the Backup window. If targeting a member Client machine, ensure that shared data is not selected for a backup.
SQ.5.8
SQ.5.8.a
Figure SQ-23: Even though an individual Client machine was actually used for each backup, the restore is classified under the name of the Virtual Client in the Restore window
Restore
Restoring a Virtual Client Backup
Restoring a backup of a Virtual Client is conducted in the same manner as a restore performed to a traditional NetVault: Backup Client. All options available for a restore with the Microsoft SQL Server APM are also available with the cluster Friendly version, and data selection is performed in the same way as well. The only difference is that restorable backups of a Virtual Client are displayed in the Selections tab of the Restore window under the name of the Virtual Client, not the specific Clients that were active during each backup. When a restore job is initiated, NetVault: Backup will communicate with all member Clients, to determine which machine is currently in control of the clustered application and target this machine for the restore. All of the instructions offered in this Users Guide in reference to performing a restore can be used in the recovery of a Virtual Client. Please see the section,
NetVault: Backup Users Guide Restoring Data with the Microsoft SQL Server APM on page 17 for complete information on restoring a Microsoft SQL Server APM backup.
35
SQ.5.8.b
SQ.5.9
SQ.5.9.a
Installation Requirements
In addition to the procedures outlined in the section, Installation on page 29 and those covered in Appendix E: NetVault: Backups Application Cluster Support of the NetVault: Backup - Administrators Guide for version 7.3, in regards to creating a Virtual Client, the following steps must also be performed to successfully establish a Virtual Client in a clustered environment containing multiple shared instances. Step 1: Assign an IP Address to Each Instance - During the installation/ configuration of Microsoft SQL Server, it is necessary to assign an individual IP address to each separate instance of Microsoft SQL Server that will exist within the cluster. Be sure to take note of this IP address in regards to the instance to which it belongs. Step 2: Make Note of the Name Given to Each Instance - Prior to creating the Virtual Client, note the name of each Microsoft SQL Server instance that exists as shared within the cluster and is to be backed up/restored. Be sure to associate this name with the proper IP address.
36
Figure SQ-24: Creation of a Virtual Client for the first instance of Microsoft SQL Server in a clustered environment that contains two instances
Step 3: Create an Individual Virtual Client for Each Instance - For each instance of Microsoft SQL Server within the cluster, create a separate Virtual Client. During the creation process, ensure that the following are included: The Noted IP Address - In the Application IP Address field of the NetVault: Backup Virtual Client Installation window, input the IP Address assigned to the appropriate instance of Microsoft SQL. For example, if creating the first of two Virtual Clients for a clustered environment, the IP address assigned to the first instance would be input. Give a Name to the Virtual Client that Corresponds to the Instances Assigned Name - Input a name value in the Virtual Client Name field that will associate this Virtual Client with the specific instance. With the completion of the first Virtual Client, continue this process for all remaining instances of Microsoft SQL Server, ensuring that the proper IP address is assigned and an appropriate name is given.
Important: With the Virtual Client properly set up for use as instructed above, specific
configuration and backup instructions must also be followed in order to ensure that the proper Microsoft SQL Server instance is included in a backup job. Please thoroughly review the following Configuration Requirements (on page 36) and Backup Requirements (on page 37) sections to ensure that these steps are followed.
SQ.5.9.b
Configuration Requirements
Once the proper installation steps for this environment have been followed (i.e., as outlined in the section, Installation Requirements on page 35), it is necessary to set configuration options for each individual Virtual Client created. Regardless of backup/restore scenario in place, the following steps must be performed to ensure proper configuration of each instance. 1. From the GUI on the NetVault: Backup Server, access the Backup window. 2. In the Selections tab, all of the newly created Virtual Clients will be revealed. Locate the one that was set up for the first instance of Microsoft SQL Server and double-click on it to open it (or right-click on it and select the Open command from the pop-up menu).
NetVault: Backup Users Guide 3. Locate the MS SQL icon and double-click on it to open it.
Figure SQ-25: Two Virtual Clients created for two separate instances of Microsoft SQL Server, each with names assigned to match their corresponding instance. In this figure, the applicable instance is selected for configuration
37
4. All of the instances of Microsoft SQL Server within the cluster will be revealed (i.e., even though this Virtual Client was created specifically for the first one). Locate the first instance in the tree -- if the installation process illustrated in a previous section was followed correctly, this instances name should be similar to the name of the Virtual Client itself. Right-click on this instance and select Configure from the pop-up menu. 5. Configuration options can be set as desired in the same manner as covered in the standard Virtual Client configuration instructions above. 6. With configuration set for the first instance of Microsoft SQL Server in its corresponding Virtual Client, it is now necessary to repeat the process for all remaining instances. Repeat steps 2 - 5 for all remaining instances, ensuring that the proper instance is selected for each Virtual Client. For example, using the figure above, two Virtual Clients were created for two instances of Microsoft SQL Server. With the first configured, it would now be necessary to open the Virtual Client entitled MS_SQL_Instance_2 and then right-click on the second instance in the list (e.g., the one whose name is the same as or similar to the name of the Virtual Client, itself) in order to access its pop-up menu and the Configure command.
Configuration Synopsis
As multiple Virtual Clients are created, individual configuration files for each are then created and housed on the NetVault: Backup Server. As each Virtual Client is backed up/restored, its specific configuration file is referenced to review and apply these settings.
SQ.5.9.c
Backup Requirements
In much the same manner as illustrated in the configuration of multiple Microsoft SQL Server instances (on page 36), it is important that the correct instance be selected from a Virtual Client in order to accomplish a successful backup of that specific instance. For example, using the same example set up shown in the configuration section: Two Virtual Clients are created for two separate instances of Microsoft SQL Server that exist in the cluster. Each Virtual Client has been assigned a name that corresponds to it associated instance. From the Selections tab of the Backup window, the following would take place: 1. It has been decided that the first instance of Microsoft SQL Server is to be backed up. The Virtual Client that was created for the first instance must be accessed. This Virtual Client was named based on the name assigned to the
38
first instance by Microsoft SQL Server (i.e., as outlined in the installation instructions on page 35), which is MSSQL_Instance_1. Therefore, the Virtual Client of the same name is double-clicked to open it.
Figure SQ-26: In an environment in which multiple instances of Microsoft SQL Server exist within a cluster, the correct instance is selected from its associated Virtual Client
2. Locate the MS SQL icon and double-click on it to open it. 3. Once opened, all available instances are revealed. To perform a successful backup, the correct one must be selected. Therefore, the instance whose name corresponds to the name of the Virtual Client should be selected. 4. With the correct instance selected, the backup can be performed in the same manner as a traditional Microsoft SQL Server APM backup (i.e., the instructions offered in the section, Backing Up Data with the Microsoft SQL Server APM on page 11 of this guide can be utilized).
Important: It is not necessary to select an entire instance when backing up in this manner. The instance can be opened and individual databases can be selected. However, the correct instance must be identified and then opened to select its individual contents. SQ.5.9.d Restore Requirements
There are no specific requirements for the restore of data in a multiple instance environment. Provided the previous three sections were followed correctly, backed up data of this type should be restored the same as any other Microsoft SQL Server APM data.
39
SQ.6.0
Troubleshooting
The following table describes commonly encountered problems and possible solutions. In cases where an error occurs and is not described in this table, view the job log to extract the Microsoft SQL Server error number and then refer to the relevant Microsoft SQL Server documentation for the resolution.
Symptom Cannot open the APM to display the databases Differential backup failed or Transaction Log backup failed Reason/Symptom Solution
A NetVault: Backup error dialog Make sure the security has been box will launch containing the properly set for the APM. message: Failed to open database - check LOGS for errors. For SQL 7.0: Differential and Transaction Log backups are not allowed while the trunc. log on chkpt option is enabled. Use Database - Complete backups or disable the option in database properties. For SQL 2000/2005: Differential and Transaction Log backups are not allowed while recovery model is set to Simple in database controls. Use either Database Complete backups or change the databases recovery model. Login failed for user <username> Disable the log truncation action; this can be done through the SQL Enterprise Manager by changing the database option Truncate Log on Checkpoint or by using the sp_dboption system stored (SQL) procedure for the option trunc.log on chkpt for the database in question to FALSE (refer to Transact-SQL Help) and/or set the databases recovery model to other than Simple.
Backup failed
Make sure the password for the APM has been entered correctly.
40
Symptom
Reason/Symptom
Solution Method 1: Access the Device Management window of the NetVault GUI and perform a scan of the media targeted by the job (i.e., by rightclicking on a the target media and selecting the Scan command from the pop-up menu). NetVault stores index information for backup jobs in two locations: in the NetVault Database and on the media targeted by the backup. By performing this scan, the index information will be added to the NetVault Database. To verify this, open the Restore window and locate the specific job. If it can be browsed and a restore job set up, the scan process has corrected the problem. Method 2: If the previous method failed, it will be necessary to re-run the backup job.
Backup Once this status is revealed for Completed with backup, check the NetVault Log Warnings entries for the job to see if they display one or both of the following messages: Failed to add backup record Failed to write index of backup to the database These messages indicate that the selected data was actually backed up, but the jobs index information was not properly added by NetVault to its database. Without this index information, the data can not be properly restored.
Backup Backup and restore operations are Exclude the tempdb database Completed with not allowed on database when selecting data for backup or Warnings tempdb. restore. Restore failed Can only restore one database at Run a job for a single item only, or once, resubmit the restore job with upgrade to version 3.7 of this APM only one item selected. (this issue has been resolved).