rdedup icon indicating copy to clipboard operation
rdedup copied to clipboard

Add own directory traverser.

Open dpc opened this issue 9 years ago • 7 comments

While I personally enjoy feeding rdedup with rdup archive on standard input, having own directory traverser that utilizes mmap, could make things much faster.

dpc avatar Apr 11 '16 06:04 dpc

I did a quick scan of cargo and found a tar crate that will allow for the use of standard format. I am probably going to make a backup manager tool that will leverage both the tar format plus rdedup-lib, time permitting =)

I want to replace my use of time machine with a more portable format.

phillipCouto avatar Nov 23 '16 03:11 phillipCouto

👍

dpc avatar Nov 23 '16 04:11 dpc

So for this feature would we build it into the rdedup bin or separate project from rdedup?

phillipCouto avatar Nov 30 '16 13:11 phillipCouto

It should be a separate crate, using rdedup-lib, it could be hosted in the same repo though, for convenience.

dpc avatar Nov 30 '16 18:11 dpc

I'm currently experimenting with a prototype traverser at Ralith/rackup. In the interest of enabling random directory traversal of backed-up data with minimal IO overhead, I'm employing a custom metadata format rather than using tar.

Ralith avatar Jan 06 '18 21:01 Ralith

Note: For some of my use cases it's essential to store xattributes of files (like tar does with some suitable options). Can the mentioned traversers do this too?

geek-merlin avatar Jan 12 '21 21:01 geek-merlin

The traverser can implement anything it wants. Rest of rdedup only cares about storing and restoring the sequence of bytes it gives it.

dpc avatar Jan 13 '21 00:01 dpc