drupflare/drangler - v0.1.0
    Preparing search index...

    Function runExportCommand

    • Pulls a deployed site's database out through /export.

      The off-boarding half, and it no longer costs a diagnostic deploy. /export sits on the OWNER tier: a per-site bearer token, minted by /firstrun and returned once as ownerToken. An unauthenticated request answers 401 with a WWW-Authenticate: Bearer challenge, which is a different fact from a missing route and is reported as one -- a user whose token is merely absent should not be told to redeploy the site with every diagnostic route open.

      /restore and /sql are unchanged and still diagnostic-only, which is why there is no import counterpart to this command.

      Parameters

      Returns Promise<void>