First of all thank you for anyone that answer my question J
After I try run backup otrs on my otrs virtual machine, now I want to try to restore it, i got an error
“ERROR: Already existing tables in this database. A empty database is required for restore!”
Information
1. I am used my copy of OTRS vmware, it’s very fresh, just need run /installer.pl to setup
My question is
1. It’s a fresh system, I even not yet create a ticket, just test that /index.pl is opened, but why I got an error about existing tables? How to make this restore test is work ?
Thank you
First of all thank you for anyone that answer my question J
After I try run backup otrs on my otrs virtual machine, now I want to try to restore it, i got an error“ERROR: Already existing tables in this database. A empty database is required for restore!”Information1. I am used my copy of OTRS vmware, it’s very fresh, just need run /installer.pl to setupMy question is1. It’s a fresh system, I even not yet create a ticket, just test that /index.pl is opened, but why I got an error about existing tables? How to make this restore test is work ?
Both I am use OTRS backup and restore tools
I am backup with this command /opt/otrs/scripts#./backup.pl –d /var/backup_otrs à I put the backup folder in /var/backup_otrs, and success
Then I try to restore to another otrs machine with this command
/opt/otrs/scripts# ./restore.pl –b /var/backup_otrs/2012-07-25_11-45 –d /opt/otrs
This email and its attachments may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and
do not necessarily represent those of Bina Nusantara.
If you are not the intended recipient of this email and its attachments, you must take no action based upon them, nor must you copy or show them to anyone.
Please contact the sender if you believe you have received this email in error.
--------------------------------------------------------------------- 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
What I have done is like this..
In terminal I am logon to mysql
Mysql –u root –p
Then I am DROP DATABASE otrs and CREATE DATABASE otrs then try to restore again, no error, the ticket is also restore, I don’t know if my way is safe or not..
But for your information
In my new linux machine I am just install apache, mysql and other dependency to install OTRS, but I am not yet run /otrs/installer.pl, I think in this condition the database just contain basic mysql database, because otrs database not yet created.