Skip to content

backup of available paths should not fail - if other paths are missing #104

@goebbe

Description

@goebbe

Testing vykar 0.12.14 with the following sources.

sources:
  - label: home
    paths:
      - /home/goebbe
      - /testfolder/subfolder1

If I try to do a backup, however, the whole backup fails, when the second path is not available:

$ vykar
--- Repository: NAS ---
==> Starting backup
 WARN recovered pending index entries from interrupted sessions recovered_chunks=1 journals=1
Files: 10795, Original: 11.11 GiB, Compressed: 8.95 GiB, Deduplicated: 0 B, CurrFiles: 21229, Original: 24.59 GiB, Compressed: 17.75 GiB, Deduplicated: 0 B, CurFiles: 33623, Original: 35.98 GiB, Compressed: 23.17 GiB, Deduplicated: 0 B, CurFiles: 44760, Original: 40.82 GiB, Compressed: 23.98 GiB, Deduplicated: 0 B, Cur WARN saving progress for next run…
Files: 49894, Original: 40.89 GiB, Compressed: 24.01 GiB, Deduplicated: 0 B, Current: 
Error: source directory does not exist: /testfolder/subfolder1: No such file or directory (os error 2)
==> Starting prune
==> Starting compact
==> Starting check

Expected behaviour:

  • Warn about the missing paths
  • Do a backup of the existing paths

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions