首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >znapzend在初始设置后不拍摄快照

znapzend在初始设置后不拍摄快照
EN

Server Fault用户
提问于 2021-09-09 06:03:44
回答 1查看 237关注 0票数 1

我在unraid上安装了znapzend并完成了最初的配置。我的守护进程正在运行,但是zfs list -t snapshot显示了no datasets available

代码语言:javascript
复制
*** backup plan: citadel ***
         enabled = on
         mbuffer = off
    mbuffer_size = 1G
   post_znap_cmd = off
    pre_znap_cmd = off
       recursive = on
             src = citadel
        src_plan = 7days=>1hour,30days=>4hours,90days=>1day
        tsformat = %Y-%m-%d-%H%M%S
      zend_delay = 0

NOTE: if you have modified your configuration, send a HUP signal
(pkill -HUP znapzend) to your znapzend daemon for it to notice the change.

我创建了类似于以下znapzendzetup create --recursive SRC '7d=>1h,30d=>4h,90d=>1d' citadel的备份计划

调试如下所示

代码语言:javascript
复制
root@UnRAID:~# znapzend --noaction --debug
=== getDataSetProperties():
        recurse=$VAR1 = 1;

        inherit=$VAR1 = 0;

        DS=$VAR1 = [
          undef
        ];

        lowmemRecurse=0
=== getDataSetProperties(): Is array...
=== getDataSetProperties(): skip array context: value(s) inside undef...
=== getDataSetProperties(): List all local datasets on the system...
# zfs list -H -o name -t filesystem,volume
=== getDataSetProperties(): Looking under 'citadel' with zfsGetType='0', '0' recursion mode and '0' inheritance mode
# zfs get -H -s local -o name,property,value,source all citadel
=== getDataSetProperties(): FOUND: 'citadel' => 'tsformat' == '%Y-%m-%d-%H%M%S' (source: 'local')
=== getDataSetProperties(): FOUND: 'citadel' => 'mbuffer' == 'off' (source: 'local')
=== getDataSetProperties(): FOUND: 'citadel' => 'mbuffer_size' == '1G' (source: 'local')
=== getDataSetProperties(): FOUND: 'citadel' => 'enabled' == 'on' (source: 'local')
=== getDataSetProperties(): FOUND: 'citadel' => 'pre_znap_cmd' == 'off' (source: 'local')
=== getDataSetProperties(): FOUND: 'citadel' => 'zend_delay' == '0' (source: 'local')
=== getDataSetProperties(): FOUND: 'citadel' => 'post_znap_cmd' == 'off' (source: 'local')
=== getDataSetProperties(): FOUND: 'citadel' => 'src_plan' == '7days=>1hours,30days=>4hours,90days=>1days' (source: 'local')
=== getDataSetProperties(): FOUND: 'citadel' => 'recursive' == 'on' (source: 'local')
=== getDataSetProperties(): SAVE LAST: 'citadel'
=== getDataSetProperties(): Looking under 'citadel/Documents' with zfsGetType='0', '0' recursion mode and '0' inheritance mode
# zfs get -H -s local -o name,property,value,source all citadel/Documents
=== getDataSetProperties(): Looking under 'citadel/Media' with zfsGetType='0', '0' recursion mode and '0' inheritance mode
# zfs get -H -s local -o name,property,value,source all citadel/Media
=== getDataSetProperties(): Looking under 'citadel/TimeMachine' with zfsGetType='0', '0' recursion mode and '0' inheritance mode
# zfs get -H -s local -o name,property,value,source all citadel/TimeMachine
=== getDataSetProperties(): Looking under 'citadel/Torrent_Downloads' with zfsGetType='0', '0' recursion mode and '0' inheritance mode
# zfs get -H -s local -o name,property,value,source all citadel/Torrent_Downloads
=== getDataSetProperties(): Looking under 'citadel/software' with zfsGetType='0', '0' recursion mode and '0' inheritance mode
# zfs get -H -s local -o name,property,value,source all citadel/software
=== getDataSetProperties(): Looking under 'citadel/veeam-backup' with zfsGetType='0', '0' recursion mode and '0' inheritance mode
# zfs get -H -s local -o name,property,value,source all citadel/veeam-backup
=== getDataSetProperties():
        Collected: $VAR1 = {
          'enabled' => 'on',
          'recursive' => 'on',
          'mbuffer' => 'off',
          'src' => 'citadel',
          'post_znap_cmd' => 'off',
          'zend_delay' => '0',
          'tsformat' => '%Y-%m-%d-%H%M%S',
          'src_plan' => '7days=>1hours,30days=>4hours,90days=>1days',
          'mbuffer_size' => '1G',
          'pre_znap_cmd' => 'off'
        };

# zfs list -H -o name -t filesystem,volume citadel
=== getBackupSet() : got 1 dataset(s) with a local backup plan
=== getBackupSet() : got 1 enabled-only dataset(s) with a local backup plan

这是我第一次使用它,我确信我做错了什么。任何帮助都将不胜感激。谢谢

EN

回答 1

Server Fault用户

发布于 2021-09-09 06:05:49

说得太早了伙计们。起作用了。我不得不等到新的时刻开始。

票数 1
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/1077055

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档