此内容没有您所选择的语言版本。

6.7. keystone-manage db_sync


usage: keystone-manage [bootstrap|credential_migrate|credential_rotate|credential_setup|db_sync|db_version|doctor|domain_config_upload|fernet_rotate|fernet_setup|mapping_populate|mapping_purge|mapping_engine|pki_setup|saml_idp_metadata|token_flush] db_sync
       [-h] [--extension EXTENSION] [--expand | --migrate | --contract]
       [version]
Copy to Clipboard Toggle word wrap

Positional arguments

version


        Migrate the database up to a specified version. If not
      provided, db_sync will migrate the database to the
      latest known version. Schema downgrades are not
      supported.

Optional arguments

-h, --help


        show this help message and exit

--extension EXTENSION


      This is a deprecated option to migrate a specified
      extension. Since extensions are now part of the main
      repository, specifying db_sync without this option
      will cause all extensions to be migrated.

--expand


        Expand the database schema in preparation for data
      migration.

--migrate


        Copy all data that needs to be migrated within the
      database ahead of starting the first keystone node
      upgraded to the new release. This command should be
      run after the --expand command. Once the --migrate
      command has completed, you can upgrade all your
      keystone nodes to the new release and restart them.

--contract


        Remove any database tables and columns that are no
      longer required. This command should be run after all
      keystone nodes are running the new release.

返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat