[SOLVED] Possible Create Backup of OTRS Docker outside the container?

Moderator: crythias

Post Reply
rcsdownload
Znuny newbie
Posts: 23
Joined: 29 May 2015, 10:59
Znuny Version: 4.0.7
Real Name: RCS

[SOLVED] Possible Create Backup of OTRS Docker outside the container?

Post by rcsdownload »

I have otrs back up running but its inside my docker container.
Possible to create a back up running outside the container?

Thank you.
Last edited by rcsdownload on 21 Jul 2015, 05:24, edited 1 time in total.
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Possible Create Backup of OTRS Docker outside the container?

Post by RStraub »

You would have to attach a volume (or a volume container) when creating the OTRS-Container and write the backup to that volume.

How did you build your container? Does it include apache and mysql or did you use different container and linking?
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
rcsdownload
Znuny newbie
Posts: 23
Joined: 29 May 2015, 10:59
Znuny Version: 4.0.7
Real Name: RCS

Re: Possible Create Backup of OTRS Docker outside the container?

Post by rcsdownload »

RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Possible Create Backup of OTRS Docker outside the container?

Post by RStraub »

Neat. Though the concept of containers would be to use a volume for the mysql at least.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
rcsdownload
Znuny newbie
Posts: 23
Joined: 29 May 2015, 10:59
Znuny Version: 4.0.7
Real Name: RCS

Re: Possible Create Backup of OTRS Docker outside the container?

Post by rcsdownload »

Thanks RStraub. I used the volume.
jbaptiste
Znuny advanced
Posts: 104
Joined: 01 Aug 2015, 03:45
Znuny Version: 6.0.x
Contact:

Re: [SOLVED] Possible Create Backup of OTRS Docker outside the container?

Post by jbaptiste »

Hi,

First of all apologies for reviving a year old thread, but I think its worth mentioning this other OTRS docker container, a much better implementation of the one mentioned in this thread. This container has several advantages over that one:
  • It isn't unmaintained (last update from the other one is more than a year ago)
  • Supports both OTRS 4 and 5 latest versions
  • It isn't a monolithic container that bundles the database server, it includes a separate pre-tuned Mariadb container (as specified on the install docs) and a SMTP relay container
  • Includes a docker-compose configuration file to easily start all services
  • Can be pre-configured on startup using environment variables, for example to select the number generator, set the postmaster email fetch time, OTRS and mariadb root user passwords, the interface language, starting point for the ticket number among many others.
  • Start containers from a backup file (very useful for locally testing and debugging problems )
We have been using these images on production for several companies for more than a year without issues. Check out this blog post for more details on how to use it.
Want to run OTRS on docker ? checkout my OTRS on docker HOWTO | Project's github page
Post Reply