incubator-hugegraph icon indicating copy to clipboard operation
incubator-hugegraph copied to clipboard

schedule-backup 问题

Open big1white opened this issue 6 years ago • 4 comments

Expected behavior 期望表现

{type something here...} 周期任务可以取消,可以更改

Actual behavior 实际表现

{type something here...} 没有取消选项,后续设置也没法覆盖

Steps to reproduce the problem 复现步骤

  1. {step 1}
  2. {step 2}
  3. {step 3}

Status of loaded data 数据状态

Vertex/Edge summary 数据量

  • loaded vertices amount: {like 10 million}
  • loaded edges amount: {like 20 million}
  • loaded time: {like 200s}

Vertex/Edge example 数据示例

{type something here...}

Schema(VertexLabel, EdgeLabel, IndexLabel) 元数据结构

{type something here...}

Specifications of environment 环境信息

  • hugegraph version: {like v0.7.4}
  • operating system: {like centos 7.4, 32 CPUs, 64G RAM}
  • hugegraph backend: {like cassandra 3.10, cluster with 20 nodes, 3 x 1TB HDD disk each node}

big1white avatar Nov 16 '20 08:11 big1white

@big1white schedule-backup目前是没有取消和更改功能的,只能增加。 另外,schedule-backup是借助crontab实现的,如果要更改可以用crontab -e,删除可以用crontab -r

zhoney avatar Nov 16 '20 12:11 zhoney

@big1white schedule-backup目前是没有取消和更改功能的,只能增加。 另外,schedule-backup是借助crontab实现的,如果要更改可以用crontab -e,删除可以用crontab -r

使用crontab -r 后以为没有周期任务了,但其实 周期备份任务一直存在,因为之前设置了多次该命令,导致后台挂着许多该进程,占据了大量内存,有点毒瘤啊,建议赶紧改掉 QQ截图20201202185304 QQ截图20201202185347 QQ截图20201202185358

big1white avatar Dec 02 '20 10:12 big1white

@big1white crontab -r是停止周期性的备份。

你的系统有这么多的备份任务,可能的原因是:

  1. 之前的备份任务没有完成或者备份失败残留下来了
  2. 使用crontab -r时的用户权限较低,并没有删掉schedule-backup生成的周期任务

zhoney avatar Dec 04 '20 13:12 zhoney

Due to the lack of activity, the current issue is marked as stale and will be closed after 20 days, any update will remove the stale label

github-actions[bot] avatar Jun 30 '21 21:06 github-actions[bot]