The utility backup_export.bat (on Windows) or backup_export.sh (on Unix) is located under <install directory>\bin. Since this utility doesn't have any scheduling options, a custom scheduling program is required.
For Linux: "Cron" Follow these steps:
1. Open the terminal or command prompt.
2. Type
crontab -e
and press Enter. This will open the cron table for editing.
3. If prompted, choose an editor (for example Nano) and add a new line at the end of the file to specify the cron job as below:
0 0 * * * <TDV install dir>/bin/backup_export.sh -server xxx.xx.x.xx -port 9400 -pkgfile /home/backup_export_test/FullServerBackup.car -user admin -password admin -verbose -encryptionPassword 123456
This cron job will run the
command_to_run
at 12:00 AM (midnight) every day.
4. Now press "Ctrl+X" and enter "Y" to save the file before exiting.
For Windows: Using "Task Scheduler" 1. Click on Start and search for "Task Scheduler".
2. Open it and click on "Create Basic Task" and enter all the details and create the task. The summary page will look as below:
3. Click "Finish".