Hey, you got a small Netapp? Hey, ya wanna do some backups to Amazon S3 or a compatible object storage system (aka Netapp StorageGrid Webscale)? NCE is for you!
The official blurb on it:
NDMP Cloud Extension Software (NCE) is a host-based utility that transfers data between Data ONTAP® storage systems and the Amazon® Simple Storage Service (Amazon S3) cloud. You can transfer data to Amazon S3 by using the ndmpcopy command. The ndmpcopy command is executed from a Linux host, which communicates with the storage system to transfer data to Amazon S3. Data transfer is supported at the volume, qtree, directory, or file level.
This isn’t a perfect DR solution, but it does have some cool use cases.
( If you want a REALLY awesome hosted SAN-Replication DR, I recommend checking out the services offering from my employer’s sister company – H.A. Services. We can ingest SnapMirror, SnapVaults, spin up VMs, etc. )
If you just have a small local dataset, or are using Netapp Cloud or OnTap Edge in the Cloud, and can go through the slower restores over the internet, an NDMP-based backup to Amazon S3 may be just for you!
So what is it?
Basically it is a linux server (re: VM typically), which runs a Java command line application which can function as “ndmpcopy” to S3 proxy.
If you ever have ran ndmpcopy on a Netapp either copying a volume locally or remotely, the java based command in linux feels much the same. Much of the syntax is identical.
You get it here:
You need:
- 64-bit linux system. (I tested on Centos 7. You need to install net-utils, for ifconfig)
- Java 1.7_61 or higher (I tested on the latest 1.8)
- NDMP4 enabled on Ontap
- Ontap 8.1.4 or higher 7-mode or Clustered Mode
Features
- Baseline and incremental data transfer
- Level-based data transfer (levels 0 through 9)
- Incremental forever data transfer
- Checksum-based data verification
- Data transfer using specific Snapshot® copies
- Backup set deletion
- Backup set summary
Note: On Clustered Ontap, it uses Cluster Aware Backup (CAB) by default. This means that you do the host:/vserver_name/volume_name when telling it what to backup (Thanks Joe Walker of Netapp, for reminding me that this was changeable on the filer, if you need node based)
Example of enabling NDMP on a cluster
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
ha-cdot::> system services ndmp ha-cdot::system services ndmp> modify -node * -enable true Please enter password: Confirm password: 2 entries were modified. ha-cdot::system services ndmp> show Node Enabled Clear text User Id --------------------- --------- ----------- --------- ha-cdot-01 true true root ha-cdot-02 true true root 2 entries were displayed. ha-cdot::vserver services ndmp> system services ndmp on -node ha-cdot-01 ha-cdot::vserver services ndmp> system services ndmp on -node ha-cdot-02 # Add ndmp to the sub vserver ha-cdot::vserver services ndmp> vserver modify -vserver svm_cifs_test -allowed-protocols cifs,ndmp Warning: You are replacing the "allowed-protocols" list with "cifs ndmp". Note: a modify operation on these parameters is deprecated and may be removed in future releases of Data ONTAP. To add or remove protocols use the "vserver add-protocols" or "vserver remove-protocols" commands. Do you want to continue? {y|n}: y # enable it on a vserver level ha-cdot::vserver services ndmp> vserver services ndmp on -vserver svm_cifs_test ha-cdot::vserver services ndmp> show -enable true VServer Enabled Authentication type ------------- --------- ------------------- ha-cdot true challenge svm_cifs_test true challenge 2 entries were displayed. # create a user to run backups on the cluster level ha-cdot::> security login create -vserver ha-cdot -username backup_admin -application ssh -authmethod password -role backup # Generate password for this ha-cdot::vserver services ndmp> generate-password -vserver ha-cdot -user backup_admin Vserver: ha-cdot User: backup_admin Password: yAUpO6rjLh1pCEVt |
Now, your Netapp is ready.
Go ahead, log into Amazon AWS and create a bucket for your backups.
Installing is easy. Install java on your linux box, Download & Extract the tar/gz on your linux host. Edit the ndmpcopy file in vi/pico/emacs and point it to where java is (if its not on your path)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 |
[root@jk47-nce-backup ndmpcopy-1.0.0]# chmod 755 ndmpcopy* [root@jk47-nce-backup ndmpcopy-1.0.0]# ls aws-java-sdk-1.9.3 ndmpcopy ndmpcopy.jar ndmpcopysupport sdklog.properties [root@jk47-nce-backup ndmpcopy-1.0.0]# ./ndmpcopy Usage: ndmpcopy [] and are of the form [:] If an IPv6 address is specified, it must be enclosed in square brackets A cloud based backup and restore is supported. A backup to and restore from the Amazon S3 cloud is supported. Instead of specifying a storage system, the keyword 'awss3' may be specified to backup to an AWS S3 account or restore from one. The format for specifying an AWS S3 endpoint is awss3:# File based backup and restore is available only in the diag mode. Instead of specifying a storage system, the keyword 'file' may be specified to backup to a file or restore from one. File based ndmpcopy is only supported for baseline transfers options: [-sa :] [-da :] Source/destination storage system authentication credentials [-st { text | md5 }] [-dt { text | md5 }] Source/destination storage system authentication type (default is md5) [-l { 0 - 9 }] Incremental level Default is 0 [-d] Enable debug logs [-df ] Enable debug logs to file [-p] Prompt for the passwords [-h] Display this help message [-v] Display the version cloud specific options: [-cloudconf ] The config file to enable connecting to a cloud provider This is a mandatory option if a cloud end point is specified as a source or a destination This config file is deleted after a transfer has been attempted. To retain the file, use the -nodeleteconf option [-describe ] This option is used to obtain a summary of the backups for a given backup set identifier [-delete all ] [-delete-force all ] The above options are used to delete all backup images for a given backup set identifier. They are mutually exclusive The delete-force option does not prompt the user for confirmation [-nodeleteconf] This option is used to prevent the deletion of the cloud configuration file passed in using the -cloudconf option. The default behavior is to delete the configuration file when a transfer is attempted ndmpcopy version: 1.0.0 (Linux.amd64.3.10.0-123.el7.x86_64/JVM 1.8.0_45%25.45-b02) |
I filled up a directory with a lot of files (project thumbnails and public domain books).
You have a few options of how to use it:
- Backup – level 0 ndmp baseline -l0
- Backup – level [1-9] ndmp incremental -l[1-9]
- Backup – Incremental always (inowalk incremental dump)
- Restore – Incremental level or backup set #
- Delete Backups
Let’s do a backup! Here’s some options I used
- -d debug
- -df debug file
- -l 0 level
- -sa source auth
- -cloudconf my config file of AWS info
- -nodeleteconf dont delete the cloud conf file (Yes, by default it does wipe out your clod config file… we don’t want another CodeSpaces AWS hack!)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 |
[root@jk47-nce-backup ndmpcopy-1.0.0]# ./ndmpcopy -d -df debug.log -l 0 -sa backup_admin:yAUpO6rjLh1pCEVt -cloudconf ./aws.conf -nodeleteconf 10.192.1.137:/svm_cifs_test/nce_test awss3:jk47netappncetest#mytest Debug trace enabled Apr 28 14:41:46 EDT:[1430246506371_564819424][0]: Ndmpcopy: Debug trace enabled to file 'debug.log' Apr 28 14:41:46 EDT:[1430246506371_564819424][0]: Ndmpcopy: Starting copy [ 0 ] ... Apr 28 14:41:47 EDT:[1430246506371_564819424][0]: Ndmpcopy: 10.192.1.137: Notify: Connection established Apr 28 14:41:47 EDT:[1430246506371_564819424][0]: Ndmpcopy: 10.192.1.137: Connect: Authentication successful Apr 28 14:41:47 EDT:[1430246506371_564819424][0]: Ndmpcopy: 10.192.1.137: Config: Session identifier: 5353 Apr 28 14:41:47 EDT:[1430246506371_564819424][0]: Ndmpcopy: LISTEN: Using local endpoint : 10.213.0.150 port 44810 Apr 28 14:41:47 EDT:[1430246506371_564819424][0]: Ndmpcopy: Opening connection to S3. Apr 28 14:41:49 EDT:[1430246506371_564819424][0]: Ndmpcopy: 10.192.1.137: Log: Session identifier for Backup : 5353 Apr 28 14:41:49 EDT:[1430246506371_564819424][0]: Ndmpcopy: 10.192.1.137: Log: DUMP: creating "/svm_cifs_test/nce_test/../snapshot_for_backup.1" snapshot. Apr 28 14:41:49 EDT:[1430246506371_564819424][0]: Ndmpcopy: 10.192.1.137: Log: DUMP: Using Full Volume Dump Apr 28 14:41:50 EDT:[1430246506371_564819424][0]: Ndmpcopy: 10.192.1.137: Log: DUMP: Using snapshot_for_backup.1 snapshot Apr 28 14:41:50 EDT:[1430246506371_564819424][0]: Ndmpcopy: 10.192.1.137: Log: DUMP: Date of this level 0 dump: Tue Apr 28 18:42:22 2015. Apr 28 14:41:50 EDT:[1430246506371_564819424][0]: Ndmpcopy: 10.192.1.137: Log: DUMP: Date of last level 0 dump: the epoch. Apr 28 14:41:50 EDT:[1430246506371_564819424][0]: Ndmpcopy: 10.192.1.137: Log: DUMP: Dumping /svm_cifs_test/nce_test to NDMP connection Apr 28 14:41:50 EDT:[1430246506371_564819424][0]: Ndmpcopy: 10.192.1.137: Log: DUMP: mapping (Pass I)[regular files] Apr 28 14:41:50 EDT:[1430246506371_564819424][0]: Ndmpcopy: 10.192.1.137: Log: DUMP: mapping (Pass II)[directories] Apr 28 14:41:50 EDT:[1430246506371_564819424][0]: Ndmpcopy: 10.192.1.137: Log: DUMP: estimated 9425 KB. Apr 28 14:41:50 EDT:[1430246506371_564819424][0]: Ndmpcopy: 10.192.1.137: Log: DUMP: dumping (Pass III) [directories] Apr 28 14:41:50 EDT:[1430246506371_564819424][0]: Ndmpcopy: 10.192.1.137: Log: DUMP: dumping (Pass IV) [regular files] Apr 28 14:41:50 EDT:[1430246506371_564819424][0]: Ndmpcopy: 10.192.1.137: Log: ACL_START is '9718784' Apr 28 14:41:50 EDT:[1430246506371_564819424][0]: Ndmpcopy: 10.192.1.137: Log: DUMP: dumping (Pass V) [ACLs] Apr 28 14:41:50 EDT:[1430246506371_564819424][0]: Ndmpcopy: 10.192.1.137: Log: DUMP: 9498 KB Apr 28 14:41:50 EDT:[1430246506371_564819424][0]: Ndmpcopy: 10.192.1.137: Log: DUMP: DUMP IS DONE Apr 28 14:41:51 EDT:[1430246506371_564819424][0]: Ndmpcopy: 10.192.1.137: Log: DUMP: Deleting "/svm_cifs_test/nce_test/../snapshot_for_backup.1" snapshot. Apr 28 14:41:51 EDT:[1430246506371_564819424][0]: Ndmpcopy: 10.192.1.137: Log: DUMP_DATE is '5725213838' Apr 28 14:41:51 EDT:[1430246506371_564819424][0]: Ndmpcopy: 10.192.1.137: Notify: dump successful Apr 28 14:41:55 EDT:[1430246506371_564819424][0]: Ndmpcopy: Closed connection to S3 service. Apr 28 14:41:55 EDT:[1430246506371_564819424][0]: Ndmpcopy: Total number of backup segments uploaded: 1 Apr 28 14:41:55 EDT:[1430246506371_564819424][0]: Ndmpcopy: Minimum segment upload time: 6 secs Apr 28 14:41:55 EDT:[1430246506371_564819424][0]: Ndmpcopy: Maximum segment upload time: 6 secs Apr 28 14:41:55 EDT:[1430246506371_564819424][0]: Ndmpcopy: Average segment upload time: 6 secs Apr 28 14:41:55 EDT:[1430246506371_564819424][0]: Ndmpcopy: Wrote 9498 KB in 6 secs at 1 MB/s to cloud storage. Apr 28 14:41:55 EDT:[1430246506371_564819424][0]: Ndmpcopy: Initiating metadata upload to cloud storage Apr 28 14:41:55 EDT:[1430246506371_564819424][0]: Ndmpcopy: Opening connection to S3. Apr 28 14:41:56 EDT:[1430246506371_564819424][0]: Ndmpcopy: Closed connection to S3 service. Apr 28 14:41:56 EDT:[1430246506371_564819424][0]: Ndmpcopy: Completed upload of metadata object for this backup Apr 28 14:41:56 EDT:[1430246506371_564819424][0]: Ndmpcopy: Number of parts uploaded: 2 Apr 28 14:41:56 EDT:[1430246506371_564819424][0]: Ndmpcopy: Minimum part upload time : 1 secs Apr 28 14:41:56 EDT:[1430246506371_564819424][0]: Ndmpcopy: Maximum part upload time : 3 secs Apr 28 14:41:56 EDT:[1430246506371_564819424][0]: Ndmpcopy: Average part upload time : 2 secs Apr 28 14:41:56 EDT:[1430246506371_564819424][0]: Ndmpcopy: Number of PUT operations: 4 Apr 28 14:41:56 EDT:[1430246506371_564819424][0]: Ndmpcopy: Number of GET operations: 1 Apr 28 14:41:56 EDT:[1430246506371_564819424][0]: Ndmpcopy: Number of HEAD operations: 2 Apr 28 14:41:56 EDT:[1430246506371_564819424][0]: Ndmpcopy: Number of POST operations: 4 Apr 28 14:41:56 EDT:[1430246506371_564819424][0]: Ndmpcopy: Transfer successful [ 7 seconds ] Apr 28 14:41:56 EDT:[1430246506371_564819424][0]: Ndmpcopy: Done Let's do an incremental [root@jk47-nce-backup ndmpcopy-1.0.0]# ./ndmpcopy -d -df debug.log -i -sa backup_admin:yAUpO6rjLh1pCEVt -cloudconf ./aws.conf -nodeleteconf 10.192.1.137:/svm_cifs_test/nce_test awss3:jk47netappncetest#mytest Debug trace enabled Apr 28 15:01:02 EDT:[1430247662713_1009941331][0]: Ndmpcopy: Debug trace enabled to file 'debug.log' Apr 28 15:01:02 EDT:[1430247662713_1009941331][0]: Ndmpcopy: Starting copy [ 0 ] ... Apr 28 15:01:03 EDT:[1430247662713_1009941331][0]: Ndmpcopy: 10.192.1.137: Notify: Connection established Apr 28 15:01:03 EDT:[1430247662713_1009941331][0]: Ndmpcopy: 10.192.1.137: Connect: Authentication successful Apr 28 15:01:03 EDT:[1430247662713_1009941331][0]: Ndmpcopy: 10.192.1.137: Config: Session identifier: 5911 Apr 28 15:01:03 EDT:[1430247662713_1009941331][0]: Ndmpcopy: LISTEN: Using local endpoint : 10.213.0.150 port 52201 Apr 28 15:01:03 EDT:[1430247662713_1009941331][0]: Ndmpcopy: Opening connection to S3. Apr 28 15:01:05 EDT:[1430247662713_1009941331][0]: Ndmpcopy: 10.192.1.137: Log: Session identifier for Backup : 5911 Apr 28 15:01:05 EDT:[1430247662713_1009941331][0]: Ndmpcopy: 10.192.1.137: Log: DUMP: creating "/svm_cifs_test/nce_test/../snapshot_for_backup.2" snapshot. Apr 28 15:01:05 EDT:[1430247662713_1009941331][0]: Ndmpcopy: 10.192.1.137: Log: DUMP: Using inowalk incremental dump for Full Volume Apr 28 15:01:07 EDT:[1430247662713_1009941331][0]: Ndmpcopy: 10.192.1.137: Log: DUMP: Using snapshot_for_backup.2 snapshot Apr 28 15:01:07 EDT:[1430247662713_1009941331][0]: Ndmpcopy: 10.192.1.137: Log: DUMP: Date of this replication dump: Tue Apr 28 19:01:38 2015. Apr 28 15:01:07 EDT:[1430247662713_1009941331][0]: Ndmpcopy: 10.192.1.137: Log: DUMP: Date of this last update : Tue Apr 28 18:42:22 2015. Apr 28 15:01:07 EDT:[1430247662713_1009941331][0]: Ndmpcopy: 10.192.1.137: Log: DUMP: Dumping /svm_cifs_test/nce_test to NDMP connection Apr 28 15:01:07 EDT:[1430247662713_1009941331][0]: Ndmpcopy: 10.192.1.137: Log: DUMP: mapping (Pass I)[regular files] Apr 28 15:01:07 EDT:[1430247662713_1009941331][0]: Ndmpcopy: 10.192.1.137: Log: DUMP: mapping (Pass II)[directories] Apr 28 15:01:07 EDT:[1430247662713_1009941331][0]: Ndmpcopy: 10.192.1.137: Log: DUMP: estimated 17025 KB. Apr 28 15:01:07 EDT:[1430247662713_1009941331][0]: Ndmpcopy: 10.192.1.137: Log: DUMP: dumping (Pass III) [directories] Apr 28 15:01:07 EDT:[1430247662713_1009941331][0]: Ndmpcopy: 10.192.1.137: Log: DUMP: dumping (Pass IV) [regular files] Apr 28 15:01:08 EDT:[1430247662713_1009941331][0]: Ndmpcopy: 10.192.1.137: Log: ACL_START is '17497088' Apr 28 15:01:08 EDT:[1430247662713_1009941331][0]: Ndmpcopy: 10.192.1.137: Log: DUMP: dumping (Pass V) [ACLs] Apr 28 15:01:08 EDT:[1430247662713_1009941331][0]: Ndmpcopy: 10.192.1.137: Log: DUMP: 17094 KB Apr 28 15:01:08 EDT:[1430247662713_1009941331][0]: Ndmpcopy: 10.192.1.137: Log: DUMP: DUMP IS DONE Apr 28 15:01:08 EDT:[1430247662713_1009941331][0]: Ndmpcopy: 10.192.1.137: Log: DUMP: Deleting "/svm_cifs_test/nce_test/../snapshot_for_backup.2" snapshot. Apr 28 15:01:08 EDT:[1430247662713_1009941331][0]: Ndmpcopy: 10.192.1.137: Log: DUMP_DATE is '10020182290' Apr 28 15:01:08 EDT:[1430247662713_1009941331][0]: Ndmpcopy: 10.192.1.137: Notify: dump successful Apr 28 15:01:17 EDT:[1430247662713_1009941331][0]: Ndmpcopy: Closed connection to S3 service. Apr 28 15:01:17 EDT:[1430247662713_1009941331][0]: Ndmpcopy: Total number of backup segments uploaded: 1 Apr 28 15:01:17 EDT:[1430247662713_1009941331][0]: Ndmpcopy: Minimum segment upload time: 11 secs Apr 28 15:01:17 EDT:[1430247662713_1009941331][0]: Ndmpcopy: Maximum segment upload time: 11 secs Apr 28 15:01:17 EDT:[1430247662713_1009941331][0]: Ndmpcopy: Average segment upload time: 11 secs Apr 28 15:01:17 EDT:[1430247662713_1009941331][0]: Ndmpcopy: Wrote 17094 KB in 11 secs at 1 MB/s to cloud storage. Apr 28 15:01:17 EDT:[1430247662713_1009941331][0]: Ndmpcopy: Initiating metadata upload to cloud storage Apr 28 15:01:17 EDT:[1430247662713_1009941331][0]: Ndmpcopy: Opening connection to S3. Apr 28 15:01:17 EDT:[1430247662713_1009941331][0]: Ndmpcopy: Closed connection to S3 service. Apr 28 15:01:17 EDT:[1430247662713_1009941331][0]: Ndmpcopy: Completed upload of metadata object for this backup Apr 28 15:01:17 EDT:[1430247662713_1009941331][0]: Ndmpcopy: Number of parts uploaded: 3 Apr 28 15:01:17 EDT:[1430247662713_1009941331][0]: Ndmpcopy: Minimum part upload time : 1 secs Apr 28 15:01:17 EDT:[1430247662713_1009941331][0]: Ndmpcopy: Maximum part upload time : 7 secs Apr 28 15:01:17 EDT:[1430247662713_1009941331][0]: Ndmpcopy: Average part upload time : 4 secs Apr 28 15:01:17 EDT:[1430247662713_1009941331][0]: Ndmpcopy: Number of PUT operations: 5 Apr 28 15:01:17 EDT:[1430247662713_1009941331][0]: Ndmpcopy: Number of GET operations: 1 Apr 28 15:01:17 EDT:[1430247662713_1009941331][0]: Ndmpcopy: Number of HEAD operations: 2 Apr 28 15:01:17 EDT:[1430247662713_1009941331][0]: Ndmpcopy: Number of POST operations: 4 Apr 28 15:01:17 EDT:[1430247662713_1009941331][0]: Ndmpcopy: Transfer successful [ 12 seconds ] Apr 28 15:01:17 EDT:[1430247662713_1009941331][0]: Ndmpcopy: Done |
Wonderful!! Let’s verify. Yep, I see them in Amazon:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
[root@jk47-nce-backup ndmpcopy-1.0.0]# ./ndmpcopy -cloudconf ./awsbackup.conf -describe awss3:jk47netappncetest#mytest Apr 28 16:32:39 EDT:[1430253159742_841311100][0]: Ndmpcopy: Log trace enabled to file '/root/ndmpcopylog/ndmpcopy_1430253159742_841311100.log' Apr 28 16:32:39 EDT:[1430253159742_841311100][0]: Ndmpcopy: Deleting the cloud configuration file: /root/ndmpcopy-1.0.0/./awsbackup.conf Apr 28 16:32:39 EDT:[1430253159742_841311100][0]: Ndmpcopy: Opening connection to S3. Apr 28 16:32:41 EDT:[1430253159742_841311100][0]: Ndmpcopy: Apr 28 16:32:41 EDT:[1430253159742_841311100][0]: Ndmpcopy: Number of backup images for this backupset: 2 Metadata content for the backup image : BACKUP_ENGINE = DUMP BACKUP_HOSTIP = 10.192.1.137 BACKUP_HOSTNAME = 10.192.1.137 BACKUP_LEVEL = 0 BACKUP_PATH = /svm_cifs_test/nce_test Metadata content for the backup image : BACKUP_ENGINE = DUMP BACKUP_HOSTIP = 10.192.1.137 BACKUP_HOSTNAME = 10.192.1.137 BACKUP_LEVEL = 1 BACKUP_PATH = /svm_cifs_test/nce_test Apr 28 16:32:41 EDT:[1430253159742_841311100][0]: Ndmpcopy: Closed connection to S3 service. Apr 28 16:32:41 EDT:[1430253159742_841311100][0]: Ndmpcopy: Number of PUT operations: 0 Apr 28 16:32:41 EDT:[1430253159742_841311100][0]: Ndmpcopy: Number of GET operations: 3 Apr 28 16:32:41 EDT:[1430253159742_841311100][0]: Ndmpcopy: Number of HEAD operations: 2 Apr 28 16:32:41 EDT:[1430253159742_841311100][0]: Ndmpcopy: Number of POST operations: 0 |
Sweet! Delete some files in the CIFS share locally. And… restore.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
[root@jk47-nce-backup ndmpcopy-1.0.0]# ./ndmpcopy -d -df debug.log -l 0 -da backup_admin:yAUpO6rjLh1pCEVt -cloudconf ./aws.conf -nodeleteconf awss3:jk47netappncetest#mytest 10.192.1.137:/svm_cifs_test/nce_test Debug trace enabled Apr 28 16:39:32 EDT:[1430253572622_189162678][0]: Ndmpcopy: Debug trace enabled to file 'debug.log' Apr 28 16:39:32 EDT:[1430253572622_189162678][0]: Ndmpcopy: Starting copy [ 0 ] ... Apr 28 16:39:33 EDT:[1430253572622_189162678][0]: Ndmpcopy: 10.192.1.137: Notify: Connection established Apr 28 16:39:33 EDT:[1430253572622_189162678][0]: Ndmpcopy: 10.192.1.137: Connect: Authentication successful Apr 28 16:39:33 EDT:[1430253572622_189162678][0]: Ndmpcopy: 10.192.1.137: Config: Session identifier: 8049 Apr 28 16:39:35 EDT:[1430253572622_189162678][0]: Ndmpcopy: Connecting to 10.192.1.137 port 18600 Apr 28 16:39:35 EDT:[1430253572622_189162678][0]: Ndmpcopy: CONNECT: Using local endpoint : 10.213.0.150 port 46680 Apr 28 16:39:35 EDT:[1430253572622_189162678][0]: Ndmpcopy: 10.192.1.137: Log: Session identifier for Restore : 8049 Apr 28 16:39:35 EDT:[1430253572622_189162678][0]: Ndmpcopy: Opening connection to S3. Apr 28 16:39:38 EDT:[1430253572622_189162678][0]: Ndmpcopy: 10.192.1.137: Log: RESTORE: Tue Apr 28 20:40:11 2015: Begin level 0 restore Apr 28 16:39:38 EDT:[1430253572622_189162678][0]: Ndmpcopy: 10.192.1.137: Log: RESTORE: Tue Apr 28 20:40:11 2015: Reading directories from the backup Apr 28 16:39:39 EDT:[1430253572622_189162678][0]: Ndmpcopy: 10.192.1.137: Log: RESTORE: Tue Apr 28 20:40:12 2015: Creating files and directories. Apr 28 16:39:39 EDT:[1430253572622_189162678][0]: Ndmpcopy: 10.192.1.137: Log: RESTORE: Tue Apr 28 20:40:12 2015: Writing data to files. Apr 28 16:39:39 EDT:[1430253572622_189162678][0]: Ndmpcopy: Closed connection to S3 service. Apr 28 16:39:39 EDT:[1430253572622_189162678][0]: Ndmpcopy: Total number of backup segments downloaded: 1 Apr 28 16:39:39 EDT:[1430253572622_189162678][0]: Ndmpcopy: Minimum segment download time: 2 secs Apr 28 16:39:39 EDT:[1430253572622_189162678][0]: Ndmpcopy: Maximum segment download time: 2 secs Apr 28 16:39:39 EDT:[1430253572622_189162678][0]: Ndmpcopy: Average segment download time: 2 secs Apr 28 16:39:39 EDT:[1430253572622_189162678][0]: Ndmpcopy: Read 9498 KB in 2 secs at 4 MB/s. Apr 28 16:39:39 EDT:[1430253572622_189162678][0]: Ndmpcopy: 10.192.1.137: Log: RESTORE: RESTORE IS DONE Apr 28 16:39:39 EDT:[1430253572622_189162678][0]: Ndmpcopy: 10.192.1.137: Notify: restore successful Apr 28 16:39:39 EDT:[1430253572622_189162678][0]: Ndmpcopy: Number of PUT operations: 0 Apr 28 16:39:39 EDT:[1430253572622_189162678][0]: Ndmpcopy: Number of GET operations: 2 Apr 28 16:39:39 EDT:[1430253572622_189162678][0]: Ndmpcopy: Number of HEAD operations: 2 Apr 28 16:39:39 EDT:[1430253572622_189162678][0]: Ndmpcopy: Number of POST operations: 0 Apr 28 16:39:39 EDT:[1430253572622_189162678][0]: Ndmpcopy: Transfer successful [ 4 seconds ] Apr 28 16:39:40 EDT:[1430253572622_189162678][0]: Ndmpcopy: Done |
Now, let’s clean up!
1 2 3 4 5 6 7 8 9 10 11 12 13 |
[root@jk47-nce-backup ndmpcopy-1.0.0]# ./ndmpcopy -delete all -cloudconf ./awsbackup.conf -nodeleteconf awss3:jk47netappncetest#mytest Apr 28 17:03:46 EDT:[1430255026462_1911446378][0]: Ndmpcopy: Log trace enabled to file '/root/ndmpcopylog/ndmpcopy_1430255026462_1911446378.log' Are you sure you want to delete this backupset (yes/no)? yes Apr 28 17:03:49 EDT:[1430255026462_1911446378][0]: Ndmpcopy: Opening connection to S3. Apr 28 17:03:50 EDT:[1430255026462_1911446378][0]: Ndmpcopy: Begin deletion of objects in the backupset Apr 28 17:03:51 EDT:[1430255026462_1911446378][0]: Ndmpcopy: Successfully deleted 26 objects. Apr 28 17:03:51 EDT:[1430255026462_1911446378][0]: Ndmpcopy: Completed deletion of objects in the backup set Apr 28 17:03:51 EDT:[1430255026462_1911446378][0]: Ndmpcopy: Deleted 26 objects in the bucket 'jk47netappncetest' from the backupset 'mytest' Apr 28 17:03:51 EDT:[1430255026462_1911446378][0]: Ndmpcopy: Closed connection to S3 service. Apr 28 17:03:51 EDT:[1430255026462_1911446378][0]: Ndmpcopy: Number of PUT operations: 0 Apr 28 17:03:51 EDT:[1430255026462_1911446378][0]: Ndmpcopy: Number of GET operations: 1 Apr 28 17:03:51 EDT:[1430255026462_1911446378][0]: Ndmpcopy: Number of HEAD operations: 0 Apr 28 17:03:51 EDT:[1430255026462_1911446378][0]: Ndmpcopy: Number of POST operations: 1 |
- What else should you know about this?
- FILES STORED ON AMAZON S3 UPLOADED ARE NOT ENCRYPTED!!!!!!
- You can manually update your buckets or subfolders to be server side encrypted, but anyone with access to your AWS key would be able to download your dumps in non-encrypted form.
- Your stream from the Netapp to the Linux proxy is not encrypted. (Make sure it’s on a trusted segment of your network)
- The linux proxy can only have 1 NIC and a Default GW.
- I originally tried this with a VM with 2 nics. 1 was a default route out to the internet. The other was homed to the same subnet as my Netapp Intercluster lifs. I got all sorts of connection issues I couldn’t figure out for a good long while.
- Remember, you are going to pay for your transfers in, transfers out, puts, gets, etc.
- Don’t expect a throughput faster than 24mbps from an Amazon S3 upload or download.
NetApp NDMP Cloud Extension Software blog post via @JK47theweapon http://t.co/NJd3Hutjnx #NetAppATeam
@MartinLeggatt My intro to NCE http://t.co/h44o4VntGf
#SymLink: A look at Netapp’s NDMP Cloud Extension Software (NCE) http://t.co/tEQretzWj3
Jarett (@JK47theweapon) introduces us to another new 1.0 product from NetApp, know as the NDMP Cloud Extension!… http://t.co/JahFaSyRBl
Si cool! A look at Netapp’s NDMP Cloud Extension Software (NCE) – http://t.co/cQo2E53XsG