cifs and ndmp - winchester systems: enterprise fibre ... what is ndmp? ndmp (network data management...

23
Using Symantec Backup Exec 2012 v1.2 to backup and restore via CIFS and NDMP

Upload: ngophuc

Post on 14-Mar-2018

223 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: CIFS and NDMP - Winchester Systems: Enterprise Fibre ... What is NDMP? NDMP (Network Data Management Protocol) is a backup and recovery protocol used to control communications between

Using Symantec Backup Exec 2012 v1.2

to backup and restore via

CIFS and NDMP

Page 2: CIFS and NDMP - Winchester Systems: Enterprise Fibre ... What is NDMP? NDMP (Network Data Management Protocol) is a backup and recovery protocol used to control communications between
Page 3: CIFS and NDMP - Winchester Systems: Enterprise Fibre ... What is NDMP? NDMP (Network Data Management Protocol) is a backup and recovery protocol used to control communications between

3

Table of Contents

What is NDMP? ............................................................................................... 4 NDMP and FlashNAS ......................................................................................... 4

Before You Start.............................................................................................. 5 Installing Symantec BackupExec ........................................................................ 5

Backing up Data from Client Computer to FlashNAS via CIFS .................. 6 Configuring Backup Destination ........................................................................ 6 Backup Procedures ............................................................................................. 6 Restore Procedures ............................................................................................10

Backing up Data from FlashNAS to Client Computer via CIFS ................ 14 Configuring Storage Device and Server .............................................................14 Backup Procedures ............................................................................................17 Restore Procedures ............................................................................................18

Backing up Data from FlashNAS to Client Computer via NDMP .............. 19 Configuring NDMP Service ...............................................................................19 Configuring Storage Device and Server .............................................................19 Backup Procedures ............................................................................................22 Restore Procedures ............................................................................................23

Page 4: CIFS and NDMP - Winchester Systems: Enterprise Fibre ... What is NDMP? NDMP (Network Data Management Protocol) is a backup and recovery protocol used to control communications between

4

What is NDMP?

NDMP (Network Data Management Protocol) is a backup and recovery protocol used to control communications between NAS (Network Attached Storage) systems, servers or tape libraries in a heterogeneous network environment.

NDMP and FlashNAS NDMP solves the incompatibility issues between backup applications and FlashNAS. Since FlashNAS own operating and file system is most likely NOT supported by backup applications such as backup agents and client software, the most commonly seen workaround is to install those backup agents on another networked server which then mounts FlashNAS volumes via file sharing protocols (such as CIFS or NFS), allowing the agents to utilize FlashNAS space for backup purposes. This method, though plausible, consumes considerable amount of network traffic and decreases the overall performance. With NDMP, FlashNAS can communicate with the backup agents to back up data to various targets directly in a much more efficient fashion.

In the next section, we are going to introduce how to use Symantec Backup Exec with your FlashNAS to backup & restore via CIFS & NDMP.

Page 5: CIFS and NDMP - Winchester Systems: Enterprise Fibre ... What is NDMP? NDMP (Network Data Management Protocol) is a backup and recovery protocol used to control communications between

5

Before You Start

Before you start configuring the backup & restore jobs, make sure you have done the following preparation work.

Installing Symantec BackupExec Before installing the application, make sure your computer and network configuration meet

the system requirement stated on Symantec website.

Available versions from Symantec website might differ from the one we covered in this application note, yet the procedures are basically the same.

Page 6: CIFS and NDMP - Winchester Systems: Enterprise Fibre ... What is NDMP? NDMP (Network Data Management Protocol) is a backup and recovery protocol used to control communications between

6

Backing up Data from Client Computer to FlashNAS via CIFS

Configuring Backup Destination Before you start configuring the backup tasks, make sure you have an administrative account ("admin" or any user with superuser privileges) which owns proper access right to a shared folder dedicated to the backup tasks. Recommended privilege settings are shown in the following GUI screenshot. Note that Full Control should NOT be selected.

Backup Procedures 1. Launch Symantec BackupExec to configure an FlashNAS shared folder as the backup

storage.

Page 7: CIFS and NDMP - Winchester Systems: Enterprise Fibre ... What is NDMP? NDMP (Network Data Management Protocol) is a backup and recovery protocol used to control communications between

7

A. Click the Storage tab along the top of Symantec BackupExec, and from the tools panel below the tabs, click Configure Storage.

B. In the wizard that appears, keep clicking Next while selecting or configuring the

following options: Select Disk-based storage.

Select Disk storage.

Enter the name and description of the disk storage device.

Page 8: CIFS and NDMP - Winchester Systems: Enterprise Fibre ... What is NDMP? NDMP (Network Data Management Protocol) is a backup and recovery protocol used to control communications between

8

Select Network share, and then enter FlashNAS IP and shared folder name, preceded by two back slashes and separated by a back slash. For example, \\10.0.0.2\1234

On the summary page, check the information and click Finish to exit the wizard.

2. Configure and start the backup job.

A. Click the Backup and Restore tab along the top of Symantec BackupExec, and from the tools panel below the tabs, select Backup > Backup to Disk.

Page 9: CIFS and NDMP - Winchester Systems: Enterprise Fibre ... What is NDMP? NDMP (Network Data Management Protocol) is a backup and recovery protocol used to control communications between

9

B. In the Backup Properties window that appears, click Edit in the left section and specify the contents you want to backup. Click OK to finish.

C. Click the Edit button in the right section to configure backup options: Click Network on the left panel, and choose the correct network interface from the Network Interface drop-down menu.

D. Click Schedule on the left panel and select Run now with no recurring schedule to run the backup job immediately and for once only, or select Recurrence and choose a schedule from the drop-down menu nearby. Click OK twice consecutively to close the Backup Options and Backup Properties window.

.

Page 10: CIFS and NDMP - Winchester Systems: Enterprise Fibre ... What is NDMP? NDMP (Network Data Management Protocol) is a backup and recovery protocol used to control communications between

10

E. Back to the main window of BackupExec, you can see the status of the backup job you just created.

Restore Procedures 1. Click the Backup and Restore tab along the top of BackupExec, and select the server

you want to restore.

2. Click Restore on the tools panel. (This button is only available after a backup job is created.)

Page 11: CIFS and NDMP - Winchester Systems: Enterprise Fibre ... What is NDMP? NDMP (Network Data Management Protocol) is a backup and recovery protocol used to control communications between

11

3. In the wizard that appears, keep clicking Next while selecting or configuring the following options: Select Files, folders or volume.

Select File and folder backups.

Select the checkboxes to specify the contents which were backed up at the moments you want to restore.

Page 12: CIFS and NDMP - Winchester Systems: Enterprise Fibre ... What is NDMP? NDMP (Network Data Management Protocol) is a backup and recovery protocol used to control communications between

12

Select the location to restore the contents. (Under normal circumstances, it should be the original location where the contents were backed up.)

Select miscellaneous restore options. Using the default settings should be fine.

Decide whether you want to run customized tasks or commands before or after a restore job is performed.

Enter the name and schedule for the restore job.

Page 13: CIFS and NDMP - Winchester Systems: Enterprise Fibre ... What is NDMP? NDMP (Network Data Management Protocol) is a backup and recovery protocol used to control communications between

13

On the summary page, check the information and click Finish to exit the wizard.

4. Under the Backup and Restore tab of BackupExec, you can check whether the restore job succeeds or not.

Page 14: CIFS and NDMP - Winchester Systems: Enterprise Fibre ... What is NDMP? NDMP (Network Data Management Protocol) is a backup and recovery protocol used to control communications between

14

Backing up Data from FlashNAS to Client Computer via CIFS

Configuring Storage Device and Server 1. Launch Symantec BackupExec to configure a disk partition on your computer as the

backup storage.

A. Click the Storage tab along the top of Symantec BackupExec, and from the tools panel below the tabs, click Configure Storage.

B. In the wizard that appears, keep clicking Next while selecting or configuring the

following options: Select Disk-based storage.

Select Disk Storage.

Enter the name and description of the disk storage device.

Page 15: CIFS and NDMP - Winchester Systems: Enterprise Fibre ... What is NDMP? NDMP (Network Data Management Protocol) is a backup and recovery protocol used to control communications between

15

Select Local Disk, and then select a disk partition that will be used as the storage device.

On the summary page, check the information and click Finish to exit the wizard.

2. Add FlashNAS to the server list of BackupExec.

A. Click the Backup and Restore tab along the top of Symantec BackupExec, and from the tools panel below the tabs, click Add.

B. In the wizard that appears, keep clicking Next while selecting or configuring the

following options: Select File server.

Select Allow.

Enter FlashNAS IP, and click Add to add it to the server list.

Page 16: CIFS and NDMP - Winchester Systems: Enterprise Fibre ... What is NDMP? NDMP (Network Data Management Protocol) is a backup and recovery protocol used to control communications between

16

Click Add/Edit and then click Add to create a logon account that will be used by BackupExec to access your FlashNAS.

Enter the login credentials of an FlashNAS user account, and then click OK.

The server and its login credentials are now accessible to BackupExec. Click Finish to exit the wizard.

Page 17: CIFS and NDMP - Winchester Systems: Enterprise Fibre ... What is NDMP? NDMP (Network Data Management Protocol) is a backup and recovery protocol used to control communications between

17

Backup Procedures 1. Click the Backup and Restore tab along the top of Symantec BackupExec, and from the

tools panel below the tabs, select Backup > Backup to Disk.

2. In the Backup Properties window that appears, click Edit in the left section and specify the contents you want to backup. Click OK to finish.

3. Click the Edit button in the right section to configure backup options: Click Schedule on the left panel and select Run now with no recurring schedule to run the backup job immediately and for once only, or select Recurrence and choose a schedule from the drop-down menu nearby. Click OK twice consecutively to close the Backup Options and Backup Properties window.

Page 18: CIFS and NDMP - Winchester Systems: Enterprise Fibre ... What is NDMP? NDMP (Network Data Management Protocol) is a backup and recovery protocol used to control communications between

18

4. Back to the main window of BackupExec, you can see the status of the backup job you just created.

Restore Procedures 1. Click the Backup and Restore tab along the top of BackupExec, and select the server

you want to restore.

2. Repeat the steps mentioned in "Restore Procedures" on Page 10 to complete the restore job.

Page 19: CIFS and NDMP - Winchester Systems: Enterprise Fibre ... What is NDMP? NDMP (Network Data Management Protocol) is a backup and recovery protocol used to control communications between

19

Backing up Data from FlashNAS to Client Computer via NDMP

Configuring NDMP Service Log in to the web interface of FlashNAS. Go to Configuration > Miscellaneous to enable the NDMP service and set up a user account with Authentication Type set as cram-md5.

Configuring Storage Device and Server 1. Launch Symantec BackupExec to configure a disk partition on your computer as the

backup storage.

A. Click the Storage tab along the top of Symantec BackupExec, and from the tools panel below the tabs, click Configure Storage.

B. In the wizard that appears, keep clicking Next while selecting or configuring the

following options: Select Disk-based storage.

Select Disk storage.

Page 20: CIFS and NDMP - Winchester Systems: Enterprise Fibre ... What is NDMP? NDMP (Network Data Management Protocol) is a backup and recovery protocol used to control communications between

20

Enter the name and description of the disk storage device.

Select Local Disk, and then select a disk partition that will be used as the storage device.

On the summary page, check the information and click Finish to exit the wizard.

2. Add FlashNAS to the server list of BackupExec.

A. Click the Backup and Restore tab along the top of Symantec BackupExec, and from the tools panel below the tabs, click Add.

Page 21: CIFS and NDMP - Winchester Systems: Enterprise Fibre ... What is NDMP? NDMP (Network Data Management Protocol) is a backup and recovery protocol used to control communications between

21

B. In the wizard that appears, keep clicking Next while selecting or configuring the following options: Select File server.

Select Allow.

Enter FlashNAS IP, and click Add to add it to the server list.

Click Add/Edit and then click Add to add an NDMP account that will be used by BackupExec to access your FlashNAS.

Enter the access credential of FlashNAS' NDMP service.

Page 22: CIFS and NDMP - Winchester Systems: Enterprise Fibre ... What is NDMP? NDMP (Network Data Management Protocol) is a backup and recovery protocol used to control communications between

22

The server and its NDMP credentials are now added to BackupExec. Click Finish to exit the wizard.

Backup Procedures 1. Click the Backup and Restore tab along the top of Symantec BackupExec, and from the

tools panel below the tabs, select Backup > Backup to Disk.

2. In the Backup Properties window that appears, click Edit in the left section and specify the contents you want to backup. Click OK to finish.

Page 23: CIFS and NDMP - Winchester Systems: Enterprise Fibre ... What is NDMP? NDMP (Network Data Management Protocol) is a backup and recovery protocol used to control communications between

23

3. Click the Edit button in the right section to configure backup options: Click Schedule on the left panel and select Run now with no recurring schedule to run the backup job immediately and for once only, or select Recurrence and choose a schedule from the drop-down menu nearby. Click OK twice consecutively to close the Backup Options and Backup Properties window.

4. Back to the main window of BackupExec, you can see the status of the backup job you just created.

Restore Procedures 1. Click the Backup and Restore tab along the top of BackupExec, and select the server

you want to restore.

2. Repeat the steps mentioned in "Restore Procedures" on Page 10 to complete the restore job.

Copyright © 2014 Winchester Systems Inc. All rights reserved. Winchester Systems and FlashDisk are registered trademarks, and FlashNAS and FlashServer are trademarks of Winchester Systems Inc. All other trade names are the property of their respective owners. The information contained herein is subject to change without notice. Content provided as is, without express or implied warranties of any kind.