Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Goals

Discussion items

TimeItemWhoNotes
Deploying git source of tssg.tech to technologynursery.org/tssgTechMVP

Types of Backup

  • JIRA XML

    Have JIRA create an XML file of the site

  • Copy JIRA directory and do database backup

    following the specific database backup procedures

  • Docker images

    Use Docker to commit containers into new images

 

Backup and Restore JIRA service

 

alph

Types of Backup

  • JIRA XML

    Have JIRA create an XML file of the site

  • Copy JIRA directory and do database backup

    following the specific database backup procedures

  • Docker images

    Use Docker to commit containers into new images


Demonstrated backup using Docker image

  • Commit jira container to a new image

    docker \

        commit \

        -a "Ralph Navarro <ralph@navarrocomputing.com>" \

        -m "Image from container on 2018-07-05 Thu" \

        -p \

        jira \

        technologynursery_jira:2.0

    • -a ""
    • -m ""
    • -p

      pause container before commit

    • jira

      name of container to commit

    • technologynursery_jira:2.0

      <image name>:<tag as version number>

  • Determine the volume(s) used by the container

    docker inspect jira | less

    • The key called "Mounts" contains two volumes

              "Mounts": [

                  {

                      "Type": "volume",

                      "Name": "065e5dc8dd35b7229a3b5a747b8964179b5e3c199fb57964b3deb53987b6dd15",

                      "Source": "/var/lib/docker/volumes/065e5dc8dd35b7229a3b5a747b8964179b5e3c199fb57964b3deb53987b6dd15/_data",

                      "Destination": "/opt/atlassian/jira/logs",

                      "Driver": "local",

                      "Mode": "",

                      "RW": true,

                      "Propagation": ""

                  },

                  {

                      "Type": "volume",

                      "Name": "faa8e340a649a44e57a2bc9fe735a62d7f434c692764b114750108f860d08f7a",

                      "Source": "/var/lib/docker/volumes/faa8e340a649a44e57a2bc9fe735a62d7f434c692764b114750108f860d08f7a/_data",

                      "Destination": "/var/atlassian/jira",

                      "Driver": "local",

                      "Mode": "",

                      "RW": true,

                      "Propagation": ""

                  }

              ]

    • The first volume (065e...) is mounted to the JIRA logs within the container.
    • The second volume (faa8...) is mounted to the JIRA directory within the container.

      This is the volume that we need to include with any new containers we create.

  • Run a new container from the image just created

    docker \

        run \

        -d \

        -p 8082:8080 \

        --name jira2 \

        --volume faa8e340a649a44e57a2bc9fe735a62d7f434c692764b114750108f860d08f7a:/var/atlassian/jira \

        technologynursery_jira:2.0

    • -d

      Run in the background as a daemon

    • -p 8082:8080
    • --name jira2

      Set the new container's name to jira2

    • --volume faa8...:/var/atlassian/jira

      Mount the docker volume (faa8...) to the /var/atlassian/jira directory within the container.

    • technologynursery_jira:2.0

      Name of the specific image and version tag to base this new container from.


Asked DevOps team to take control of their learning

Team didn't have a meeting last week while I was away

They could have taken advantage of the opportunity to learn something associated with DevOps  


Benefits of GroovyRalph
  • Showed the Groovy code in my sendEmail program
  • Showed the sendEmail log

Install JIRA on laptopDirected to follow Jim Drewniak's confluence page on installing JIRA.

Action items

  •  Jim Turner Install JIRA following Jim Drewniak's confluence page.
  •