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

Commit

Permalink
Merge pull request #138 from legal90/update-diy-backup
Browse files Browse the repository at this point in the history
Update the template for DIY backup
  • Loading branch information
linc01n committed Feb 12, 2016
2 parents c8147df + 553412b commit a70a586
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 a70a586

Please sign in to comment.