forked from redmatter/atlassian-bamboo-diy-backup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbamboo.diy-backup.vars.sh.example
81 lines (60 loc) · 2.22 KB
/
bamboo.diy-backup.vars.sh.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
#!/bin/bash
##
# It is recomended to `chmod 600 bamboo.diy-backup.vars.sh` after copying the template.
##
CURL_OPTIONS="-L -s -f"
# Which database backup script to use (ex: mssql, postgresql, mysql, ebs-collocated, rds)
BACKUP_DATABASE_TYPE=mysql
# Which filesystem backup script to use (ex: rsync, ebs-home)
BACKUP_HOME_TYPE=rsync
# Which archive backup script to use (ex: tar, tar-gpg)
BACKUP_ARCHIVE_TYPE=tar
# Used by the scripts for verbose logging. If not true only errors will be shown.
BAMBOO_VERBOSE_BACKUP=TRUE
# The base url used to access this bamboo instance. It cannot end on a '/'
BAMBOO_URL=
# Used in AWS backup / restore to tag snapshots. It cannot contain spaces and it must be under 100 characters long
INSTANCE_NAME=bamboo
# The username and password for the user used to make backups (and have this permission)
BAMBOO_BACKUP_USER=
BAMBOO_BACKUP_PASS=
# The name of the database used by this instance.
BAMBOO_DB=bamboo
# The path to bamboo home folder (with trailing /)
BAMBOO_HOME=/var/atlassian/application-data/bamboo/
# OS level user and group information (typically: 'atlbamboo' for both)
BAMBOO_UID=atlbamboo
BAMBOO_GID=atlbamboo
# The path to working folder for the backup
BAMBOO_BACKUP_ROOT=
BAMBOO_BACKUP_DB=${BAMBOO_BACKUP_ROOT}/bamboo-db/
BAMBOO_BACKUP_HOME=${BAMBOO_BACKUP_ROOT}/bamboo-home/
# The path to where the backup archives are stored
BAMBOO_BACKUP_ARCHIVE_ROOT=
# Space delimited list of files and folders to exclude from $BAMBOO_HOME
# example BAMBOO_BACKUP_EXCLUDE="secret.txt temp"
# For advanced uses, use RSYNC_EXCLUDE variable
BAMBOO_BACKUP_EXCLUDE=
# PostgreSQL options
POSTGRES_HOST=
POSTGRES_USERNAME=
POSTGRES_PASSWORD=
POSTGRES_PORT=5432
# MySQL options
MYSQL_HOST=
MYSQL_USERNAME=
MYSQL_PASSWORD=
MYSQL_BACKUP_OPTIONS=
# HipChat options
HIPCHAT_URL=https://api.hipchat.com
HIPCHAT_ROOM=
HIPCHAT_TOKEN=
# Options for the tar-gpg; gpg encryption mode.
# Available options are 'symmetric' or 'asymmetric'
# Default: 'asymmetric'
BAMBOO_BACKUP_GPG_MODE=
# tar-gpg option; if 'asymmetric', specify the recipient user ID
# See gpg documentation (man gpg) section: HOW TO SPECIFY A USER ID
BAMBOO_BACKUP_GPG_RECIPIENT=
# tar-gpg option; if 'symmetric', specify the passphrase
BAMBOO_BACKUP_GPG_PASSPHRASE=