IBackup - online backup and online storage

Data Protection for your Linux machines using Scripts


Use IBackup’s scripts bundle to backup and keep your Linux data safe. With an IBackup online account you can protect files during transfer and storage, using 256-bit AES encryption with an optional private key.

System/Software Requirements

Linux(CentOS/Ubuntu/Fedora/openSUSE/FreeBSD/Linux Mint) - 32-bit/64-bit
Perl v5.8 or later

Script Download

Download the script bundle from here. Downloaded script bundle needs to be extracted into a particular folder on your Linux server.

After extraction of the zip archive, you will find scripts folder in it. Following files will be present in the scripts folder:

  1. Account_Setting.pl
  2. Backup_Script.pl
  3. Check_For_Update.pl
  4. Configuration.pm
  5. Constants.pm
  6. Edit_Supported_Files.pl
  7. express_backup.pl
  8. Header.pl
  9. Helpers.pm
  10. IxHash.pm
  11. job_termination.pl
  12. Login.pl
  13. Logout.pl
  14. Operations.pl
  15. readme.txt
  16. Restore_Script.pl
  17. Restore_Version.pl
  18. Scheduler_Script.pl
  19. Status_Retrieval_Script.pl
  20. Strings.pm
  21. Uninstall_Script.pl
  22. View_Log.pl

Provide an appropriate permission (executable permission) to the scripts.

Example: chmod a+x *.pl.

Set up your IBackup account
You need to have an IBackup account to use the script package to backup your files. In case you do not have one,
please create now.

To set up the script package locally with your IBackup account, run the below command and follow the instructions.


Note: While setting up script bundle for first time, users will be asked to enter the service path, which will contain user specific data required to perform operations via script bundle.

Working with the Scripts
Using the IBackup scripts, you can perform backup/express backup/restore operations. In addition, you can view progress for backup, restore, schedule backup/restore jobs, view logs files and much more.

Login to your IBackup account
If you are not logged in to your IBackup account while setting up your bundle package, run the below command:


Note: Login script is a mandatory script to be executed before performing any backup/express backup/restore operation. This script will authenticate your IBackup account details and will create a secure session for your backups.

Edit your backup set/express backup set/restore set, schedule backup set/restore set and exclude files
The user must provide the file or folder list required to backup/express backup/restore in the backup/express backup/restore set file respectively, before starting the operation. To update these details in the backup/express backup/restore set file you must execute the below command:


The menu option will be displayed. Select option 1 to edit backup set file for your immediate/manual backup. Respective file will open in vi editor to edit. Add the files/folders that needs to be backed up.

Using the same script you can update, exclude and even schedule backup/express backup/restore set file by selecting the desired option.

Immediate/Manual backup
You can perform immediate/manual backup using the below command:

When you run the backup script, it will reconfirm your backup location and allow you to change it. You can now view the graphical progress bar for your backup operations. Use “--silent” flag with the command, if you do not want the script to ask for the backup location or display progress bar.


Immediate/Manual express backup
You can perform immediate/manual express backup using the below command:


Using this script, users can backup their Linux machine data to the express device shipped to them. Once data is backed up, user can ship this express device back to us and within a week their data will be available in their IBackup account. For more details on express, visit IBackup Express™ for Linux.

Immediate/Manual restore
You can perform immediate/manual restore using the below command:

When you run the restore script, it will reconfirm the ‘restore’ and ‘restore from’ locations and will allow you to change it, if required. You can now view the graphical progress bar for your restore operations. Use “--silent” flag with the command, if you do not want the script to ask for restore location, restore from location, or display progress bar.


Schedule backup/restore
Run the below command to manage your schedule backup/restore job:

Select the desired menu option to create/edit or delete your schedule backup/restore job and follow the instructions. In case you want your schedule job to stop automatically at a scheduled time then set the cut-off time as well while following the instructions.


View progress of scheduled backup/restore job
To view the progress of scheduled backup or restore operation, run the below command:


View/restore previous versions of a file
You can view the list of previous versions of any file and select any version that you want to restore. To retrieve a file with earlier versions, run the below command:


Stop ongoing backup/express backup/restore operations
To stop an ongoing backup or express backup or restore operation, run the below command:


View backup/express backup/restore logs
You can view the backup or express backup or restore log files by running the below command:


Logout from your IBackup account
To end the logged in session for your IBackup account, run the below command:

User must logout (optional) from the account to avoid any unauthorized access to their IBackup account. After logout, user needs to login again to perform most of the operations.

Note: Your scheduled backup or restore job will run even after you log out.

Updating your script bundle
Every script when gets executed displays a header which provide details of logged in IBackup account. Same header also displays information on any newly available script bundle.

If you see a message A new update is available. Run Check_For_Update.pl to update to latest package indicates that a new improved version of script bundle is available.
To update to most recent available script bundle please perform the below command and follow the instructions:


Edit user details
In case you want to reconfigure your IBackup account locally due to any reason or want to edit user details locally for your configured IBackup account then please perform the below command.

Only if your account is already configured in current machine you will find the menu which will allow you to reconfigure your IBackup account locally or will allow you to edit the user details locally for your IBackup account. Select the desired option and follow the instructions.


Uninstalling your script bundle
Uninstalling the script package from your system will leave the files/folders of your system liable to digital disasters.

To uninstall the script bundle run the below command and follow the instructions.

This script will automatically remove all package script files and other dependency files. It will also cleanup the scheduled backup/restore jobs if any.

Script bundle have some more script files (Header.pl, Helpers.pm, Configuration.pm, Constants.pm, IxHash.pm, Strings.pm and Operations.pl) which are used internally by other scripts and user must not try to execute these scripts for any reason.