Backing up OTRS

Moderator: crythias

Post Reply
tco
Znuny newbie
Posts: 6
Joined: 22 Apr 2010, 10:44
Znuny Version: 2.4

Backing up OTRS

Post by tco »

We are running OTRS 2.4 on mySql on top of Fedora Core 12 in a Windows network.

What is the best strategy for backups?

Thanks
stanhale
Znuny newbie
Posts: 16
Joined: 08 Feb 2010, 12:09
Znuny Version: 2.4.6

Backing up OTRS

Post by stanhale »

I think the best way is to use "backup.pl" from $OTRS_HOME/scripts
-----------------------------------------------------------------------------------------------------------------------
Produktivsystem: openSUSE 11.2 32 Bit || OTRS 3.1.5 || MySQL 5 || Apache2 auf VMWare ESXI 5.0
tco
Znuny newbie
Posts: 6
Joined: 22 Apr 2010, 10:44
Znuny Version: 2.4

Backing up OTRS

Post by tco »

We saw the scripts in the documentation.

However, we we looking at a other solutions to back up the entire box. We are running Fedora 12 on a vmWare virtual box with vmWare Essentials.

Thanks
mario156
Znuny advanced
Posts: 134
Joined: 16 Feb 2009, 11:40

Backing up OTRS

Post by mario156 »

if u using vmware u can easly backup the hole virtual-disk / do regulary snapshots or what ever
SYSTEM:

OTRS: 3.0.6
OS: openSuSE 11.3
Web-Srv./DB: Apache2/mySQL 5
snazza
Znuny newbie
Posts: 4
Joined: 21 Apr 2010, 17:56
Znuny Version: 2.4.7

Backing up OTRS

Post by snazza »

In our enviroment, we use a three server architecture (open source):

1) OTRS server
2) Mysql DB mirror (using replication functions of mysql)
3) BackupPC server doing regular snapshots of the mirror.
210nitesh
Znuny newbie
Posts: 2
Joined: 13 May 2010, 10:18
Znuny Version: 2.4.7

Re: Backing up OTRS

Post by 210nitesh »

stanhale wrote:I think the best way is to use "backup.pl" from $OTRS_HOME/scripts
Pls tell me in detail how to run backup.pl

if possible pls mail me screenshot of all steps. it urgent i need it badly
meronbar
Znuny newbie
Posts: 13
Joined: 18 May 2010, 08:56
Znuny Version: 2.4.7

Re: Backing up OTRS

Post by meronbar »

Backup entire virtual box spend a lot of disk size, as there is only full copy.
I guess it is better to backup only database often (daily) as they only changed in working process, and entire system sometime.
Also this is related to your general backup process, as just dump database to same disk it is not a backup ;)
Daniel Obee
Moderator
Posts: 644
Joined: 19 Jun 2007, 17:11
Znuny Version: various
Real Name: Daniel Obée
Location: Berlin

Re: Backing up OTRS

Post by Daniel Obee »

meronbar wrote:...I guess it is better to backup only database often (daily) as they only changed in working process, ...
Don't forget to backup the file system too! By default it's in the /var/ directory. Else you'd loose th entire attachments and stay with just the text mails.

Greets
Daniel
michelle
Znuny newbie
Posts: 1
Joined: 07 Jun 2010, 17:24
Znuny Version: 2.4.7

Re: Backing up OTRS

Post by michelle »

Hey,

I am new to OTRS, just testing it for now.
I have installed it on my regular windows 7 - not an official server and it works great.

Now I want to try and backup the files but am not sure how to go about this.
Enetered mySQL bin folder through the cmd but I don't know which files in OTRS I am supposed to back up.
Can someone tell me which files are the data base files and how do I back up them?

Thank you so much
Michelle
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Backing up OTRS

Post by crythias »

It's pretty much the same thing, cross platform. Run the backup.pl script with the appropriate options.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
n0manarmy
Znuny newbie
Posts: 14
Joined: 08 Jun 2010, 21:53
Znuny Version: 2.47
Location: Baltimore, MD
Contact:

Re: Backing up OTRS

Post by n0manarmy »

I use a cron job to backup and copy off the files every night to a network share that I have mapped on my Linux box. It's easier to manage backups with Windows so I just dump the backups to one of our regular file servers where the sys admins hit the directory with their tapes and store it away

The script that I use with the cron job is listed below

The first line searches the directory for anything over 10 days old and removes them.
The second line launches the script
The third line moves it to a mounted network share

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
find /mnt/dentalfs05/otrs/* -mtime +10 -exec rm {} \;
perl /opt/otrs/scripts/backup.pl -d /opt/otrs/backup
mv /opt/otrs/backup/* /mnt/dentalfs05/otrs/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Post Reply