backup.pl script not working running OTRS on Debian system

Dear All, I have tried to use the backup.pl script on a Debian system but I have not succeeded up to now. I have created a directory /backup and performed chown otrs:www-data /backup to make it writable for the otrs user. I have tested that i can create files in this directory as the user otrs. When i run the backup.pl script with the following command "sudo -u otrs ./backup.pl -d /backup" I get the following message:
done Backup /backup/2006-04-08_07-19/Config.tar.gz ... tar: h: Cannot open: Permission denied tar: Error is not recoverable: exiting now tar: Removing leading `/' from member names tar: /backup/2006-04-08_07-19/Config.tar.gz: Cannot stat: No such file or directory failed Backup /backup/2006-04-08_07-19/Application.tar.gz ... tar: h: Cannot open: Permission denied tar: Error is not recoverable: exiting now tar: Removing leading `/' from member names tar: /backup/2006-04-08_07-19/Application.tar.gz: Cannot stat: No such file or directory failed Dump MySQL rdbms ... done Compress SQL-file... done
What am I doing wrong? Regards, Jurgen
participants (1)
-
Jurgen de Wijs