You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know where the --from-snap argument should be placed in go code to get a real "diff" file. So far, I have only "full" files, with "exists": "false" entries.
Let me start out by saying that I'm not deeply familiar with this topic, but I want to reply before this falls off my radar. So take some of what I say with a grain of salt.
Based on a quick peek into the rbd command line tool's code I see that the the parameter --from-snap is passed into the diff_iterate2 call. That matches your Go example. What I don't see is the use of the snap name after the @ sign.
Is that correct ? Should I only take "exists=true" entries ? Is it related to #279 ?
I'm sorry to say I don't know what this means. I can say that #279 is specifically about the lack of hole detection. AFAIK this restriction (lack of hole detection) applies to any consumer of the API, so regardless of the tool being python/Go/C/C++ it would not be able to detect holes. Similarly, if the C++ based tool is using the same underlying (public) APIs you should be able to access those APIs via Go. The trick is frequently determining or verifying exactly what underlying APIs are being used.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contribution.
Hello,
I am working on a backup solution around backy2, and I am trying to reproduce the steps of the manual backup doc with
go-ceph
.The full backup is pretty straightforward, but I have not yet managed to reproduce the diff backup.
The initial backup is documented as :
It is equivalent as code :
But for the differential backup, the part that is a problem is :
I don't know where the
--from-snap
argument should be placed in go code to get a real "diff" file. So far, I have only "full" files, with"exists": "false"
entries.The code :
Is that correct ? Should I only take "exists=true" entries ? Is it related to #279 ?
The text was updated successfully, but these errors were encountered: