If you received such an error, it is likely not lying to you that there is no writable directory named "backup" in the root "/" of your filesystem. Either create it or specify an alternate path to dump the backup.

On Tue, Jul 24, 2012 at 7:18 AM, Steve Clark <sclark@netwolves.com> wrote:
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

---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs