Carrying out your first tape backup and restore

Data Protector Express Tutorial 2 Carrying out your first tape backup and restore What’s in this tutorial? When you have read this tutorial, you will...
Author: Brendan Douglas
1 downloads 0 Views 636KB Size
Data Protector Express Tutorial 2 Carrying out your first tape backup and restore

What’s in this tutorial? When you have read this tutorial, you will be able to: • • •

Find your way around Data Protector Express Carry out your first backup to tape Carry out your first restore from tape

Part Number: BB116-90028 First Edition: September 2006

Starting Data Protector Express

2

Starting Data Protector Express After you have installed Data Protector Express, you start it like any other program. Windows To start Data Protector Express in Windows, double-click the Data Protector Express shortcut on the desktop. You can also click the Start button and select HP from the Programs (or All Programs) submenu. Then select Data Protector Express. Linux To start Data Protector Express on a Linux machine, open a terminal window. Then access the directory where you installed Data Protector Express. Type ./dpadmin. For example: [/usr/local/hp/dpx]# ./dpadmin On Linux systems, you can create a shortcut on your KDE or GNOME desktop. (See the Data Protector Express Installation Guide for more information.) NOTE: These tutorials use the graphical user interface available on Windows and Linux systems. The console interface operates similarly on Windows, NetWare and Linux systems.

Login Screen The default user name for the Data Protector Express administrator is Admin. There is no default password required for this user to log on. Click OK to accept the user name and password.

NOTE: Although we will accept the default login for the purposes of our step-by-step instructions, we strongly recommend that you assign a password before you start to use Data Protector Express on a regular basis, particularly if you are in a multi-user environment. See “ How do I create or change my password?” in Tutorial 4.

Tape backup and restore

3

Navigating Data Protector Express Each time you start Data Protector Express, you are shown the Main Data Protector Express window.

Menu bar Click to display dropdown menu

Task and information pane Tasks and information relevant to your current selection

Tool bar Tools relevant to the current selection

Favorites desk bar Short cuts to favorite tasks & commands

Detail area Details relevant to your current selection

Administration Click here for short cuts to Admin tasks and commands.

Status bar Information about current user, domain and machine. Alerts also appear here.

Navigating Data Protector Express

4

Detail area The Detail area is your main working area. Spend a few minutes seeing how the Detail Area changes according to the selections that you make in the Desk bar and the Task and Information pane. For example: • •

Note how the desk bar is not always visible. For example, it is not relevant when you are working through a wizard, so the left-most pane contains the Task and Information pane. If you prefer or need to work with a hierarchical (tree) view of the objects click the Folders button in the tool bar.



Have a look at the Help in the Task and Information pane.

The backup and restore examples in this chapter give you the opportunity to find your way around Data Protector Express in a structured fashion. We will use two buttons, Home and Folders, in the tool bar to organize and display objects in the Detail Area.

Home button When you create your jobs and define your media, they are recorded by default as objects in the Home folder. This means you can access them easily by just clicking on the Home button. The Home folder is not a folder on your disk, but a view of information inside Data Protector Express. As in any folder structure, we recommend that you create additional folders within the Home folder to organize related objects. In our examples we will create folders for backup media and folders for different types of backup jobs. Once you have created an object in the Home folder, just right-click on it to display a drop-down menu with relevant commands. For example, once you have created your backup job, you can run it any time.

Folders button When you click on the Folders button in the tool bar, Data Protector Express displays a tree hierarchy showing all the objects that have been created or defined within the Detail Area. This includes backup media and the files on them, tape drives, network servers, backup jobs, restore jobs, and so on. This hierarchy represents Data Protector Express’s catalog, which is its mechanism for tracking objects together with associated security information. If you are responsible for administering Data Protector Express, you will need to understand the catalog and how it is linked to a Storage Management Domain. These concepts are beyond the scope of this guide, but are described in detail in the User’s Guide and Technical Reference.

Tape backup and restore

Backup to Tape The following steps will enable you to carry out your first simple backup to tape. 1. Make sure the tape drive is powered up and insert a blank cartridge into the tape drive. You do not need to format the cartridge. Data Protector Express will do that, if necessary, when it runs the job. 2. Run Data Protector Express and log in. (Dismiss the Tips dialogue.) 3. Select Wizards in the Favorites desk bar and double-click Backup in the Detail Area.

