
Andrew Meyer пишет:
I am getting this when trying to run the backup script.
andrew@helpdesk:/var/www/otrs2$ /usr/share/otrs/scripts/backup.pl --help
Can't locate /etc/otrs/database.pm in @INC (@INC contains: /usr/share/otrs/Kernel/cpan-lib /usr/share/otrs /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/share/otrs/Kernel/Config.pm line 24.
BEGIN failed--compilation aborted at /usr/share/otrs/Kernel/Config.pm line 34.
Compilation failed in require at /usr/share/otrs/scripts/backup.pl line 36.
BEGIN failed--compilation aborted at /usr/share/otrs/scripts/backup.pl line 36.
It is in my opinion better to do backup not by means most OTRS, and scripts which simply would carry out dump databases and the files necessary to you. It can be put on automatic performance and you will not have similar problems. It is possible to write a script on sh. -- swood