Home Print  
ACCDataVault  

Seed Backup Migration

Overview

Seed Backup Migration is a useful feature to quickly move large backup data from the client machine to the backup server. Using this feature, the initial seed backup can be taken in a local external drive connected to the client machine and the external drive can then be physically moved to the remote backup server’s environment to migrate the data into the backup server. After the data migration and after performing the server side and client side Seed Backup Migration steps, the incremental backups can run directly from the client to the remote backup Server.

How to get here in the ACCDataVault Web Console?

For Server:
  In the top menu, select: "Server Admin->Reseller Management" and click on the "Seed Backup Migration" icon on the left hand side.

For Client:
  In the top menu, select: "Administration->Seed Backup Migration".

Seed Backup Migration

  1. Configure a backup schedule in the ACCDataVault client system. Log into client’s ACCDataVault web console page and select 'Backup -> Add Backup Schedule' from the top menu.



  2. Select the ‘Backup Type’ as ‘Same Machine’ in Step 3 and enter the external drive location for the ‘Local Backup Location’. After entering all the other backup details, save the backup schedule.

    Note : 'Same Machine' backup feature is available only from 2.3 release. It can be used only for 'Seed Backup Migration'.

  3. Run the backup, check the progress and make sure the backup runs to completion.

  4. When the backup is complete, suspend the backup schedule.



  5. (You can skip this step if you are migrating the backup data from a Client installation using local backup) If you are migrating the backup data from v3.0/later backup server using MySQL Server as the backend database, then the ACCDataVault database 'sgbackup.db' file will not be available in the backup location since v3.0/later backup server uses MySQL as the backend database. You need to export the metadata from MySQL to SQLite database by following the below steps :

    • Open a command prompt and go the <ACCDataVault_HOME> folder.
    • Execute the following command :
      'bin\StoreGrid.exe ExportToSQLiteDatabase' (for Windows)
      './bin/StoreGrid ExportToSQLiteDatabase' (for Linux)
    • This will export all the clients and backups' to SQLite database (sgbackup.db) in the backup location. If you wish to migrate a particular client (or) backup, then you can execute the above command as follows :

      bin\StoreGrid.exe ExportToSQLiteDatabase <Client_Name>
      bin\StoreGrid.exe ExportToSQLiteDatabase <Client_Name> <Backup_Name>


  6. Disconnect the external drive from the client machine and connect the external device to the remote backup server.

  7. Copy the client's data (Z:\backup\1) from the external device to some temporary location in the drive where you are planning to store the backup data in the remote backup server. Like for example, if your storage device is the E: drive, then copy the data to say “E:\LTOR”. You don’t have to copy the data to the temporary location and you can migrate the data directly from the external drive itself. However, the migration might take a little longer to complete, based on the speed of the external drive.

     
  8. Go to the remote backup server’s web console "Server Admin-> Reseller Management -> Seed Backup Migration (Icon)" page. Enter the location of the client's data followed by the 1/ directory. For example, if you have copied the client's data from the external drive to the temporary E:\LTOR location in the backup server, enter location as E:/LTOR/1/ in this page. If you have not copied the data to a temporary location, enter the location of the external drive, like for example Z:/backup/1. After entering the path, click on the "Submit Location" button.

  9. The client name will be displayed. Select the client. If you are doing the data migration from this client for the first time, enter the target customer under which the client is to be migrated and the location where the backup data is to be stored. Click the "Migrate" button.



  10. In the client system, take a backup of the <ACCDataVault Installation Location>/data/<backup name>/sgprp.db file. This is just to ensure you can recover this DB file if you need to do the client side migration again, if required.

  11. Go to “Administration -> Seed Backup Migration” page in the client machine.

    If the client machine is backing up locally, then select the backups that should continue with the incremental backups directly to the remote backup server. Provide the New Backup Server Name and confirm that the backup data of the selected schedules has already been moved to the new backup server and that you have run the Seed Backup Migration module in the remote backup server (confirm this from the check box).

    If the client machine is backing up to a remote Backup Server, then select the remote Backup Server from the list to where the client machine is currently backing up to and then:

    • Choose the option 'Make this client machine backup to a different backup server from now on' to continue with the incremental backups directly to the remote backup server and provide the New Backup Server Name.

      In the table listing the backup schedules, select the backup schedule(s) whose data has been moved to the new backup server. You can select all the backup schedules by checking the checkbox against the "Available Backups" column name. Confirm that the backup data of the selected schedules has already been moved to the new backup server and that you have run the Seed Backup Migration module in the remote backup server (confirm this from the check box).

    • Choose the option 'Make this client machine backup locally (same machine) from now on' to make the client machine start backing up locally to itself. You can use this option to do 'Seed Backup Migration of Additional Fullbackup data'. After selecting this option, you need to provide the Local Backup Location for the selected backup schedule(s).

      In the table listing the backup schedules, select the backup schedule(s) to start backing up locally to the same machine. You can select all the backup schedules by checking the checkbox against the "Available Backups" column name. Confirm that you have opted to run Additional Full Backup locally in this machine to the specified backup location. (confirm this from the check box).

    Click the Migrate button to complete migration.

  12. To confirm that the migration has been successful, try running an incremental backup. If the incremental backup runs fine, the migration is successful and you can delete the backup of the db file that you created in step 10 above. If the client starts taking a full backup, then suspend the backup, replace the sgprp.db file with its backup that you created in step 10 and check the server migration steps again.

