Last Reviewed: December 12, 2021
Back Up the tokens.json File
Connect to your site using SFTP command or credentials from your dashboard and get a backup of the following file:
files/private/.build-secrets/tokens.json
Use the SFTP
get
command to download the file to your local directory (this is only for SFTP command line use):echo "get files/private/.build-secrets/tokens.json" | $(terminus connection:info $DESTINATION_SITE_NAME.dev --format=string --field=sftp_command)