Giter VIP home page Giter VIP logo

Comments (4)

graudeejs avatar graudeejs commented on July 23, 2024 1

@ptman, yes, but only how you invoke zfsnap.
New version will work with old snapshots just fine.

However to work around backwards comparability issue - migration script could be written that would rename all zfsnap snapshots to new format.

from zfsnap.

graudeejs avatar graudeejs commented on July 23, 2024

Yes, however that would require quite a lot of modifications especially to ensure both formats are supported (backwards compatibility is very important in this case).

Do you have a good reason for wanting timestamps in ISO8601 format?

from zfsnap.

aqw avatar aqw commented on July 23, 2024

@ptman as @graudeejs said, it would take a decent number of modifications to make that work.

The biggest advantage I can see, is storing everything at UTC0, so cross-site backup schemes that span timezones can work. Is this why you're asking, or would you really prefer this other time format?

The biggest concern would be making sure the math always knew which mode it was in (evaluate this snapshot as UTC mode, this other one in locale mode), since the pools will likely be mixed with older non-UTC and current UTC snapshots.

---Alex

from zfsnap.

ptman avatar ptman commented on July 23, 2024

Aren't you breaking backwards compat with 2.0 any way? I just prefer using standard when such are available. If one needs to parse the dates using some other util there are standard libraries for parsing ISO8601 without having to write regexes or strptime -strings. ISO8601 is used in many places, so it is easy for me to parse visually. With custom formats I always have to stop and think how this particular program prefers to format dates.

from zfsnap.

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.