5

Backup to Tape

6

4. Double click Backup Specific in the Detail Area.

5. At the Welcome prompt give the backup job a name, such as “My First Backup” and click Next.

6. Now you are ready to select folders and files for backup. If necessary, open Folders in the Detail Area (by clicking on the Folders icon in the Toolbar) and navigate down the network, machine and filing system to locate the files that you wish to back up, for example the Documents and Settings folder. Check the box to select the files/folders to be backed up. By checking the Documents and Settings folder, we are selecting all its sub-folders and the files in them.

TIP: Look at the Tasks and Information pane. Note how the Steps section shows all the steps in this wizard and highlights your current position.

Tape backup and restore

7. Now you need to select your tape drive and media for backup. Click Next to move to the Device Options step.

NOTE: Data Protector Express Storage Domain\Network is the default entry in the list of devices. If you leave the default, the software will scan all devices on your network for the appropriate backup device. However, for our example, we want to specify the tape drive for this job. 8. First, we will remove the default device to be used. Select Data Protector Express Storage Domain\Network and click Delete. Click Yes at the prompt.

9. Click Add… in the Devices to be used section. (Enable tape devices is a default setting and should already be checked.)

7

Backup to Tape

8

10. Navigate down the network, machine and devices to locate your tape drive. Select the tape drive and click OK.

Devices to be used now contains only the tape drive.

11. We will now do a similar exercise for the Media to be used. This is the location from where the media is taken. Although Data Protector Express will scan for appropriate media in the default location, it is good practice to organize the media in folders and specify appropriate ones for each backup job that you create. 12. First we will delete the default media location. Select Home\Admin, click Delete followed by Yes.

13. Now click Add… to add a new media folder.

Tape backup and restore

9

14. If necessary, open Folders in the Detail Area (by clicking on the Folders icon in the Toolbar) and select Home/Admin. (All our jobs will be stored in the Admin folder because we logged in as Administrator, so it is tidier to also store media for those jobs under the Admin folder.) Click on New in the Commands pane and create a Folder called “Tape Media”. Click OK.

15. This opens the Properties dialogue for the media folder that you have just created. Click OK to close it. (The folder will initially be empty; the job creates a new media when it runs.)

16. Select the Tape Media folder and click OK.

Backup to Tape

10

17. Media to be used now contains the selected folder.

18. We now need to specify auto format options. Again, it is good practice to define a new media location for the media and give it a meaningful name. This is the place where the job will store the media if it creates a new media. NOTE: When you run the job, Data Protector Express will create an object for the media so that you can see it in Home. Using a folder hierarchy under Home makes it easier to locate specific objects. 19. In the Auto Format section, accept Auto format all media. Click on the Browse (the magnifier) icon to display the Select Folder dialogue. Select the new folder that we have just created and click OK.

20. Give the media a name, such as “Media for My First Backup.” (You can also add a password, if required.) The Device Options screen should now be similar to the following.

Tape backup and restore

21. Click Next to move to the Job Options step. In Modes select: Backup mode = Full Auto verify mode = No verify Write mode = Overwrite all media Span mode = Restart file Change mode = Prompt for another media. In Compression, select Software compression = None Hardware compression = Compressed.

22. Click Next to move to the Schedule Job step. Ensure the Schedule type is Run now.

11

Backup to Tape

12

23. Click Finish to complete and run the backup job. Click Yes at the prompt to see the new job in your Home folder.

24. In your Home folder, select the name of the first backup job. For a status overview of its first run, look at the information in the Details pane.

Tape backup and restore

13

25. For more detailed information click on Status in the Commands pane. Look at the information in the Status page of the job.

26. Watch the backup job until completion.

27. Click OK to close the Status dialog of your backup job. NOTE: You can also view job status by clicking Job Status in the Favorites desk bar, selecting the name of your first backup job and looking at the Details pane.

Backup to Tape

14

28. It is also good practice to check the logs and ensure that there were no problems. Click Recent Logs in the Favorites desk bar. NOTE: If you see an alert in the Status bar at the bottom of the window, you should check what is causing this. See “How do I find out what is causing alerts?” in Tutorial 4.

