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.jsonfile:files/private/.build-secrets/tokens.jsonUse the SFTP
putcommand to upload the file from your local directory (only if using the SFTP command line):Information:NoteYou must run this from the directory where the
tokens.jsonbackup was downloaded.echo "put files/private/.build-secrets/tokens.json" | $(terminus connection:info $DESTINATION_SITE_NAME.dev --format=string --field=sftp_command)