Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Use rustic_core #87

@aawsome

Description

@aawsome

Hi,

just wanted to suggest you use https://github.com/rustic-rs/rustic_core instead of calling the restic binary. This would give you the following benefits:

  • only compile dependency, no dependency on existing binary
  • decreased overhead (cpu/memory)
  • no more lock hassle (as rustic runs lock-free)
  • also support for rustic repositories features (e.g. hot/cold repos)

Note: As redu only needs read-only access to repositories (if I saw it correctly, only restic ls and restic snapshots), using rustic_core will also not touch the repository, but just applies read-only access..

Could be of course also used as optins, e.g. add a --rustic option which uses compiled-in rustic support instead of calling the restic binary.

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