Backup your Linux
Option 1:
Use the Backup Scripts
Schedule your backups automatically, receive email notifications, view your log reports and also restore them back by using the scripts.
Click here for the steps to proceed with the script execution.
Option 2:
Use the Command Line Utility
You can also download and use the Command Line Utility to backup your Linux. Click here for the steps to backup.
Steps:
1. Click here to download the command line utility
2. Configure your account with Encryption
a. 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 IBackup account.
- Username:
IBackup username. If you do not have a valid username Sign up with IBackup.
- --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"/> |
b. 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 IBackup 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:
IBackup username. If you do not have a valid username Sign up with IBackup.
- --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>
|
3. Backup files / folders to your account
a. To start, open a notepad, write the file / folder paths you wish to backup and save it.
Example:
'filelist.txt' content
- /C/DATA/Editors choice.rtf
- /C/DATA/office_inventory.doc
- /C/DATA/tax_details.xls
- /C/DOC/daily_status.doc
- /C/DOC/Features.xls
- /C/DOC/inventory/
- /C/DOC/Monthly Statement/
|
b. 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 IBackup 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/ |
c. 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 IBackup 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/ |
Note:
For complete details on Backup / Restore APIs visit http://evs.ibackup.com
|