Forum Discussion

veera-lav's avatar
veera-lav
Level 3
10 years ago

Move data from one Storage Unit to another Storage Unit

Hi Folks,

 

I am trying to move backup data from Disk Storage Unit to another Unit. I tried the below method but the "Duplicate" option is diabled when i right click the backup images.

 

http://www.symantec.com/connect/forums/migrating-storage-unit-data-and-lifecycle-policies-different-data-domain-server

 

Work Example:

Source: Drive "D:\"   --> SAN mount point (fata disks) and allocated four folders as STU (data consists of Exhange DB,file system etc)

Destination: Drive "G"\   --> New SAN mount point (SAS 15K RPM disks)

Could anyone tell me how to move the data and should preserve all backup policy settings and retention period.

 

Regards,

Veera

  • For the "incheam-bkup01.ad.csscorp.com_1422808324" image, you are seeing copy 2 because your "Copies" option at the top of the screen is set to "Primary Copy". 

    1. Change that option to "Copy 1" and you will see it is still on the D: drive, and the "Primary" field will show "No"
    2. Change that option to "Copy 2" and you will see the copy on the G: drive, and the "Primary" field will show "Yes"

    Duplicating an image simply makes another copy, it does not move the image.  And the primary copy is just the copy that Netbackup will use BY DEFAULT when you restore or duplicate it again. 

    You have the option in the duplication dialog to set thte new copy as your Primary copy.  If you don't select that, then you will still get a second copy, but any restores will read the original Copy 1.

    If you goal is to move the images, you should ensure that Copy 1 (on the D: drive) is set to primary (highlight image in the list, right click, and "Set as Primary".  Then duplicate the images to the new storage unit and set that one as Primary.  Then, after the duplications have completed, bring up the catalog list again and change the "Copies" drop-down at the top of the screen to "Copy 1" and hit the "Search Now" button.  The list will then show you which images on the D: drive are no longer the Primary copy, so you KNOW that those are the ones you can right-click and expire.

  • All looks ok.  What is the problem?  You need to get rid of the copy on D: ?

    You may want to try running a bpimagelist with the -U option - it will clearly show you the copy numbers of the fragments, and which copy is primary.

    In the GUI locate the correct copy, by changing the 'Copies:' box in the catalog view, fill in as many of the other details as you can - so that you narrow down the list (so that later/soon/next you don't accidentally expire the wrong copy of an image)... then click "Search"... and in the lower panel it should show you the one copy of the one image that you want to expire (but we'll get on to that in a minute)...

    ...the first thing to do - is to experiment changing the 'Copies:' box and re-searching - until you get used to the concept of 'copies' and the loose association of the concept of 'primary' copy...

    ...once you are hapy that you understand what you are doing AND that you have the correct copy in the discovered list of backup images (in the lower panel) - then you can right click the image in the lower panel and choose 'Expire' - and that should remove the image from from the D: drive.

    Then issue this command:

    bpclient -cleanup -allclients

    (and wait for the image cleanup job in activity monitor to finish)

    The image on D: should dissappear from the folder structure.

    Do NOT be tempted to search twice - and expire twice - if the D: image does not disappear, but the the G: image does disappear; then you have expired the wrong copy.  If so, do your duplication again - and try expiring the other copy number.

    WARNING - if you are not 100% sure with what you are doing - then seek assistance from a colleague - and work with the colleague - making sure that you both discuss your intended actions and that you both agree on the actions before you perform the action.  As they say... two heads are better than one.

    All of this is beginners basic tasks.  Can I ask some questions?  Did you read the manual?  Have you been on a course?  Should you really be administering a production environment with production data if you haven't read the manual, nor been trained?

23 Replies

Replies have been turned off for this discussion