GithubHelp home page GithubHelp logo

Comments (4)

stale avatar stale commented on August 16, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from znapzend.

eharris avatar eharris commented on August 16, 2024

bump to keep alive

from znapzend.

jimklimov avatar jimklimov commented on August 16, 2024

Just in case, FYI: since the early days of ZFS, sending snapshots into files was more of an experimental approach (to help with demos and simulations) than a "first-class citizen" one. Snapshot information stored in files is not well protected against bit-rot (or not as well as "real" pools are, with block check-summing and device or copies redundancy where available). Maybe wrapping those into ZIP files (with CRC) or equivalent containers with some bit-rot protection can address that.

I guess it can also be problematic to identify which snapshot goes after which, other than trusting e.g. alphanumeric sorting of filenames (rather than ZFS metadata and its core code doing the magic to mix and match).

Likewise, snapshot removal via files is not really a thing, so no pruning of such backups. You really would have to store each and every increment as immutable, in case you'd want to re-apply them to a pool, and maybe prune intermediate snapshots on the receiver after the restoration (or during, if short on space). It can benefit however from relatively recent feature of tracking which snapshot was the last one posted to a certain destination, so such snapshots are exempt from default automatic "cleanup" on the source pool (so there is a starting point for future sync's) - this helps with not-always-online remote destinations, rotating several mechanically-plugged backup disks, etc.

I suppose znapzend can be extended with a way to store snapshot contents in a local or remote file (maybe even piped into zip or some such) - PRs can be welcome, but it does not seem likely the maintainers would implement that use-case :)

All that said, *.zfs images of root filesystems are still quite a thing for quick OS and zone installations. Just as well, I did use the files with chains of snapshots in early days of ZFS for both backups on other filesystems, and particularly to rsync those files over flaky links to remote customers etc. to apply on the other side. Possibly now holds, bookmarks and tokens address the latter use-case, supposedly allowing to pass large initial or iterative snapshots in several connection retries.

from znapzend.

stale avatar stale commented on August 16, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from znapzend.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.