Skip to content

DRAFT: Allows to mount backups using FUSE#628

Open
SmArtKar wants to merge 3 commits into
gilbertchen:masterfrom
SmArtKar:fusemount
Open

DRAFT: Allows to mount backups using FUSE#628
SmArtKar wants to merge 3 commits into
gilbertchen:masterfrom
SmArtKar:fusemount

Conversation

@SmArtKar
Copy link
Copy Markdown

@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
Copy Markdown

CLAassistant commented May 7, 2022

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


SmArtKar seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@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
Copy Markdown
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.

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

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

Comment thread src/duplicacy_fuse.go
@@ -0,0 +1,195 @@
package duplicacy
Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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