Seed Backup Migration Progress

  • Summary of progress

    This gives the total summary of the Migration progress.

    Success Rate : This gives the total success rate.

    Elapsed Time : This gives the total time taken after the migration started.

    No of clients migrated : This gives the total number of clients migrated out of the total clients for migration.

    Messages : Messages regarding the Migration.

    Warning : Warnings regarding the migration progress.

    Overall migration progress.

  • Clients scheduled for migration

    This lists the client lists for migration, their total number of backups for migration, their total migrated backups, their target customer and their migration status.

  • Details of current migration activity

    This gives the information about the migration of the currently migrating client and its current backup, time taken after the current client migration started and its migration progress.

Troubleshooting Tips

No Clients for migration. Show/Hide

Cause 1: Backups are not present in the location "<LocalServerDataLocation>/<Client_Name>/" where 'LocalServerDataLocation' is the location entered in the remote backup server web console "Server Admin -> Reseller Management -> Seed Backup Migration(Icon)" page. 'Client_Name' is the client name of the backups which is to be migrated.

Solution : Delete the client data from the remote server 'LocalServerDataLocation' and recopy the data from the USB device.

Cause 2 : Client's data are not copied from a ACCDataVault 2.2.1 or later version of backup server.

Solution : "Seed Backup Migration" can be done only with ACCDataVault 2.2.1 or later version of backup server clients alone.


Unable to list the Directory. Permission denied. Show/Hide

Cause : ACCDataVault does not have the read permission for the location entered in the remote backup server web console "Server Admin -> Reseller Management -> Seed Backup Migration(Icon)" page.

Solution : Move the data to a location where ACCDataVault can access the data without any permission problem or change the permission for that directory so that ACCDataVault can read the data.


Migration failed. Please check local Server Data Location for the read access and the target location for Read/Write access. Show/Hide

Cause 1: ACCDataVault does not have the read permission for the location entered in the remote backup server web console "Server Admin -> Reseller Management -> Seed Backup Migration(Icon)" page.

Solution : Move the data to a location where ACCDataVault can access the data without any permission problem or change the permission for that directory so that ACCDataVault can read the data.

Cause 2 : ACCDataVault does not have the read and write permissions for the client location entered in the list of clients migration page that comes after clicking the "Submit Location" button in "Seed Backup Migration" page.

Solution : Provide enough permission for the location you have given for the client or choose any other location where ACCDataVault has the read and write permissions.

Limitations

  1. ACCDataVault version of the client should be the same as the Backup Server while performing server side Seed Backup Migration.
  2. When ACCDataVault is stopped during Server side "Seed Backup Migration", it cannot be resumed later from where it has been left. It has to be run afresh again.
  3. Server side "Seed Backup Migration" report cannot be seen once you leave the web console page.
  4. When there isn’t enough Space in the remote backup server, migration will still proceed to completion by automatically taking the necessary space.
  5. File version migration is not supported. Only full backups and incremental backups can be migrated.
Print  
Service Provided By Acceler8 IT Solutions Inc. Technical support-