Skip to content

copy to backblaze fails #219

@cschritt

Description

@cschritt

autorestic version: 1.7.1
restic version: 0.13.1

backends:
  local:
    type: local
    path: /backup/data
    key: $KEY
  backblaze:
    type: b2
    path: '$PATH'
    key: $KEY
    env:
      B2_ACCOUNT_ID: '$ID'
      B2_ACCOUNT_KEY: '$KEY'

locations:
  data:
    from:
    - /data
    to:
    - local
    copy:
      local: 
        - backblaze

With this config on an initialized b2 repository, the copy fails for no apparent reason.

user@host:~> autorestic -c .config/restic/autorestic.yaml backup --ci --verbose --all
Backend: local
> Executing: /usr/local/bin/restic backup --tag ar:location:data /data
using parent snapshot xxx

Files:           0 new,     0 changed, xxx unmodified
Dirs:            0 new,     0 changed,  xxx unmodified
Added to the repo: 0 B

snapshot xxx of [/data] at 2022-08-17 20:24:20.645239574 +0200 CEST)
  copy started, this may take a while...
snapshot xxx saved
Copying local → backblaze
> Executing: /usr/local/bin/restic copy xxx

Running hooks
[...]
exit status 1

Is there any way to debug this further?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions