On 07/24/2012 05:16 AM, Adi Ariyanto wrote:

Hi, did someone ever meet this case ?

 

I try to backup my otrs with this command

./backup.pl -d /backup/

 

But I got “ERROR: No Such directory: /backup/

 

I google and found an post that said backup.pl not work on debian, my OTRS run on Debian, then I try install OTRS on CentOS then I try run backup.pl but found the same error.

 

What I have try

1.     Try to change group permission (chown)

a.     On Debian : chown otrs www-data /backup/

b.    On CentOS : chown otrs apache /backup/

 

Any idea ?


Hmm... On CentOS 5.x I use a shell script from a root cron job that
has
 
#!/bin/sh
/opt/otrs/scripts/backup.pl -d /opt/backups/

and it work just fine.

--
Stephen Clark
NetWolves
Director of Technology
Phone: 813-579-3200
Fax: 813-882-0209
Email: steve.clark@netwolves.com
http://www.netwolves.com