Skip to main content

Article ID

5036

Last Reviewed Date

Product Version

AhsayOBM: 8.1 or above

Operating System

Linux

Description

This Know-How article explains how to perform the initial backup to a removable drive on the customer site. Then transport the removable drive to the data center and copy the data directly onto the AhsayCBS / Predefined destination, bypassing the Internet. This procedure is highly recommended for backup set with large data size and/or networks with slow connection speed.

Although the instruction is described for AhsayCBS / Predefined destination, the same steps can also be performed for other backup destinations like FTP, SFTP and Cloud Storage destination.

This process is called "Seed Load" in version 6. Refer to How to perform the initial backup to a removable drive then import the data (seedload) onto its backup destination (Windows) for instructions on Windows.

Solution

  1. First, configure the backup set to perform the initial backup to a local destination (e.g. removable hard drive).

    1. Login to AhsayOBM, execute the RunConfigurator.sh script file in the AhsayOBM installation bin folder.

      Login Menu

    2. Export the backup set setting by choosing 3, then the number of the corresponding backup set (e.g. we will export the setting of "backup_set").

      Main Menu

      It is assumed that the 'import destination', in this case AhsayCBS / Predefined destination has already been added to the backup set.
    3. Exit from AhsayOBM (e.g. choose 8 in the RunConfigurator.sh script), then go to the backupSet.xml file location (e.g. /root/.obm/config/backupSet.xml).

      backupSet.xml path

    4. Edit the backupSet.xml file with a text editor.

      backupSet.xml

    5. Next, add the local destination (e.g. directory path to the removable drive or on the client computer) as one of the backup destination of the backup set.

      Insert the following entries into the backupSet.xml file (edit the value of the Name and Directory according to your setup), make sure that you are adding the entries at the correct location as shown in the example.

      Local Destination Path

      In the above example, the local destination path is /usr/local/obm/local_dest and the destination name is Local Dest.

      For more details on the backupSet.xml template, refer to the Appendix of the AhsayOBM Overview Guide for Linux (CLI).

    6. Save then exit from the text editor.
    7. Login to AhsayOBM, execute the RunConfigurator.sh script again.
    8. Import the backup set setting by choosing 4, then Y when prompted for confirmation.

      Import Backup Set

    9. Confirm that both the 'import destination' (e.g. AhsayCBS or Predefined destination) and the 'local destination' (e.g. path to the removable drive or on the client computer) are added.

      Choose 1 to list the backup set, then the number of the corresponding backup set.

      Backup Set Details

      In the above example, the 'local destination' (e.g. Local Dest) was added properly and the 'import destination' (e.g. AhsayCBS) was also listed.
  2. Next, perform the initial backup to the local destination (e.g. removable hard drive).

    1. Edit the RunBackupSet.sh file in the AhsayOBM installation bin folder with a text editor.

      In this example, edit the file by adding the corresponding backup set's name (e.g. backup_set), the local destination's name (e.g. Local Dest). Also enable Full delta mode for full backup.

      RunBackupSet.sh

    2. Save then exit from the text editor.
    3. Execute the RunBackupSet.sh file afterward.

      Run Backup Set

  3. Import the data from the local destination (e.g. removable hard drive) to the AhsayCBS and Predefined destination (e.g. Google Drive, OneDrive, Dropbox).

    Copy the data (the entire 'backupset_id' folder) from the removable drive at %Local_Destination%\%backupset_id%\*.

    Import the data to:

    • AhsayCBS by copying to the user home path of the corresponding backup user at %User_Home%\username\.

      Example:

      %Local_Destination%\1614311678846\*

      to

      %User_Home%\username\1614311678846\*

    • Google Drive destination by copying to the corresponding location on Google Drive at My Drive > Ahsay > %backupset_id%.

      Google Drive

      Example:

      %Local_Destination%\1614311678846\*

      to

      My Drive > Ahsay > 1614311678846

    • OneDrive destination by copying to the corresponding location on OneDrive at My files > Apps > Ahsay > %backupset_id%.

      OneDrive

      Example:

      %Local_Destination%\1614311678846\*

      to

      My files > Apps > Ahsay > 1614311678846

    • Dropbox destination by copying to the corresponding location on Dropbox at All files > Apps > Ahsay > %backupset_id%.

      Dropbox

      Example:

      %Local_Destination%\1614311678846\*

      to

      All files > Apps > Ahsay > 1614311678846

    Do not perform another backup job while the data are being copied from the removable hard drive to the backup destination.

    Administrator can:

    • Temporarily suspend the backup user while the data are being copied, and
    • Temporarily disable the backup schedule(s) of the corresponding backup set.

  4. Perform a Data Integrity Check for the corresponding backup set.

    Refer to How to run a Data Integrity Check on Linux (CLI) machine? for instructions.

  5. The import procedure is completed.

    Re-enable the backup user and/or backup schedule(s), then remove the local destination (e.g. removable hard drive) via the AhsayCBS web console afterward.

    Destination Path

It is strongly recommended that all backup sets are configured to backup to multiple backup destinations, to provide user with data redundancy and backup / restore flexibility.