Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add webdav command #1024

Merged
merged 10 commits into from
Jan 30, 2024
Merged

feat: add webdav command #1024

merged 10 commits into from
Jan 30, 2024

Conversation

aawsome
Copy link
Member

@aawsome aawsome commented Jan 28, 2024

This PR adds the webdav command to rustic to access snapshot contents as a read-only filesystem.

There are following options regarding the provided content:

  • Access to a concrete snapshot/path, e.g. rustic webdav 37a63e5b:/my/path or rustic webdav latest.
  • Access to all snapshots (maybe restricted by filters) by using templates to define a virtual directory structure where snapshots are located. Example: rustic webdav --path-template "[{hostname}]/[{label}]/{time}" --time-template "%Y-%m-%d_%H-%M-%S" (these are also defined as default). Note that for all dirs containing only snapshots, also a latest entry is generated. latest and identical subsequent snapshots are optionally symlinks.

Depends on rustic-rs/rustic_core#106

aawsome and others added 4 commits January 28, 2024 23:12
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
src/commands/webdav.rs Outdated Show resolved Hide resolved
simonsan and others added 6 commits January 29, 2024 19:23
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
@simonsan simonsan added this pull request to the merge queue Jan 30, 2024
@simonsan simonsan changed the title feat: Add webdav command feat: add webdav command Jan 30, 2024
Merged via the queue into main with commit a6ec356 Jan 30, 2024
26 checks passed
@simonsan simonsan deleted the webdav branch January 30, 2024 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants