Drush,如何查看迁移回滚状态

发布于 2025-01-17 20:38:21 字数 293 浏览 4 评论 0原文

我们正在运行一个复杂的迁移项目,在实时执行之前,该项目将数据从各种旧数据库提取到我们新的暂存网站中。

由于某些原因,我们必须回滚现有的迁移。我正在使用 drush 迁移:rollback --group=xxxxx。

不幸的是,这是一个需要几个小时的过程,并且 ssh 连接超时(整夜运行)。当重新登录服务器时,有没有办法检查回滚已经进行了多远?该进程不会出现在 htop 上。

我找到了很多参考资料来检查 drush 迁移过程,但在 Goolge(或其他地方)上没有找到一种方法来检查回滚已经进行了多远。

提前致谢

We are running a complex migration project that pulls data from various older DBs into our new staging website before we execute it on live.

For reasons, we have to rollback the migrations we have. I am using drush migration:rollback --group=xxxxx.

Unfortunately, this is a multi hour process, and the ssh connection timesout (running overnight). When logging back into the server, is there a way to check how far the rollback has gone? The process does not appear on htop.

I found a lot of references to check the drush migrate process, but no hits on Goolge (or elsewere) for a way to check how far the rollback has gone.

Thanks in advance

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文