如何使用Cubicweb备份中的数据库?

2024-06-07 00:11:49 发布

您现在位置:Python中文网/ 问答频道 /正文

我的备份路径如下:

/etc/cubicweb.d/myblog/backup

我想在当地和它合作

创建数据库时如何使用它


Tags: 路径数据库etc备份backupcubicwebmyblog
1条回答
网友
1楼 · 发布于 2024-06-07 00:11:49

CubicWeb中,应使用db-restore命令:

cubicweb-ctl db-restore instance myinstance-2010-07-13_10-22-40.tar.gz

在实例备份文件夹中,通常:

etc/cubicweb.d/myinstance/backup 

然后将恢复数据库。这里有更多的documentation

相关问题 更多 >