znapzend는 초기 설정 후 스냅샷을 찍지 않습니다.

znapzend는 초기 설정 후 스냅샷을 찍지 않습니다.

unraid에 znapzend를 설치하고 초기 구성을 수행했습니다. 내 데몬이 실행 중이지만 zfs list -t snapshot표시됩니다.no datasets available

*** 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

디버그는 아래를 보여줍니다

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

이번이 처음으로 그것을 사용하고 있는데 뭔가 잘못하고 있는 것이 확실합니다. 도움을 주시면 감사하겠습니다. 감사해요

답변1

너무 빨리 말했네 얘들아. 작동 중입니다. 새로운 시간이 시작될 때까지 기다려야만 했어

관련 정보