I'm having following problem with backup scripts. When I type the password and encryption key into CONFIGURATION_FILE and connect into my account with login.pl, backup via Backup_Script.pl works just fine. However, if I add the scheduled task into my crontab file by using Scheduler_Script.pl, it adds crontab line correctly, but backup is not executed in specified time. Instead, there is a following error in the log files:
@ERROR: auth failed on module ibackup from <my_localhost> (<my_ip_address>): encryption verification failed
When I check the traceLog.txt, there is the same error message with following lines:
File: Backup_Script.pl
----------------------------------------
--files-from=./BackupsetFile.txt
--type
--password-file=/home/<user>/Apps/idrive/<account_name>/.IDPWD_SCH
--proxy=
--encode
--o=./output.txt
--e=./error.txt
/
<account_name>@<my_ip_address>::home/<computer_name>/
Error file content:
@ERROR: auth failed on module ibackup from <my_localhost> (<my_ip_address>): encryption verification failed
idevs error: error starting client-server protocol (code 5) at main.c(2835) [sender=1.0.2.6]
Backup_Script.pl is executed with argument "1", which should get the password and encryption key from encrypted _SCH -files. However, it seems that encryption key is not used when establishing connection although .IDPVT_SCH file exists. Is this a bug in these scripts?
My OS is Ubuntu 14.04.1 LTS
idevsutil v. 1.0.2.6
Perl v.5.18.2