Public | Automated Build

Last pushed: 4 months ago
Short Description
Jenkins backup S3
Full Description

jenkins-backup-s3

Backup jenkins home to S3 (supports periodic backups)

Usage

Docker:

$ docker run -e S3_ACCESS_KEY_ID=key -e S3_SECRET_ACCESS_KEY=secret -e S3_BUCKET=my-bucket -e S3_PREFIX=backup -e JENKINS_HOME=/var/jenkins_home raphaelpr/postgres-backup-s3

Docker Compose:

jkbackups3:
  image: raphaelpr/jenkins-backup-s3
  environment:
    SCHEDULE: '@daily'
    S3_REGION: region
    S3_ACCESS_KEY_ID: key
    S3_SECRET_ACCESS_KEY: secret
    S3_BUCKET: my-bucket
    S3_PREFIX: backup
    TIMEZONE: 'America/Maceio'
    JENKINS_HOME: '/var/jenkins_home'

Automatic Periodic Backups

You can additionally set the SCHEDULE environment variable like -e SCHEDULE="@daily" to run the backup automatically.

More information about the scheduling can be found here.

Docker Pull Command
Owner
raphaelpr
Source Repository

Comments (0)