Giter VIP home page Giter VIP logo

Comments (3)

hadfl avatar hadfl commented on August 16, 2024

it is planned to make znapzend cleverer concerning sending snapshots to destinations (e.g. sending only when necessary as you pointed out and sending only snapshots that 'belong' to znapzend)

from znapzend.

rottegift avatar rottegift commented on August 16, 2024

Cool.

I actually do use snapshots that don't "belong" to znapzend, essentially like this:

zfs snapshot pool/dataset@some-milestone
zfs bookmark pool/dataset@some-milestone pool/dataset#some-milestone
sleep 432000 # well, not literally
zfs destroy pool/dataset@some-milestone

The some-milestone snapshot gets copied over by znapzend and stays put. If there's ever some sort of problem (manual intervention, some extra cleanup script going mad when desperate to free up space on a small ssd-based pool, whatever) that causes there to be no snapshots in common between source and destination, recovering from a bookmark with

zfs send -i pool/dataset#some-milestone  pool/dataset@some-znapzend-snapshot | ... zfs recv -vuF remote/from_pool/dataset -vuF

is an easy enough fix.

I guess that's best done with a dataset property that indicates whether or not to send intermediate snapshots (including ones not owned by znapzend) on a dst-by-dst basis.

Orthogonally, any sort of "good enough" way to avoid waking up each dst much more frequently than "intA" (in "retA=>intA,retB=>intB,...") is probably fine, so I'm happy that it is planned. Have znapzendzetup throw a warning if the longest src ret=>int pair will roll away snapshots too soon for them to reliably get to all the dsts.

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.