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

DRAFT: Allows to mount backups using FUSE #628

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

SmArtKar
Copy link

@SmArtKar SmArtKar commented May 7, 2022

You can mount backups using go-fuse by using duplicacy fusemount <mount folder name> <revision ID>
Also apparently master is broken right now so I branched off the last working release commit i found.
TODO:

  • unmount

@CLAassistant
Copy link

CLAassistant commented May 7, 2022

CLA assistant check
All committers have signed the CLA.

@SmArtKar SmArtKar changed the title Allows to mount backups using FUSE DRAFT: Allows to mount backups using FUSE May 7, 2022
@SmArtKar SmArtKar mentioned this pull request May 7, 2022
@pdf
Copy link
Contributor

pdf commented May 7, 2022

I'd suggest removing the introduction of Go modules from this PR. Especially since v2 has already been released, care should be taken when migrating to modules.

Look like there's a bit of cleanup to be done here too.

src/duplicacy_fuse.go Outdated Show resolved Hide resolved
src/duplicacy_fuse.go Outdated Show resolved Hide resolved
src/duplicacy_fuse.go Show resolved Hide resolved
f := nodefs.NewDataFile(buffer.Bytes())
return &nodefs.WithFlags{
File: f,
FuseFlags: fuse.FOPEN_NONSEEKABLE,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That doesn't sound right

@@ -0,0 +1,195 @@
package duplicacy
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some tests would be nice

@gilbertchen
Copy link
Owner

This pull request has been mentioned on Duplicacy Forum. There might be relevant details there:

https://forum.duplicacy.com/t/restore-multiple-files-web-ui/5320/17

@gilbertchen
Copy link
Owner

This pull request has been mentioned on Duplicacy Forum. There might be relevant details there:

https://forum.duplicacy.com/t/restore-multiple-files-web-ui/5320/20

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.

5 participants