Hi Maurice,

 

backup.pl (and restore.pl) should enable you to do a full rebuild. I
have used it to setup a shadow/test system.

 

However you have to make sure that:

-          The backup.pl script runs without ANY errors!

-          To use '-t fullbackup' when do a backup to get ALL data

-          The database is empty (dropped) when restoring

 

I usually use:

 

# ./backup.pl -d /opt/otrs/restore -r 20 -t fullbackup

 

Check the files in the output directory (-d), what files do you have?

 

Check the contents of the 'DatabaseBackupo.sql.gz' file, of the backup.

Here is how to check what tables are in the sql data file (gzip -cd
DatabaseBackup.sql.gz | more):

 

                # cd /opt/otrs/<your restore dir>/<the backup data dir>

# gzip -cd DatabaseBackup.sql.gz | grep 'CREATE TABLE'

 

gr,

Frans

 

From: otrs-boun...@otrs.org [mailto:otrs-boun...@otrs.org] On Behalf Of
Maurice James
Sent: dinsdag 5 mei 2009 03:47
To: otrs@otrs.org
Subject: [otrs] Backup/Restore

 

Isnt the backup/restore script supposed to back the entire OTRS
installation up? I recently had a server crash and had to rebuild my
OTRS installation from scratch. When I restored the the OTRS
installation using the resotre.pl script, the only tables that got
restored was the article tables. All of the other data is gone i.e
users, queues etc. Did I do something wrong or is backup.pl not meant to
perform a complete OTRS system backup?

 

 

 

Any help is appreciated

---------------------------------------------------------------------
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

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/

Reply via email to