Closed fengziyun closed 6 months ago
Describe the bug
[root@localhost data]# autorestic -c /data/backup.yml --ci cron |tee /tmp/autorestic.log 2>&1 Using config: /data/backup.yml Using lock: /data/.autorestic.lock.yml Backing up location "user_data" Backend: external_hdd > Executing: /bin/restic backup --tag home --use-fs-snapshot --exclude-caches --tag ar:cron --tag ar:location:user_data /mnt/test /mnt/data unknown flag: --use-fs-snapshot
Expected behavior running restic
Environment
Additional context
version: 2 locations: user_data: from: - '/mnt/test' - '/mnt/data' to: - external_hdd cron: '0 3 */1 * *' options: all: tag: home forget: keep-last: 14 keep-weekly: 2 keep-monthly: 2 keep-yearly: 1 backup: use-fs-snapshot: true exclude-caches: true # exclude-larger-than: 2G # exclude: # - '*/AutoPCH' # - '*/.vs' # - '*/Tencent Files' # - '*/AppData' # - '*/NTDATA*' # - '*/OneDrive' backends: external_hdd: type: local path: '/data/backup' key: ''
Sorry, the document I was browsing is outdated
Describe the bug
Expected behavior running restic
Environment
Additional context