Last Reviewed: December 12, 2022
Restore the tokens.json File
Connect to your site using SFTP command or credentials from your dashboard to restore the backup of the
tokens.json
file:files/private/.build-secrets/tokens.json
Use the SFTP
put
command to upload the file from your local directory (only if using the SFTP command line):Info:NoteYou must run this from the directory where the
tokens.json
backup was downloaded.echo "put files/private/.build-secrets/tokens.json" | $(terminus connection:info $DESTINATION_SITE_NAME.dev --format=string --field=sftp_command)