29. Select the log entry for the backup job and double-click to open it. Scroll through the log to check that everything is OK. If the Next button is bold, there are additional pages to check. Click Close when you have finished reading the log.

30. You have now created and run your first tape backup job.

Tape backup and restore

15

Subsequent backups Once you have created your backup (or any) job, it can be quickly and easily located again in your Home folder. Just select the job and either right-click and select Run from the drop-down menu or click Run in the Commands pane. (The job is in the Admin folder because we logged on as Administrator.)

NOTE: According to our settings, this job will overwrite the media when you run it again. If you do not wish this to happen, you need to select a Write Mode of Append to all media in Job options.

Restore from tape

16

Restore from tape The following steps will enable you to carry out your first, simple restore from tape. 1. Make sure the tape drive is powered up and insert the backup cartridge into the tape drive. 2. Run Data Protector Express and log in. (Dismiss the Tips dialogue.) 3. Select Wizards in the Favorites desk bar and double click Restore in the Detail Area.

4. Double-click the Restore Specific wizard.

5. At the Welcome prompt give the restore job a name, such as “My First Restore” and click Next to move to the Select Files step.

Tape backup and restore

17

6. Now you are ready to select folders and files for restore. If necessary, open the Folders pane in the Detail Area (by clicking on the Folders icon in the Toolbar) and navigate down the network, machine and filing system to locate the files that you included in your first backup, for example the Documents and Settings folder. Check the box to select the files/folders to be restored. By checking the Documents and Settings folder, we are selecting all its sub-folders and the files in them..

7. For this first restore job we want to restore the files to a different location. This will allow you to compare the original files with the restored files. To do this task, we need the move functionality. Click on the Move icon in the toolbar.

8. We recommend that you create a new folder to hold the restored files. In the Select destination for move operation dialog, select the C: drive, click on the New command, enter a name for your newly restored folder and click OK.

Restore from tape

18

9. Select the new folder as the destination for the move operation and click OK.

10. Your new folder is now visible under the C: drive. Expand the folder to see how the files will be visible after the restore job is finished and click in the boxes to select the required folders and files.

11. Now you need to select your tape drive and media from which to restore your files. Click Next to move to the Device Options step.

NOTE: Data Protector Server Storage Domain /Network is the default entry in the list of devices. If you leave the default, the software will scan all devices in your Data Protector Express domain. This can be a useful feature. However, for our worked example, we want to specify the tape drive for this job. 12. First, we will remove the default device to be used. Select Data Protector Express Storage Domain\Network and click Delete. Click Yes at the prompt.

Tape backup and restore

19

13. Click Add in the Devices to be used section. (Enable tape devices is a default setting and should already be checked.) 14. Navigate down the network, machine and devices to locate your tape drive. Select the tape drive and click OK.

15. The Devices to be used section now contains only the tape drive.

16. Click Next to move to the Job Options step. You don’t need to change anything in this step.

Restore from tape

20

17. Click Next to move to the Schedule job step and make sure the Schedule type is Run now.

18. Click Finish to complete and run the restore job. Click Yes at the prompt to see the new job in your Home folder.

19. In your Home folder, select the name of the first run restore job. For a status overview of its first run, look at the information in the Details pane.

Tape backup and restore

21

20. For more detailed information, click on Status in the Commands pane. Look at the information in the Status page of the job.

21. Watch for the job to complete. 22. Click OK to close the Status dialog of your restore job. NOTE: You can also view job status by clicking Job Status in the Favorites desk bar, selecting the name of your first restore job and looking at the Details pane. 23. It is also good practice to check the logs and ensure that there were no problems. Click Recent Logs in the Favorites desk bar.

NOTE: If you see an alert in the Status bar at the bottom of the window, you should check what is causing this. See “How do I find out what is causing alerts?” in Tutorial 4.

Restore from tape

22

24. Select the log entry for the restore job and double-click to open it. Scroll through the log to check that everything is OK. If the Next button is bold, there are additional pages to check. Click Close when you have finished reading the log.

25. You have now created and run your first restore job.

Suggest Documents