public:8106_faq:how_to_perform_a_seedload_backup_and_import_cli

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
public:8106_faq:how_to_perform_a_seedload_backup_and_import_cli [2021/02/26 19:01]
edward.chan
public:8106_faq:how_to_perform_a_seedload_backup_and_import_cli [2021/12/14 08:50] (current)
anna.olalia
Line 1: Line 1:
-=====  FAQ: How to perform the initial backup to a removable drive then import the data onto its backup destination (command-line interface (CLI))? ​  =====+===== [V8] FAQ: How to perform the initial backup to a removable drive then import the data onto its backup destination (command-line interface (CLI))? ​  =====
  
 <​html>​ <​html>​
  <​b>​  <​b>​
   Article ID:</​b>​ 8106   Article ID:</​b>​ 8106
- <​br/>+ <​br>​
  <​b>​  <​b>​
-  Reviewed:</​b> ​26/02/2021 +  Reviewed:</​b>​ 2021-03-02 
- <​br/+ <​br>​ 
- <​br/>+ <​br>​
  <​b>​  <​b>​
   Product Version:   Product Version:
  </​b>​  </​b>​
- <​br/+ <​br>​ 
- Ahsay Software: 8.1 or above + Ahsay Software: 8.1 to 8.x 
- <​br/>+ <​br>​
  OS: Linux  OS: Linux
 </​html>​ </​html>​
  
  
-====== Description =====+===== Description =====
    
 <​html>​ <​html>​
 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 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+This procedure is highly recommended for the backup set with large data sizes and or networks ​with slow connection ​speeds
- <​br/+ <​br>​ 
- <​br/>+ <​br>​
  ​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.  ​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.
- <​br/+ <​br>​ 
- <​br/+ <​br>​ 
- <​b>​Note</​b>:​ This process is called "Seed Load" in version 6.+ <​b>​Note</​b>:​ This process is called "Seed Load" in version 6. <a target=_blank href="​https://​wiki.ahsay.com/​doku.php?​id=public:​8052_faq:​how_to_perform_a_seedload_backup_and_import">​Click Here</​a>​ for instruction on Windows.
 </​html>​ </​html>​
  
Line 37: Line 37:
 <​html>​ <​html>​
  Refer to the following steps for details:  Refer to the following steps for details:
- <​br/+ <​br>​ 
- <​br/>+ <​br>​
  
  
Line 44: Line 44:
   1. First, configure the backup set to perform the initial backup to a local destination (e.g. the removable hard drive).   1. First, configure the backup set to perform the initial backup to a local destination (e.g. the removable hard drive).
  </​b>​  </​b>​
- <​br/>+ <​br>​
  <​ul>​  <​ul>​
   <​li><​font color=black>​   <​li><​font color=black>​
Line 296: Line 296:
   2. Next, perform the initial backup to the local destination (e.g. the removable hard drive).   2. Next, perform the initial backup to the local destination (e.g. the removable hard drive).
  </​b>​  </​b>​
- <​br/+ <​br>​ 
- <​br/>+ <​br>​
  <​ul>​  <​ul>​
   <​li><​font color=black>​   <​li><​font color=black>​
Line 393: Line 393:
        
   </​font></​li>​   </​font></​li>​
-   +
-   +
-  ​+
   ​   ​
   <​li><​font color=black>​   <​li><​font color=black>​
Line 402: Line 400:
    <​br>​    <​br>​
    </​font></​li>​    </​font></​li>​
-  ​ 
   ​   ​
   ​   ​
   <​li><​font color=black>​   <​li><​font color=black>​
    ​Execute the RunBackupSet.sh file afterward:    ​Execute the RunBackupSet.sh file afterward:
