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

Update the template for DIY backup #138

Merged
merged 1 commit into from
Feb 12, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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