Restore Deleted OTRS Directory

Moderator: crythias

Locked
BenI
Znuny newbie
Posts: 72
Joined: 18 Mar 2014, 13:09
Znuny Version: 5.0.19
Real Name: Ben Ipinge
Company: Telecom Namibia

Restore Deleted OTRS Directory

Post by BenI »

Good day,

I would like to find out how, if possible, to restore deleted /opt/otrs directory? What are the steps to take to restore it if the database is still intact?

Regards,
root
Administrator
Posts: 4252
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Restore Deleted OTRS Directory

Post by root »

Get the directory from you backup. If there is no backup of this directory you have probably lost most of settings (SysConfig, CustomerUser, Authentication, etc.)
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
BenI
Znuny newbie
Posts: 72
Joined: 18 Mar 2014, 13:09
Znuny Version: 5.0.19
Real Name: Ben Ipinge
Company: Telecom Namibia

Re: Restore Deleted OTRS Directory

Post by BenI »

Ouch!

I have some configuration files say sysconfig, but we had KIX2OTRS, CMDB, General Catalog installed, so most of the data should still be in the database right? for example CMDB data?
root
Administrator
Posts: 4252
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Restore Deleted OTRS Directory

Post by root »

This depends. Packages, CIs, tickets are stored in the database, attachments can be in the database or filesystem (/opt/otrs/var/article/ by default). Even the ticket (/opt/otrs/var/log/TicketCounter.log)
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
Locked