You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2022-07-19 21:55:22

CaioCesar009
Member
Registered: 2022-07-19
Posts: 3

Clear data base from glpi 10.0.2

Can i clear all database calls from glpi without lose all configurations?

Offline

#2 2022-07-19 22:37:29

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,813
Website

Re: Clear data base from glpi 10.0.2

If you are referring to just clearing tickets:
You cannot just truncate the glpi_tickets table because it would leave related data like the users, linked items, etc orphaned.
It would be safer to simply use the massive actions (bulk select tickets on the list view and click the Actions button) and delete them.
Then, after all tickets are deleted, you can change the view to see deleted tickets and repeat the process to permanently delete them.
Doing it this way would help ensure that all related data gets removed at the same time.

The ticket IDs would not be reset, but at least the old data would not be there.


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

Board footer

Powered by FluxBB