GithubHelp home page GithubHelp logo

Comments (1)

adaugherity avatar adaugherity commented on August 19, 2024

At first I thought this wasn't possible -- that an incremental send/receive will include all intervening snapshots, but after some quick testing I realize I was wrong. Using the -i option to zfs send instead of -I will do an incremental send without including intervening snapshots. (The -R option is for a recursive send [called "replication stream" in the man page] which includes child filesystems, properties, etc. and is orthogonal to both incremental options.)

I'll have to do more testing and figure out the best way to include this option without causing problems (or at least make sure the caveats are clearly documented). I can see a potential problem where e.g. if you miss some backups, you probably do want all the intervening dailies copied next time you back up, not just the latest one.

Please note that I use zfs recv -F to remove snapshots on the destination which are not present on the source, so that when they get rotated out on the source, they also get removed from the destination rather than remaining indefinitely to clutter it up. (People have already requested disabling this option, so I do plan to make that configurable, but probably won't change the default, as I don't want to break my current workflow.)

from zfs-backup.

Related Issues (8)

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.