Backup your Linux server using the Command line Utility

Follow the below steps to backup / restore:

Steps:
  1. Contact support for the command line utility download link.
  2. Command Line Utility (idevsutil) - Download

    Version 1.0.2.8 (Released on 03/18/2015)

    Command Line Utility for Synology

    Command Line Utility for QNAP

    Command Line Utility for Netgear

    Command Line Utility - Universal build for Linux

  3. Configure your account with Encryption
    1. Configure with 'Default Encryption'
      Syntax:

      $ idevsutil --config-account --enc-type=DEFAULT --user=<username> --password-file=<account password>

      • --enc-type:
        --enc-type=DEFAULT to set default encryption for your IDrive account.
      • Username:
        IDrive username. If you do not have a valid username Sign up with IDrive.
      • --password-file=PATH_OF_PSWD_FILE
        Reads account password from the specified file. Alternately, you can directly set the password using --password-file= <account password>
      Code:

      $ idevsutil --config-account --enc-type=DEFAULT --user=<username> --password-file="MyPassword"


      Output:

      <tree message="SUCCESS" desc="ACCOUNT CONFIGURED" ⁄>

    2. Configure with 'Private Encryption'
      Syntax:

      $ idevsutil --config-account --enc-type=PRIVATE --pvt-key=<key file path> --user=<username> --password-file=<account password>

      • --enc-type:
        --enc-type=PRIVATE to set private encryption key for your IDrive EVS account.
      • --pvt-key=PATH_OF_PVT_KEY_FILE:
        Reads private encryption key for AES 256-bit encryption for all data transfers. Private encryption key length can vary from minimum of 4 characters to maximum of 255 characters.
      • Username:
        IDrive username. If you do not have a valid username Sign up with IDrive.
      • --password-file=PATH_OF_PSWD_FILE
        Reads account password from the specified file. Alternately, you can directly set the password
        using  --password-file=<account password>
  4. Backup files / folders to your account
    1. To start, open a notepad, write the file / folder paths you wish to backup and save it.
      Example: 'filelist.txt' content


    2. To perform full / incremental backups follow the below details:
      Syntax:

      --files-from=FILE : Reads the list of file(s) / folder(s) path names that you wish to backup to your IDrive account.

      $ idevsutil --xml-output --pvt-key=<key file path> --files-from=<path of filelist file> / <username>@<server address>::home/


      Note:

      --pvt-key parameter is optional and is not required if your account is configured with "default encryption key".


      Code:

      $ idevsutil --xml-output --pvt-key=enc_key --files-from=filelist.txt / john@<server address>::home/

    3. To restore a particular file(s) / folder(s) follow the below details:
      Syntax:

      --files-from=FILE : Reads the list of file(s) / folder(s) path names that you wish to restore from your IDrive account.

      $ idevsutil --xml-output --pvt-key=<key file path> --files-from=<path of filelist file> <username>@<server address>::home/ /<download location on your computer>/


      Note:

      --pvt-key parameter is optional and is not required if your account is configured with "default encryption key".


      Code:

      $ idevsutil --xml-output --pvt-key=enc_key --files-from =filelist.txt john@<server address>::home/ /C/download_data/