[otrs] Backup.pl and Restore.pl errors.

Nils Breunese (Lemonbit) nils at lemonbit.nl
Thu Aug 9 00:30:10 GMT 2007


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: Dit deel van het bericht is digitaal ondertekend
Url : http://lists.otrs.org/pipermail/otrs/attachments/20070808/0c793d80/PGP.pgp


More information about the otrs mailing list