Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.

Commit

Permalink
Update the template for DIY backup
Browse files Browse the repository at this point in the history
Updates according to the latest changes in master branch of DIY repo:
https://bitbucket.org/atlassianlabs/atlassian-stash-diy-backup
ref: eb9e5ba797d0b55eeb53376b95b167bb12dd1f76
  • Loading branch information
legal90 committed Feb 7, 2016
1 parent f046283 commit 553412b
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions templates/default/backup-diy-vars.sh.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
# Local modifications will be overwritten by Chef.
#

# Which database backup script to use (ex: mssql, postgresql, mysql)
CURL_OPTIONS="-L -s -f"

# Which database backup script to use (ex: mssql, postgresql, mysql, ebs-collocated, rds)
BACKUP_DATABASE_TYPE=<%= @database['type'] %>

# Which filesystem backup script to use (ex: rsync)
# Which filesystem backup script to use (ex: rsync, ebs-home)
BACKUP_HOME_TYPE=<%= @backup_diy['backup_home_type'] %>

# Which archive backup script to use (ex: tar, tar-gpg)
Expand All @@ -17,9 +19,12 @@ BACKUP_ARCHIVE_TYPE=<%= @backup_diy['backup_archive_type'] %>
# Used by the scripts for verbose logging. If not true only errors will be shown.
STASH_VERBOSE_BACKUP=<%= @backup_diy['verbose'] ? 'TRUE' : 'FALSE' %>

# The base url used to access this stash instance
# The base url used to access this stash instance. It cannot end on a '/'
STASH_URL=<%= @backup['baseurl'] %>

# Used in AWS backup / restore to tag snapshots. It cannot contain spaces and it must be under 100 characters long
INSTANCE_NAME=stash

# The username and password for the user used to make backups (and have this permission)
STASH_BACKUP_USER=<%= @backup['user'] %>
STASH_BACKUP_PASS=<%= @backup['password'] %>
Expand Down

0 comments on commit 553412b

Please sign in to comment.