Skip to main content
Last Reviewed: December 12, 2022

Restore the tokens.json File


  1. 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
  2. Use the SFTP put command to upload the file from your local directory (only if using the SFTP command line):

    Info:
    Note

    You 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)