Sidebar

Announcement

Ahsay Backup Software

Backup Set Types

Supported Storage

Features in OBM / ACB

Features in CBS

Brand and Customize

License

Documentation

Performance Testing

FAQs and Known Issues

Can't Find What You Need?

public:8106_faq:how_to_perform_a_seedload_backup_and_import_cli

This is an old revision of the document!


FAQ: How to perform the initial backup to a removable drive then import the data onto its backup destination (command-line interface (CLI))?

Article ID: 8106
Reviewed: 26/02/2021

Product Version:
Ahsay Software: 8.1 or above
OS: Linux

Description

This 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 network 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 destinations.

Note: This process is called "Seed Load" in version 6.

Steps

Refer to the following steps for details:

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

  • Login to AhsayOBM, execute the RunConfigurator.sh script file:

    root@hostname:/usr/local/obm/bin# sh RunConfigurator.sh

    Startup Ahsay Online Backup Manager ...
    Config file found

    Login Menu
    -----------
      (1). Login
      (2). Change Network Settings
      (3). Forgot Password
      (4). Quit
    -----------
    Your Choice:

  • Export the backup set setting by choosing 3, then the number of the corresponding backup set number (e.g. in this example, we will export the setting of backup set "backup_set"):

    Main Menu
    ---------
      (1). List Backup Sets
      (2). Delete Backup Set
      (3). Export Backup Set Settings to XML
      (4). Import Backup Set Settings from XML
      (5). Generate new Backup Set Settings Template
      (6). Change Language [English]
      (7). Update Profile Settings
      (8). Quit
    ---------
    Your Choice: 3

    Choose your backup set to generate XML file
    -------------------------------------------
      (1). backup_set
    -------------------------------------------
    Your Choice: 1

    XML file successfully exported to /root/.obm/config/backupSet.xml

    Note: It is assumed that the 'import destination', in this case the CBS / Predefined destination had already been added to the backup set.

  • Exit from AhsayOBM (e.g. choose 8 in the RunConfigurator.sh script), then browse to the backupSet.xml file location (e.g. /root/.obm/config/backupSet.xml):

    root@hostname:/usr/local/obm/bin# cd /root/.obm/config/

  • Edit the backupSet.xml file with a text editor such as VI Editor:

    root@hostname:~/.obm/config# vi backupSet.xml

  • 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 Local Path according to your setup), make sure that you are adding the entries at the correct location as shown in this example:

    <!-- This is the collection of destinations -->
    <Key name="Destination Settings">
       <Value data="1" name="concurrency-level" type="integer"/>
       <Key name="Local Destination Settings">
       <Value data="Local Dest" name="Name" type="string" />
       <Value data="/usr/local/obm/local_dest" name="Local Path" type="string" />
       </Key>
    </Key>

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

  • Save then exit from the text editor.

  • Login to AhsayOBM, execute the RunConfigurator.sh script file again.

  • Import the backup set setting by choosing 4, then Y when prompted for confirmation:

    Main Menu
    ---------
      (1). List Backup Sets
      (2). Delete Backup Set
      (3). Export Backup Set Settings to XML
      (4). Import Backup Set Settings from XML
      (5). Generate new Backup Set Settings Template
      (6). Change Language [English]
      (7). Update Profile Settings
      (8). Quit
    ---------
    Your Choice: 4

    Reading xml...
    Reading xml...Done
    Verifying destination 'AhsayCBS'...
    Verifying destination 'Local Dest'...
    Backup Set 'backup_set' already exist. Confirm overwrite? (Y/N) ? Y
    XML imported, uploading to server...

    XML successfully uploaded to server

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

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

    Main Menu
    ---------
      (1). List Backup Sets
      (2). Delete Backup Set
      (3). Export Backup Set Settings to XML
      (4). Import Backup Set Settings from XML
      (5). Generate new Backup Set Settings Template
      (6). Change Language [English]
      (7). Update Profile Settings
      (8). Quit
    ---------
    Your Choice: 1

    Select a Backup Set to show more details
    ----------------------------------------
      (1). backup_set
    ----------------------------------------
    Your Choice: 1

    Name : backup_set
    Owner : hostname
    Type : FILE
    Selected Source : /usr/local/backup_source
    Destination Name: local_dest , Type: Local
    Destination Name: AhsayCBS , Type: OBS
    Destination Name: GoogleDrive, Type: GDrive

    Note: In the above example, the 'local destination' (e.g. local_dest) was added properly, and the 'import destination' (e.g. AhsayCBS and a Google Drive Predefined destination) are also listed.


2. Next, perform the initial backup to the local destination (e.g. the removable hard drive).

  • In the client user interface, select the 'Backup' tile:



  • Select the corresponding backup set for backup:



  • Click on the 'Show advanced option' button, ensure that the 'In-File Delta' type is set to 'Full'.

  • Under 'Destination', deselect all destinations except for the newly created local destination:



  • Click 'Backup' to start the initial backup.

3. Import the data from the local destination (e.g. the removable hard drive) to the AhsayCBS server.

  • Copy the data (the entire 'blocks' folder) from the removable drive at:

    %Local_Destination%\%backupset_id%\blocks\*

    to the user home path of the corresponding backup user at:

    %User_Home%\username\%backupset_id%\



    For example:

    %Seedload_Destination%\1461745430428\blocks\*

    to

    %User_Home%\username\1461745430428\blocks\*

    Important: Do not perform another backup job while the data are being copied from the removable hard drive to the user home path on AhsayCBS.

    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.

  • Login to the AhsayOBM / ACB client user interface.

  • Select the 'Utilities' tile, "Data Integrity Check", then the corresponding backup set and backup destination.

  • Then click "Start":


5. The import procedure is completed.

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

Important: 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.

Keywords

seedload, import, local, cloud, network, removable, export

public/8106_faq/how_to_perform_a_seedload_backup_and_import_cli.1614330703.txt.gz · Last modified: 2021/02/26 17:11 by edward.chan

Page Tools