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.
Linux(CentOS/Ubuntu/Fedora/openSUSE) - 32-bit/64-bit
Perl v5.8 or later
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:
Provide an appropriate permission (executable permission) to the scripts.
Example: chmod a+x *.pl.Setup 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/restore operations, view progress for backup/restore, schedule backup/restore job, 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/restore operation. This script will authenticate your IBackup account details and will create a secure session for your backups.
Edit your backup-set/restore-set, schedule backup-set/restore-set and exclude files
Before starting backup/restore operation, the user must provide the file/folder list required to backup/restore in backup/restore set file. To update these details in the 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 same script you can update exclude and even schedule backup/restore set file by selecting the desired option.
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.
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.
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/restore operations
To stop an ongoing backup or restore operation, run the below command:
View backup/restore logs
You can view the 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 few more script files (Header.pl, Constants.pm and Operations.pl) which are used internally by other scripts and user must not try to execute these scripts for any reason.