Self-hostPlan for Deployment

Migrate to a New Server

This article will walk you through procedures for transitioning from cloud to self-hosted, from self-hosted to cloud, and from one self-hosted server to another:

To migrate from the cloud to a self-hosted server:

  1. Bitwarden to your server. At a high-level, this procedure involves:

    1. for Bitwarden.

    2. Installing

      .

    3. Running the

      .

    4. to setup the admin portal, an SMTP server connection, and more.

  2. Start your server by running ./bitwarden.sh start.

  3. Open the cloud web vault and

    .

    tip

    There are separate files for an

    and an
    individual license
    . You don't need both license files. If you are migrating an organization, you only need to retrieve the organization license and must be an
    organization owner
    to do so.

  4. Still in the cloud web vault,

    ,
    export your organization vault data
    , or
    secrets data
    . If you are migrating an organization, encourage your end-users to export their individual vaults as well.

  5. Open your self-hosted web vault and create an account. This account must use the same email address as the cloud account you downloaded the license with.

  6. Still in your self-hosted web vault, upload your

    .

    tip

    There are separate locations in which to upload an

    or an
    individual license
    . As before, only upload the one that's relevant for you.

  7. Still in the self-hosted web vault, import your

    ,
    organization vault data
    , or
    secrets data
    .

    note

    Importing data to an organization will automatically re-create your

    and add the relevant vault items to them.

Organizations-only next steps

If you are migrating an organization to a self-hosted server, continue with the following steps:

  1. (Enterprise organizations only) Re-implement your

    specifications and/or configure
    login with SSO
    .

  2. Manually

    in your self-hosted web vault and assign them to the proper collections.

  3. Start

    manually or using
    directory connector
    .