Automatic image creation using cron service
As a rule, disk/partition images are created regularly, often daily. To automate this operation, you can use the cron service familiar to many UNIX users.
As an example, let’s consider a situation where you (the system administrator) need to back up one or more disk partitions regularly.
Use the –list command to obtain the necessary partition number:
You need to back up partition 2-1. Let’s suppose a complete image has to be created weekly, supported by incremental images created daily.
To do this, place the respective executable files (e.g. trueimage.cron) into /etc/cron.daily and /etc/cron.weekly folders.
To initiate weekly creation of a complete image of partition 2-1, add the following line to the above file:
Where /mnt/backups/my_host/backup.tib is the name and path of the image.
The second executable file is needed to initiate daily creation of incremental images:
If needed, users can set up their own backup schedule. For more information, see Help on the cron service.