6.5backuprestoreguide For Netbackup
6.5backuprestoreguide For Netbackup
6.5backuprestoreguide For Netbackup
Release 6.5
Technical support
For technical assistance, visit http://entsupport.symantec.com and select phone or email support. Use the Knowledge Base search feature to access resources such as TechNotes, product alerts, software downloads, hardware compatibility lists, and our customer email notification service.
Contents
Chapter 1
Chapter 2
Chapter 3
Chapter
Overview
NetBackup lets you back up, archive, and restore files, folders or directories, and volumes or partitions that reside on your computer. The computer that needs the backup or restore is the client; the computer that manages the backup and retrieval of the data is the server. Backups and Archives Backup, Archive, and Restore is your interface to the NetBackup client software on your computer. When you start a backup or an archive operation, your computers client software sends the data to be backed up to the NetBackup server. The server then writes the data to a storage device. Restores When you start a restore operation, the client software on your computer requests the data from the NetBackup server. The server then sends the data to the client so it can be restored. Policies The NetBackup administrator configures the policies that define the rules that NetBackup follows when it backs up clients. The policies include schedules for automatic, unattended backups of the NetBackup clients (server-directed backups). Policies also define when you can back up and restore files manually (user-directed operations). For example, the time range in which you can perform user-directed operations (your user window) is from 8 am to 6 pm. You
cannot back up or archive at any other time (although, you can restore at any time). Backup images NetBackup stores all of the backup job files (either server-directed or user-directed) in a backup image. When you restore files, you select the items to restore from a backup image or from multiple backup images. Backup images can expire after a certain amount of time (configured by your NetBackup administrator). If a backup image expires, you cannot see or restore its files.
Installs and configures the client software and the Backup, Archive, and Restore interface on the computers that are backed up in your computer environment. Configures the client software to work with the NetBackup servers in your environment.
If user-directed operations are allowed in your NetBackup environment, you should not have to configure Backup, Archive, and Restore so it functions properly. The NetBackup administrator normally configures and changes Backup, Archive, and Restore. If you have to change the configuration, consult your NetBackup administrator.
Information about restore destinations, restore options, and restoring from specific dates Procedures for other restore operations:
Restoring from raw partition (UNIX) and disk image (Windows) backups Restoring from true image backups Restoring from Veritas Backup Exec backups Restoring by proxy (Windows) Redirecting restores to different clients (administrators only)
Procedures to locate the items you want to restore Procedures to specify other backup servers (if allowed in your environment) A reference that describes windows, menus, and dialog boxes.
You can open help from the Help menu or from Help buttons in dialog boxes.
Chapter
Setting up your window manager on page 11 Starting Backup, Archive, and Restore on page 12 Backing up or archiving files, directories, and partitions on page 13 Starting from a Windows system on page 26 Other UNIX interfaces on page 26
12 Getting started with UNIX and Linux Starting Backup, Archive, and Restore
3 4 5
In the Style Manager - Window dialog box, click the Click In Window To Make Active button. Click OK. Click OK when asked to Restart the Workspace Manager.
Motif set up
When you use the Motif window manager, set the Mwm*keyboardFocusPolicy X resource as follows:
Mwm*keyboardFocusPolicy:explicit
In the Login dialog box, enter the name of the client where you want to perform the backup, archive, or restore. You must have a valid user account on that client and have access to that client. Enter your user name. Enter your password. Click Login.
4 5 6
For a description of the Backup, Archive, and Restore interface and directions about how to use it, see the help. For information about jbpSA command options, see the jbpSA(1) man page.
Getting started with UNIX and Linux Backing up or archiving files, directories, and partitions
13
A back up copies the selected items. An archive copies the selected items and then deletes the items from the source drive after they are backed up to the destination drive. For more information about how to use Backup, Archive, and Restore, see the online help. To back up by using Backup, Archive, and Restore 1 Click the Backup Files tab. The title bar of the tab displays the names of the server, source and destination clients, and policy that NetBackup used for the operation.
Select the items that you want to back up. To select an item, check the check box to the left of the item. A check mark indicates that an item is selected; a diagonal slash mark indicates that only some items within a folder or directory are selected. You can select items in the All Folders or Directory Structure pane or in the Contents pane. Click Backup.
14 Getting started with UNIX and Linux Backing up or archiving files, directories, and partitions
NetBackup Server To change which NetBackup server performs the backup operation, select a different server from the drop-down list. Generally, you do not need to specify a different master server. If you have the option to send your backups to more than one master server, ensure that you specify the correct one. Archive files (delete files after successful backup) To delete the items automatically from the source drive after they back up successfully, select this option. Keyword phrase to associate with this backup or archive (optional) To link a keyword phrase to the backup, enter a keyword phrase. When you restore files, you can search by keyword for the items that were backed up. Use default progress log filename
Getting started with UNIX and Linux Backing up or archiving files, directories, and partitions
15
To write the backup progress messages to a log file other than the default, deselect Use default progress log filename. Then enter the name of the alternative progress log in the Progress log filename field. 5 6 Click Start Backup. In the dialog box that appears, click Yes to open the Task Progress tab to view the progress of the operation.
The operation may take a few minutes to complete. You can close Backup, Archive, and Restore after starting a backup operation. NetBackup continues the backup operation in the background.
16 Getting started with UNIX and Linux Restoring files, directories, and partitions
2 3 4
Select Normal Backups or Archived Backups from the Restore Type list box (depending on whether you restore from a normal backup or an archive). Click View > Refresh. The items you can restore appear in the Contents pane. Select items to restore.
Getting started with UNIX and Linux Restoring files, directories, and partitions
17
To select an item, click the check box to the left of the item. A check mark indicates that you have selected an item. A diagonal slash mark indicates that you selected only a subset of files within a directory or folder. You can select files in the Directory Structure pane or the Contents pane. 5 To preview a list of the media that NetBackup needs to restore the files, click Preview. If the restore requires the NetBackup images that reside on disk storage units, no media is listed in the preview. Click OK to close the dialog box. Click Restore. The items that you marked for restore appear in the dialog box.
18 Getting started with UNIX and Linux Starting from a Windows system
Restore individual directories and files to different locations The default selection is Restore everything to its original location. 8 Select restore options:
Overwrite the existing file Restore directories without crossing mount points Restore without access control attributes Rename hard links Rename soft links
You can write the progress messages to a log file other than the default. Remove the check next to Use default progress log filename and then enter the name of the alternative progress log.
10 Click Start Restore. In the Task Progress tab that appears, click Yes to view the progress of the restore. The restore may take a few minutes to complete. After you start a restore operation, you can close Backup, Archive, and Restore and perform other tasks. NetBackup continues the restore operation in the background.
3 4
19
Click Login.
Menu user interface. You can use the menu interface on any terminal that can connect to a client system. The bp command starts the menu interface program. For information about how to use the menu user interface, see the bp(1) man page and the help in the interface. Commands. Commands let you perform backup, archive, restore operations from a shell prompt. For command information, see the NetBackup Commands for UNIX.
You can perform user-directed operations through any of these interfaces. However, Symantec recommends that you use the Backup, Archive, and Restore interface for user-directed operations.
Chapter
Starting Backup, Archive, and Restore on page 21 Backing up or archiving by using Backup, Archive, and Restore on page 22 Backing up by using Windows Explorer on page 24 Backing up by using NetBackup Bin on page 24 Restoring files, folders, and volumes on page 26
On the Windows Start menu, click Programs > Veritas NetBackup > Backup, Archive, and Restore. If NetBackup Access Management is used to control access to your NetBackup environment, you may be required to enter a user name, password, and domain information.
For a description of the Backup, Archive, and Restore interface and directions about how to use it, see the help.
22 Getting started with Windows Backing up or archiving by using Backup, Archive, and Restore
Getting started with Windows Backing up or archiving by using Backup, Archive, and Restore
23
To select an item, check the check box to the left of the item. A check mark indicates that an item is selected; a diagonal slash mark indicates that only some items within a folder or directory are selected. You can select items in the All Folders or Directory Structure pane or in the Contents pane. 3 On the Actions menu, click Backup. The Specify Backup Options dialog box appears.
NetBackup Server To change which NetBackup server performs the backup operation, select a different server from the drop-down list. Generally, you do not need to specify a different master server. If you have the option to send your backups to more than one master server, ensure that you specify the correct one. Archive files (delete files after successful backup) To delete the items automatically from the source drive after they back up successfully, select this option. Keyword phrase to associate with this backup or archive (optional) To link a keyword phrase to the backup, enter a keyword phrase. When you restore files, you can search by keyword for the items that were backed up.
5 6
Click Start Backup. In the dialog box that appears, click Yes to open the View Status dialog box to view the progress of the operation.
The operation may take a few minutes to complete. You can close Backup, Archive, and Restore after starting a backup operation. NetBackup continues the backup operation in the background.
META
Notes:
25
Note: To use NetBackup Bin, NetBackup Explorer Extensions must be installed in your NetBackup environment and must be enabled. To enable this feature, click NetBackup Explorer Extensions from the Backup, Archive, and Restore File menu. To back up a file using NetBackup Bin 1 2 3 4 5 Open Windows Explorer. (On the Windows Start menu, click Programs > Accessories > Windows Explorer.) Find and select the file or folder you want to back up. Drag the file to the NetBackup Bin icon on your desktop or to the NetBackup Bin folder in Windows Explorer. Right-click the NetBackup Bin icon on your desktop or the NetBackup Bin folder in Windows Explorer and click Backup Now. In the dialog box, click Yes to begin the backup operation. To show the progress of the backup operation, click Automatically Show Progress Log before you begin the backup operation.
To view the files in the NetBackup Bin folder, double-click the NetBackup Bin icon on your desktop. You also can right-click the NetBackup Bin folder in Windows Explorer. Then click Open.
27
To select an item, click the check box to the left of the item. A check mark indicates that you have selected an item. A diagonal slash mark indicates that you selected only a subset of files within a directory or folder. You can select files in the Directory Structure pane or the Contents pane. 4 To preview a list of the media that NetBackup needs to perform the restore, click Actions > Preview Media. If the restore requires the NetBackup images that reside on disk storage units, no media is listed in the preview. Click OK to close the dialog box. On the Actions menu, click Start Restore of Marked Files. The items that you marked for restore appear in the dialog box.
Restore individual directories and files to different locations The default selection is Restore everything to its original location. 7 Select restore options:
Restore without access control attributes Overwrite the existing file Restore the file by using a temporary filename
Do no restore the file The default selection is Do not restore the file.
8 9
Click Start Restore. In the View Status dialog box that appears, click Yes to view the progress of the restore.
The restore may take a few minutes to complete. After you start a restore operation, you can close Backup, Archive, and Restore and perform other tasks. NetBackup continues the restore operation in the background.