Backup.pl and Restore.pl errors.

Hi, I searched the previously asked question and didn't see these so sorry If these are repeats. I inherited the OTRS at work and we are moving to different server machine. So I'm trying to run the backup.pl and restore.pl scripts. When I run the backup.pl script I get the following: Backup backup//2007-08-06_15-56/Config.tar.gz ... The system cannot Find the path specified. Failed Backup backup//2007-08-06_15-56/Application.tar.gz ... The system cannot Find the path specified. I looked at the perl script and in the if statement for the config File it is looking for config.pm, which isn't in my Kernel/Config Directory. Just Defaults.pm and GuestAgent.. files. The dump of the SQL files works and when I try to run restore.pl On the dump I get: Restore backup/../Config.tar.gz ... Error: Already existing tables in the database. A empty database Is required for a restore. I haven't populated the new OTRS install so I'm not sure what I Need to do to clear the database so I can restore the old one. Thanks.

Patrick Evans wrote:
I inherited the OTRS at work and we are moving to different server machine. So I'm trying to run the backup.pl and restore.pl scripts.
When I run the backup.pl script I get the following:
Backup backup//2007-08-06_15-56/Config.tar.gz ... The system cannot Find the path specified. Failed Backup backup//2007-08-06_15-56/Application.tar.gz ... The system cannot Find the path specified.
I looked at the perl script and in the if statement for the config File it is looking for config.pm, which isn't in my Kernel/Config Directory. Just Defaults.pm and GuestAgent.. files.
There should be a file called Config.pm in ~otrs/Kernel/. I've never used OTRS's own backup and restore scripts though.
The dump of the SQL files works and when I try to run restore.pl On the dump I get:
Restore backup/../Config.tar.gz ... Error: Already existing tables in the database. A empty database Is required for a restore.
I haven't populated the new OTRS install so I'm not sure what I Need to do to clear the database so I can restore the old one.
Make sure there are no tables in the databases (should be the case if you created a fresh database). You can use the DROP TABLE statement to remove tables. Nils Breunese.

Hi,
There should be a file called Config.pm in ~otrs/Kernel/. I've never used OTRS's own backup and restore scripts though.
Yeah, I think I was using the wrong version of the backup.pl.
Make sure there are no tables in the databases (should be the case if you created a fresh database). You can use the DROP TABLE statement to remove tables.
How do I make sure there are no tables? I will use the DROP TABLE Statement but I'm not sure where the table is. Thanks. -----Original Message----- From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] On Behalf Of Nils Breunese (Lemonbit) Sent: Wednesday, August 08, 2007 5:30 PM To: User questions and discussions about OTRS.org Subject: Re: [otrs] Backup.pl and Restore.pl errors. _______________________________________________ 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 Support or consulting for your OTRS system? => http://www.otrs.com/
participants (2)
-
Nils Breunese (Lemonbit)
-
Patrick Evans