Firebird gbak 工具中的开关 -r 意味着什么?

发布于 2024-08-16 05:17:03 字数 62 浏览 4 评论 0原文

当我跑步时:

gbak -r

它会做什么?

When I run:

gbak -r

what will it do?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

风蛊 2024-08-23 05:17:03

在火鸟< 2.0 中,-r 会将当前数据库文件替换为从备份中恢复的数据库文件。在 FB >= 2.0 中,您需要为此指定 -rep。请注意避免替换活动数据库。

In Firebird < 2.0, -r will replace your currently database file with the one restored from the backup. In FB >= 2.0, you need to specify -rep for that. Take care to avoid replacing an active database.

亢潮 2024-08-23 05:17:03
-r[ecreate_database] o[verwrite]

http://www.destructor.de/firebird/gbak.htm

[Firebird 2.0] 通过现有数据库进行恢复。这只能由 SYSDBA 或被覆盖的数据库的所有者执行。不要恢复正在使用的数据库!
-r 相当于-c。只有“覆盖”选项才能恢复现有数据库。

-r[ecreate_database] o[verwrite]

http://www.destructor.de/firebird/gbak.htm

[Firebird 2.0] Restores over an existing database. This can only be performed by SYSDBA or the owner of the database that is overwritten. Do NOT restore over a database that is in use!
-r is equivalent to -c. Only the "overwrite" option will restore over an existing database.

难理解 2024-08-23 05:17:03

它取代了数据库 - 即。覆盖它。

http://pwet.fr/man/linux/commandes/gbak

It replaces the database - ie. overwrites it.

http://pwet.fr/man/linux/commandes/gbak

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文