+ All Categories
Home > Documents > Knowledge Base -- Using Robocopy Migrate Data to Oneblox Share

Knowledge Base -- Using Robocopy Migrate Data to Oneblox Share

Date post: 04-Oct-2015
Category:
Upload: namtran
View: 12 times
Download: 0 times
Share this document with a friend
11
 Knowledge Base Using R obocopy Migrate Data to Oneblox Share 1. Introduction This document explains how to migrate files/directories from Windows file server to OneBlox share using robocopy to preserve ownership and NTFS file permission. 2. Migr ate data to Oneblox share a nd pr eserve o wnershi p an d NTFS permissions Step 1: Login to OneSystem and setup OneBlox with Active directory. Step 2: Create a restricted share. Step 3: Give full control access to domain\administrator step 4: copy file using ro bocopy with follow ing o ptions ROBOCOPY source destination [file [file]...] [options] Ex : robo copy c:\Back upData_To_Mig rate //o nebl ox-r-v00 16/Exablox_Back up *.* /COP Y:DATSO /E / V 3. Demo 3.1. Prep are files and directories to migr ate 3.1.1. Cr ea te fol de r “C :\Backup da ta_ To_Migra te” 3.1.2. Crea te fe w te st directories as follows © 2014 Exablox. All Ri ghts Reserved Page 1 of 11
Transcript
  • Knowledge Base

    Using Robocopy Migrate Data to Oneblox Share

    1. Introduction

    This document explains how to migrate files/directories from Windows file server to OneBlox share

    using robocopy to preserve ownership and NTFS file permission.

    2. Migrate data to Oneblox share and preserve ownership and

    NTFS permissions

    Step 1: Login to OneSystem and setup OneBlox with Active directory.

    Step 2: Create a restricted share.

    Step 3: Give full control access to domain\administrator

    step 4: copy file using robocopy with following options

    ROBOCOPY source destination [file [file]...] [options]

    Ex : robocopy c:\BackupData_To_Migrate //oneblox-r-v0016/Exablox_Backup *.* /COPY:DATSO /E /V

    3. Demo

    3.1. Prepare files and directories to migrate3.1.1. Create folder C:\Backupdata_To_Migrate

    3.1.2. Create few test directories as follows

    2014 Exablox. All Rights Reserved Page 1 of 11

  • C:\BackupData_To_Migrate>dir Volume in drive C has no label. Volume Serial Number is 2ACE-64D8

    Directory of C:\BackupData_To_Migrate

    03/26/2014 02:57 PM Chals_Backup03/26/2014 02:49 PM Tad_Backup03/26/2014 02:57 PM Tony_Backup 0 File(s) 0 bytes 5 Dir(s) 240,851,742,720 bytes free

    3.1.3. Change ownership of Tad_BackupRight click on Tad_Backup -> properties->security tab-> Advanced

    2014 Exablox. All Rights Reserved Page 2 of 11

  • Change Owner from Corp\Administrator

    To Tad Hunt ([email protected])

    2014 Exablox. All Rights Reserved Page 3 of 11

  • Then,Click Apply and OK. etc

    Do the similar changes to other files and folders in the backup directory.

    Now your backup data is ready for migration.

    2014 Exablox. All Rights Reserved Page 4 of 11

  • 3.2. Create OneBlox Share

    3.2.1. Log in to One system and join the OneBlox into Active Directory

    2014 Exablox. All Rights Reserved Page 5 of 11

  • 2014 Exablox. All Rights Reserved Page 6 of 11

  • 3.2.2. Create a Restricted ShareClick on Shares in the left panel and then click AddShare button

    Share name : Exablox_BackupDescription : All Staff Backup DataShare Access : Select Restricted to Active Directory Users

    Click Save button

    2014 Exablox. All Rights Reserved Page 7 of 11

  • 2014 Exablox. All Rights Reserved Page 8 of 11

  • 3.2.3 Give access right to Domain Administrator (corp\Administrator)

    1. Open Oneblox share in Windows file explorer

    2. Select Exablox_Backup

    3. right click ->properties->security tab -> Add

    4. Add corp\Administrator ->Check Names

    5. then, click OK.

    6. Select Full Control Allow check box

    2014 Exablox. All Rights Reserved Page 9 of 11

  • 3.3. Migrate Data with Robocopy

    3.3.1. Login to Windows file servers as domain\administrator (

    corp\Administrator)

    3.3.2. Open command prompt and execute following robocopy commandC:\Users\administrator>robocopy c:\BackupData_To_Migrate //oneblox-r-v0016/Exablox_Backup *.* /COPY:DATSO /E

    /V

    2014 Exablox. All Rights Reserved Page 10 of 11

  • 3.3.3. Verify the Ownership permission of Tad_Backup in Oneblox share Exablox_backup as specified in section 3.1.3Tad_Backup directory owner MUST be Tad Hunt ([email protected])

    2014 Exablox. All Rights Reserved Page 11 of 11


Recommended