Error while taking OTRS Backup Data

Moderator: crythias

Locked
rohit1
Znuny newbie
Posts: 73
Joined: 19 Feb 2011, 12:05
Znuny Version: 3.0.5

Error while taking OTRS Backup Data

Post by rohit1 »

Hi all,

I am trying to take the Backup of OTRS Data, i am following the same procedure given in the Admin Manual, but getting error while taking backup, the details are as below:

demo:scripts admin$ ./backup.pl --help
backup.pl <Revision 1.25> - backup script
Copyright (C) 2001-2011 xxx, http://otrs.org/
usage: backup.pl -d /data_backup_dir/ [-c gzip|bzip2] [-r 30] [-t fullbackup|nofullbackup]

demo:scripts admin$ sudo mkdir backup

demo:scripts admin$ ./backup.pl -d /backup/
ERROR: No such directory: /backup/


Please suggest for the above error

Regards
Rohit Singh
Regards
Rohit Singh
OTRS 3.0.7
Platform: Windows XP, MAC OS X
DB: OTRS db
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Error while taking OTRS Backup Data

Post by jojo »

it needs to be "sudo mkdir /backup" (this is a simple linux question!)
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
ferrosti
Znuny superhero
Posts: 723
Joined: 10 Oct 2007, 14:30
Znuny Version: 3.0
Location: Hamburg, Germany

Re: Error while taking OTRS Backup Data

Post by ferrosti »

It is rather
./backup.pl -d /backup
so remove the trailing '/'. Make sure that you have created the directory 'backup' in your systems root in this case!
openSuSE on ESX
IT-Helpdesk: OTRS 3.0
Customer Service: OTRS 3.0 (upgraded from 2.3)
Customer Service (subsidiary): OTRS 3.0
+additional test and development systems
Locked