SID-01273: twiki/bin/./backuprestore create_backup
| Status: |
Answered |
TWiki version: |
5.1.0 |
Perl version: |
5.8.8 |
| Category: |
BackupRestorePlugin |
Server OS: |
Centos 5.6 |
Last update: |
14 years ago |
sudo -u apache /var/www/twiki/bin/./backuprestore create_backup returns:
Can't locate setlib.cfg in
@INC
(
@INC
contains: . /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8) at /var/www/twiki/bin/./backuprestore line 39.
at /var/www/twiki/bin/./backuprestore line 39
main::BEGIN() called at setlib.cfg line 41
eval {...} called at setlib.cfg line 41
BEGIN failed--compilation aborted at /var/www/twiki/bin/./backuprestore line 41.
at /var/www/twiki/bin/./backuprestore line 41
What gives?
--
JanRyen - 2011-09-13
Discussion and Answer
You first need to change to the directory as seen in the cron example at
BackupRestorePlugin
--
PeterThoeny - 2011-09-13
I improved the docs accordingly.
--
PeterThoeny - 2011-09-13
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.