HomeDocumentationContributorsArticlesChangelogSupport
DrupalConsole siteDrupalConsole site
HomeDocumentationContributorsArticlesChangelogSupport
  • Welcome
  • 什么是 Drupal Console
    为什么你应该关注?Drupal Console 是怎样提供帮助的?Drupal Console 项目相关链接
  • 安装 Drupal Console
    使用 Drupal Console 安装器使用 ComposerInstalling on Windows
  • 使用 Drupal Console
    如何拷贝配置文件如何下载,安装并运行 Drupal 8如何在多站点环境下使用 Drupal Console
  • 可用命令
  • Using site alias
    Setting up your local machineHow to use Drupal Console in a remote installationConnecting to a virtual environment
  • What is a chain command
    Registering chain commands as regular commandsListing registered commands
  • Creating custom Commands
    The Command ClassRegistering CommandsConfiguring the CommandCommand LifecycleGetting Services from the Service ContainerGenerating Code with a Command
  • 参与贡献
    最低要求获取项目如何运行保持更新创建一个 Issue 和 Pull 请求文档编写
  • 常见问题
    安装问题权限没有列出的命令交互模式
  • 参考资料
Català (ca)English (en)Español (es)فارسی (fa-ir)Français (fr)हिन्दी (hi)Magyar (hu)日本語 (ja)मराठी (mr)Português brasileiro (pt-br)Romanian (ro)pусский язык (ru)Vietnamese (vn)简体中文 (zh-hans)
  • Welcome
  • 什么是 Drupal Console
    为什么你应该关注?Drupal Console 是怎样提供帮助的?Drupal Console 项目相关链接
  • 安装 Drupal Console
    使用 Drupal Console 安装器使用 ComposerInstalling on Windows
  • 使用 Drupal Console
    如何拷贝配置文件如何下载,安装并运行 Drupal 8如何在多站点环境下使用 Drupal Console
  • 可用命令
  • Using site alias
    Setting up your local machineHow to use Drupal Console in a remote installationConnecting to a virtual environment
  • What is a chain command
    Registering chain commands as regular commandsListing registered commands
  • Creating custom Commands
    The Command ClassRegistering CommandsConfiguring the CommandCommand LifecycleGetting Services from the Service ContainerGenerating Code with a Command
  • 参与贡献
    最低要求获取项目如何运行保持更新创建一个 Issue 和 Pull 请求文档编写
  • 常见问题
    安装问题权限没有列出的命令交互模式
  • 参考资料

database:restore

还原数据库结构和内容。

使用方法:

drupal database:restore [arguments] [options]
dbr

可用选项

选项详细信息

--file

数据库备份文件文件名

可用参数

参数详细信息

database

来自 settings.php 的数据库键

target

Database target from settings.php

例子

将数据库转储文件还原到默认或指定数据库

drupal database:restore \
  --file='/srv/dump/db.sql'
HomeDocumentationContributorsArticlesChangelogSupport
© 2020, Built using GatsbyJS