-   <​br/+   <​br>​ 
-   <​br/+   <​br>​ 
-  </font></​li+   <table border="​0"​ cellpadding="​0"​ cellspacing="​0"​ width="​750">​ 
-   +    <​tr>​ 
-   +     <​td style="​BACKGROUND-COLOR:​ black">​ 
-   +      ​<​font ​size=2 color=white><p style="​font-family:​courier;"> ​  
-  <li><font color=black+      root@hostname:​/usr/​local/​obm/​bin#​ sh RunBackupSet.sh<​br
-   Under 'Destination', deselect all destinations except for the newly created local destination+-<br> 
-   ​<​br><​br>​ +Using APP_HOME ​     : /​usr/​local/​obm<​br>​ 
-      <img style="​width:75%; border:thin solid black" src="​http://wiki.ahsay.com/lib/exe/fetch.php?​media=public:5152_6.png"/> +Using SETTING_HOME ​ : <br> 
-   ​<br/+Using JAVA_HOME ​    : /​usr/​local/​obm/​jvm<br> 
-   ​<​br/>​ +Using JAVA_EXE ​     : /​usr/​local/​obm/​jvm/​bin/​java<br> 
-  </font></li+Using JAVA_OPTS ​    : -Xrs -Xms128m -Xmx768m -XX:​MaxDirectMemorySize=512m -client -Dsun.nio.PageAlignDirectMemory=true<​br
-   +Using JNI_PATH ​     : -Djava.library.path=.:​./​LinX64<​br>​ 
-   +Using CLASSPATH ​    : .:​./​cb.jar<​br>​ 
-   +-<​br>​ 
-  <li><font color=black+Running Backup Set - 'backup_set' ​...<​br>​ 
-   Click 'Backup' to start the initial backup. +[2021/02/26 19:04:26] [info] [-] Start [ AhsayOBM v8.5.0.63 ]<br> 
-  </​font></​li>​+[2021/02/26 19:04:26] [info] [-] Saving encrypted backup set encryption keys to server...<br> 
 +[2021/02/26 19:04:28] [info] [1614318606096] Start Backup ... [In-File Delta: Full]<​br>​ 
 +[2021/02/26 19:04:28] [info] [1614318606096] Using Temporary Directory /​root/​temp/​1614311678846/​Local@1614318606096<br> 
 +[2021/02/26 19:04:31] [info] [-] Start running pre-commands<​br>​ 
 +[2021/02/26 19:04:31] [info] [-] Finished running pre-commands<​br>​ 
 +[2021/02/26 19:04:31] [info] [1614318606096] Downloading server file list...<​br>​ 
 +[2021/02/26 19:04:34] [info] [1614318606096] Downloading server file list... Completed<​br>​ 
 +[2021/02/26 19:04:35] [info] [1614318606096] Reading backup source from hard disk...<​br>​ 
 +[2021/02/26 19:04:35] [info] [1614318606096] [New Directory]... /<br
 +[2021/02/26 19:04:35] [info] [1614318606096] [New Directory]... /usr<​br>​ 
 +[2021/02/26 19:04:35] [info] [1614318606096] [New Directory]... /usr/local<br
 +[2021/02/26 19:04:35] [info] [1614318606096] [New Directory]... /​usr/​local/​backup_source<​br
 +[2021/02/26 19:04:36] [info] [1614318606096] Reading backup source from hard disk... Completed<br> 
 +[2021/02/26 19:04:36] [info] [1614318606096] [New File]... 100% of "/​usr/​local/​backup_source/​dir/​.../​data"<​br> 
 +[2021/02/26 19:04:36] [info] [1614318606096] [New File]... 100% of "/​usr/​local/​backup_source/​dir/​.../​data"​<br> 
 +[2021/02/26 19:04:37] [info] [1614318606096] Start validating the presence and size of backup data in destination "​local_dest"​...<​br
 +<br> 
 +...<​br>​ 
 +...<​br>​ 
 +<br> 
 +[2021/02/26 19:04:43] [info] [1614318606096] Deleting temporary file /​root/​temp/​1614311678846/​Local@1614318606096<br
 +[2021/02/26 19:04:44] [info] [1614318606096] ​Backup ​Completed Successfully<​br>​ 
 +    </​td>​ 
 +    </​tr>​ 
 +   </​table> ​  
 +   </​font></​li>​ 
 + 
  </​ul>​  </​ul>​
- <​br/>+ <​br
 +<br>
  
  
  
  <​b>​  <​b>​
-  3. Import the data from the local destination (e.g. the removable hard drive) to the AhsayCBS ​server.+  3. Import the data from the local destination (e.g. the removable hard drive) to the AhsayCBS ​and Predefined destination (e.g. Google Drive, OneDrive, Dropbox).
  </​b>​  </​b>​
- <​br/+ <​br>​ 
- <​br/>+ <​br>​
  <​ul>​  <​ul>​
   <​li><​font color=black>​   <​li><​font color=black>​
-   Copy the data (the entire 'blocks' folder) from the removable drive at: +   To import the data to <​b>​AhsayCBS</​b>,​ copy the data (the entire 'backupset_id' folder) from the removable drive at: 
-   <​br/+   <​br>​ 
-   <​br/+   <​br>​ 
-   ​%Local_Destination%\<font color=#​FF0000>​%backupset_id%\blocks\*</​font>​ +   ​%Local_Destination%/<font color=#​FF0000>​%backupset_id%/*</​font>​ 
-   <​br/+   <​br>​ 
-   <​br/>+   <​br>​
    to the user home path of the corresponding backup user at:    to the user home path of the corresponding backup user at:
-   <​br/>​ +   <​br
-   <​br/>​ +   <​br>​ 
-   ​%User_Home%\username\<font color=#​FF0000>​%backupset_id%\</​font>​+   ​%User_Home%/username/ 
 +   <​br
 +   <​br
 +   For example: 
 +   <​br>​ 
 +   <​br>​ 
 +   ​%Local_Destination%/1614311678846/​* 
 +   <​br>​ 
 +   <​br>​ 
 +   to 
 +   <​br>​ 
 +   <​br
 +   ​%User_Home%/username/​1614311678846/​* 
 +   <​br>​ 
 +   <​br>​ 
 +   <​font color=#​FF0000><​b>​Important:</​b>​ Do not perform another backup job while the data are being copied from the removable hard drive to the backup destination. 
 +    </​font>​ 
 +    <​br>​ 
 +    <​br>​ 
 +    Administrator can: 
 +    <​br>​ 
 +    <​br>​ 
 +    <​ul>​ 
 +     <​li><​font color=black>​ 
 +      Temporarily suspend the backup user while the data are being copied, and 
 +     </​font></​li>​ 
 +     <​li><​font color=black>​ 
 +      Temporarily disable the backup schedule(s) of the corresponding backup set. 
 +     </​font></​li>​ 
 +    </​ul>​ 
 +   </​b>​ 
 +  </​font></​li>​ 
 +  <​br>​ 
 +  <​br>​ 
 +   
 +   
 +  <​li><​font color=black>​ 
 +   To import the data to a <​b>​Google Drive destination</​b>,​ copy the data (the entire '​backupset_id'​ folder) from the removable drive at: 
 +   <​br>​ 
 +   <​br>​ 
 +   ​%Local_Destination%/<​font color=#​FF0000>​%backupset_id%/​*</​font>​ 
 +   <​br>​ 
 +   <​br>​ 
 +   to the corresponding location on Google Drive at: 
 +   <​br>​ 
 +   <​br>​ 
 +   My Drive > Ahsay > <font color=#​FF0000>​%backupset_id%</​font>​
    <​br><​br>​    <​br><​br>​
-      <img src="​http://​wiki.ahsay.com/​lib/​exe/​fetch.php?​media=public:​5152_7.png" style="​border:​thin solid black"/>​ +      <​img ​style="​width:​55%" ​src="​http://​wiki.ahsay.com/​lib/​exe/​fetch.php?​media=public:​8106_1.png"/>​ 
-   <​br/+   <​br>​ 
-   <​br/>+   <​br>​
    For example:    For example:
-   <​br/+   <​br>​ 
-   <​br/+   <​br>​ 
-   %Seedload_Destination%\1461745430428\blocks\+   %Local_Destination%/​1614311678846/​
-   <​br/+   <​br>​ 
-   <​br/>+   <​br>​
    to    to
