![termius chrome termius chrome](https://helloacm.com/wp-content/uploads/2019/04/secure-shell-extension.jpg)
Terminus backup:get -element = $element -to = $BACKUPDIR $thissite. $thisenv # iterate through backup elements for element in $ELEMENTS do # download current site backups if ] then Terminus auth:login -email $TERMINUSUSER # iterate through sites to backup for thissite in $SITENAMES do # iterate through current site environments for thisenv in $SITEENVS do # create backup
TERMIUS CHROME UPDATE
ELEMENTS = "code files db" # Local backup directory (must exist, requires trailing slash) BACKUPDIR = "/" # Add a date and unique string to the filename BACKUPDATE = $( date +%Y%m%d%s ) # This sets the proper file extension EXTENSION = "tar.gz" DBEXTENSION = "sql.gz" # Hide Terminus update messages TERMINUS_HIDE_UPDATE_MESSAGES = 1 # connect to terminus
![termius chrome termius chrome](https://special-t-de-ch.custhelp.com/rnt/rnw/img/enduser/myt.-chrome.jpg)
'site-one site-two') SITENAMES = "" # Site environments to backup (any combination of dev, test and live) SITEENVS = "dev live" # Elements of backup to be downloaded. #!/bin/bash # pantheon-backup-to-s3.sh # Script to backup Pantheon sites and copy to Amazon s3 bucket # Requirements: # - Pantheon terminus cli # - Valid terminus machine token # - Amazon aws cli # - s3 cli access and user configured # The amazon S3 bucket to save the backups to (must already exist) S3BUCKET = "" # Optionally specify bucket region S3BUCKETREGION = "" # The Pantheon terminus user (email address) TERMINUSUSER = "" # Site names to backup (e.g.