I have otrs back up running but its inside my docker container.
Possible to create a back up running outside the container?
Thank you.
[SOLVED] Possible Create Backup of OTRS Docker outside the container?
Moderator: crythias
-
- 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?
Last edited by rcsdownload on 21 Jul 2015, 05:24, edited 1 time in total.
-
- 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?
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?
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
-
- Znuny newbie
- Posts: 23
- Joined: 29 May 2015, 10:59
- Znuny Version: 4.0.7
- Real Name: RCS
-
- 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?
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
-
- 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?
Thanks RStraub. I used the volume.
Re: [SOLVED] Possible Create Backup of OTRS Docker outside the container?
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:
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 )
Want to run OTRS on docker ? checkout my OTRS on docker HOWTO | Project's github page