-   <​br/+   <​br>​ 
-   <​br/+   <​br>​ 
-   %User_Home%\username\1461745430428\blocks\* +   My Drive > Ahsay > 1614311678846 
-   <​br/+   <​br>​ 
-   <​br/>+   <​br>​
    <​font color=#​FF0000><​b>​Important:</​b>​ Do not perform another backup job while the data are being copied from the removable hard drive to the user home path on AhsayCBS.    <​font color=#​FF0000><​b>​Important:</​b>​ Do not perform another backup job while the data are being copied from the removable hard drive to the user home path on AhsayCBS.
     </​font>​     </​font>​
-    <br/+    <​br>​ 
-    <br/>+    <br>
     Administrator can:     Administrator can:
-    <br/+    <​br>​ 
-    <br/>+    <br>
     <ul>     <ul>
      <​li><​font color=black>​      <​li><​font color=black>​
Line 480: Line 550:
     </ul>     </ul>
    </​b>​    </​b>​
-  </​font></​li>​+  </​font></​li> ​  
 +  <​br>​ 
 +  <​br>​ 
 +   
 +   
 +  <​li><​font color=black>​ 
 +   To import the data to a <​b>​OneDrive destination</​b>,​ copy the data (the entire '​backupset_id'​ folder) from the removable drive at: 
 +   <​br>​ 
 +   <​br>​ 
 +   ​%Local_Destination%/<​font color=#​FF0000>​%backupset_id%/​*</​font>​ 
 +   <​br>​ 
 +   <​br>​ 
 +   to the corresponding location on OneDrive at: 
 +   <​br>​ 
 +   <​br>​ 
 +   My files > Apps > Ahsay > <font color=#​FF0000>​%backupset_id%</​font>​ 
 +   <​br><​br>​ 
 +      <img style="​width:​55%"​ src="​http://​wiki.ahsay.com/​lib/​exe/​fetch.php?​media=public:​8106_2.png"/>​ 
 +   <​br>​ 
 +   <​br>​ 
 +   For example: 
 +   <​br>​ 
 +   <​br>​ 
 +   ​%Local_Destination%/​1614311678846/​* 
 +   <​br>​ 
 +   <​br>​ 
 +   to 
 +   <​br>​ 
 +   <​br>​ 
 +   My Drive > Ahsay > 1614311678846 
 +   <​br>​ 
 +   <​br>​ 
 +   <​font color=#​FF0000><​b>​Important:</​b>​ Do not perform another backup job while the data are being copied from the removable hard drive to the user home path on AhsayCBS. 
 +    </​font>​ 
 +    <​br>​ 
 +    <​br>​ 
 +    Administrator can: 
 +    <​br>​ 
 +    <​br>​ 
 +    <​ul>​ 
 +     <​li><​font color=black>​ 
 +      Temporarily suspend the backup user while the data are being copied, and 
 +     </​font></​li>​ 
 +     <​li><​font color=black>​ 
 +      Temporarily disable the backup schedule(s) of the corresponding backup set. 
 +     </​font></​li>​ 
 +    </​ul>​ 
 +   </​b>​ 
 +  </​font></​li> ​  
 +  <​br>​ 
 +  <​br>​ 
 +   
 +   
 +  <​li><​font color=black>​ 
 +   To import the data to a <​b>​Dropbox destination</​b>,​ copy the data (the entire '​backupset_id'​ folder) from the removable drive at: 
 +   <​br>​ 
 +   <​br>​ 
 +   ​%Local_Destination%/<​font color=#​FF0000>​%backupset_id%/​*</​font>​ 
 +   <​br>​ 
 +   <​br>​ 
 +   to the corresponding location on Dropbox at: 
 +   <​br>​ 
 +   <​br>​ 
 +   ​Dropbox > Apps > Ahsay > <font color=#​FF0000>​%backupset_id%</​font>​ 
 +   <​br><​br>​ 
 +      <img style="​width:​55%"​ src="​http://​wiki.ahsay.com/​lib/​exe/​fetch.php?​media=public:​8106_3.png"/>​ 
 +   <​br>​ 
 +   <​br>​ 
 +   For example: 
 +   <​br>​ 
 +   <​br>​ 
 +   ​%Local_Destination%/​1614311678846/​* 
 +   <​br>​ 
 +   <​br>​ 
 +   to 
 +   <​br>​ 
 +   <​br>​ 
 +   My Drive > Ahsay > 1614311678846 
 +   <​br>​ 
 +   <​br>​ 
 +   <​font color=#​FF0000><​b>​Important:</​b>​ Do not perform another backup job while the data are being copied from the removable hard drive to the user home path on AhsayCBS. 
 +    </​font>​ 
 +    <​br>​ 
 +    <​br>​ 
 +    Administrator can: 
 +    <​br>​ 
 +    <​br>​ 
 +    <​ul>​ 
 +     <​li><​font color=black>​ 
 +      Temporarily suspend the backup user while the data are being copied, and 
 +     </​font></​li>​ 
 +     <​li><​font color=black>​ 
 +      Temporarily disable the backup schedule(s) of the corresponding backup set. 
 +     </​font></​li>​ 
 +    </​ul>​ 
 +   </​b>​ 
 +  </​font></​li> ​    
 +     
 +   
 +  ​
  </​ul>​  </​ul>​
  <​br>​  <​br>​
