
Hi all, at last I'm at the end of test period with OTRS and must implement this system in real work (fortunately :D) My question is: how can I drop only queues and ticket# with test data and leave any valued data? Sorry for this question, but I'm not SQL master :) Is it enough to drop (which?) databases? I intend to use "OpenTRS-schema.mysql.sql" as example (my server is MySQL) for commands. Any help (ideas) will be appreciated. Best regards, Vladimir Gerdjikov, Communication and NOS Manager, HebrosBank Head Office, +359 32/903435, +359 88 578 458 mailto:vladimir.gerdjikov@hebros.bg ----------------------------------------------------------------

Hi all,
i have the same problem of Vladimir........i have to move the test server to
production next week and i have to clear all the tickets WITHOUT clearing
queues, users, groups, responses etc...
I think a function to "wipe" all the content (read "tickets" with history)
and not the configuration (read "queues, users, groups etc") may be very
very useful.
I'd like also to see the "graphics" of the relations between tables in the
MySQL db.....maybe i can try to make that (without a due date hehehe)
Thanks a lot
Marco Cintolesi
NOC Director.
TECHNETS - Italy
----- Original Message -----
From: "Vladimir Gerdjikov"
Hi all, at last I'm at the end of test period with OTRS and must implement this system in real work (fortunately :D) My question is: how can I drop only queues and ticket# with test data and leave any valued data? Sorry for this question, but I'm not SQL master :) Is it enough to drop (which?) databases? I intend to use "OpenTRS-schema.mysql.sql" as example (my server is MySQL) for commands.
Any help (ideas) will be appreciated.
Best regards,
Vladimir Gerdjikov, Communication and NOS Manager, HebrosBank Head Office, +359 32/903435, +359 88 578 458 mailto:vladimir.gerdjikov@hebros.bg ----------------------------------------------------------------
_______________________________________________ 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

Hi Marco, hi Vladimir, On Wed, Nov 06, 2002 at 07:36:01PM +0100, Marco Cintolesi wrote:
i have the same problem of Vladimir........i have to move the test server to production next week and i have to clear all the tickets WITHOUT clearing queues, users, groups, responses etc...
I think a function to "wipe" all the content (read "tickets" with history) and not the configuration (read "queues, users, groups etc") may be very very useful.
The easiest way to delete "all" tickets (without new db init) is: a) Connect to MySQL via mysql-shell (mysql -u <otrs-user> -p <otrs-db>) b) mysql> DELETE FROM ticket c) mysql> DELETE FROM article d) mysql> DELETE FROM ticket_history e) Delete all plain emails form filesystem (rm -rf /opt/OpenTRS/var/article/2002/) Done.
I'd like also to see the "graphics" of the relations between tables in the MySQL db.....maybe i can try to make that (without a due date hehehe)
Jaa! :-)
Thanks a lot
Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- Old programmers never die. They just branch to a new address.
participants (3)
-
Marco Cintolesi
-
Martin Edenhofer
-
Vladimir Gerdjikov