
Dear Gerald
This is screen capture on Debian,
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue Jul 24 16:45:54 2012
root@ticketing:~# cd /opt/otrs/scripts/
root@ticketing:/opt/otrs/scripts# ls | more
apache2-httpd.include.conf
apache2-perl-startup.pl
auto_build
auto_build.sh
auto_docbuild.sh
backup --> see I already make a folder name backup
backup.pl
for folder permission
root@ticketing:/opt/otrs/scripts# ls -a -l | more
total 572
drwxrwxr-x 7 otrs www-data 4096 Jul 25 09:08 .
drwxrwxrwx 8 root root 4096 Jul 20 16:46 ..
-rw-rw-r-- 1 otrs www-data 2099 Nov 6 2011 apache2-httpd.include.conf
-rwxrwxr-x 1 otrs www-data 7360 Dec 13 2011 apache2-perl-startup.pl
drwxrwxr-x 2 otrs www-data 4096 Jun 4 14:31 auto_build
-rw-rw-r-- 1 otrs www-data 10568 Feb 9 19:33 auto_build.sh
-rw-rw-r-- 1 otrs www-data 4047 Feb 26 2009 auto_docbuild.sh
drwxr-xr-x 2 otrs www-data 4096 Jul 25 09:08 backup
-rwxrwxr-x 1 otrs www-data 7721 Jan 10 2011 backup.pl
drwxrwxr-x 3 otrs www-data 4096 Jun 4 14:31 database
when I execute backup.pl
root@ticketing:/opt/otrs/scripts# bash
root@ticketing:/opt/otrs/scripts# ./backup.pl -d backup/
ERROR: Can't create directory: backup//2012-07-25_09-36: No such file or directory
root@ticketing:/opt/otrs/scripts#
This is from my Centos 6 Machine (correction I used CentOS 6 Minimal) :)
[root@localhost scripts]# ls -a -l | more
total 572
drwxrwxr-x 7 otrs apache 4096 Jul 24 23:02 .
drwxr-xr-x 8 root root 4096 Jul 24 05:30 ..
-rw-rw-r-- 1 otrs apache 2099 Jun 4 14:36 apache2-httpd.include.conf
-rwxrwxr-x 1 otrs apache 7360 Jun 4 14:36 apache2-perl-startup.pl
drwxrwxr-x 2 otrs apache 4096 Jul 24 05:30 auto_build
-rw-rw-r-- 1 otrs apache 10568 Jun 4 14:36 auto_build.sh
-rw-rw-r-- 1 otrs apache 4047 Jun 4 14:36 auto_docbuild.sh
drwxr-xr-x 2 otrs apache 4096 Jul 24 23:02 backup
-rwxrwxr-x 1 otrs apache 7721 Jun 4 14:36 backup.pl
drwxrwxr-x 3 otrs apache 4096 Jul 24 05:30 database
This I when I try run backup.pl
[root@localhost scripts]# bash
[root@localhost scripts]# ./backup.pl -d backup/
ERROR: Can't create directory: backup//2012-07-25_16-47: No such file or directory
[root@localhost scripts]#
Any idea :( hiks hiks..
From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] On Behalf Of Gerald Young
Sent: Tuesday, July 24, 2012 6:57 PM
To: User questions and discussions about OTRS.
Subject: Re: [otrs] Backup on OTRS
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