Line 488: Line 657:
   4. Perform a Data Integrity Check for the corresponding backup set.   4. Perform a Data Integrity Check for the corresponding backup set.
  </​b>​  </​b>​
- <​br/+ <​br>​ 
- <​br/>+ <​br>​
  <​ul>​  <​ul>​
   <​li><​font color=black>​   <​li><​font color=black>​
-  ​Login to the AhsayOBM / ACB client user interface.</​font></​li>​+  ​Refer to the following article for instruction:​
   <br>   <br>
-  ​ 
-  <​li><​font color=black>​ 
-  Select the '​Utilities'​ tile, "Data Integrity Check",​ then the corresponding backup set and backup destination.</​font></​li>​ 
   <br>   <br>
-  ​ +  <a target=_blank href="https://​wiki.ahsay.com/​doku.php?id=public:8008_faq:how_to_run_a_data_integrity_check_on_linux_cli">FAQ: How to run a Data Integrity Check on Linux (CLI) machine?<​/a
-  ​<li><​font color=black> +  </​font></​li>​
-  Then click "​Start":​ +
-  <​br><​br>​ +
-  <img style="width:75%; border:thin solid black" src="​http://​wiki.ahsay.com/​lib/​exe/​fetch.php?media=public:8052_faq:OBMv83211-DIC2.png"/>​ +
-    +
-</​font></​li>​+
  </​ul>​  </​ul>​
 <br> <br>
Line 512: Line 673:
   5. The import procedure is completed.   5. The import procedure is completed.
  </​b>​  </​b>​
- <​br/+ <​br>​ 
- <​br/>+ <​br>​
  <​ul>​  <​ul>​
   <​li><​font color=black>​   <​li><​font color=black>​
-   ​Re-enable the backup user and / or backup schedule(s),​ then remove the local destination (e.g. the removable hard drive) afterward:+   ​Re-enable the backup user and / or backup schedule(s),​ then remove the local destination (e.g. the removable hard drive) ​via the AhsayCBS web console ​afterward:
    <​br><​br>​    <​br><​br>​
-      <img style="​width:​75%; border:thin solid black" src="​http://​wiki.ahsay.com/​lib/​exe/​fetch.php?​media=public:​5152_8.png"/>​+      <img style="​width:​55%" src="​http://​wiki.ahsay.com/​lib/​exe/​fetch.php?​media=public:​8106_4.png"/>​
   </​font></​li>​   </​font></​li>​
  </​ul>​  </​ul>​
Line 527: Line 688:
 ===== Keywords ===== ===== Keywords =====
 <​html>​ <​html>​
- ​seedload,​ import, local, cloud, network, removable, export+ ​seedload,​ import, local, cloud, network, removable, export, nix
 </​html>​ </​html>​
public/8106_faq/how_to_perform_a_seedload_backup_and_import_cli.1614337268.txt.gz · Last modified: 2021/02/26 19:01 by edward.chan

Page Tools