Comments (3)
Hey @arronmabrey
No worries about the title. It's a fair question. :-)
I do have a lengthy todo list hanging around for when I get time to sink my teeth into zfsnap again. But, as can be seen, for two years now, I've been hoping that time is "soon."
If you're interested in helping out, I'm happy to review and merge patches. As for when I'll get back into it all, there is a good chance that a project at work in July will force me to spend a week or two on zfsnap. So there is hope indeed. :-)
Out of curiosity, are there any particular features you're in need of?
---Alex
PS, closing this issue as it's not a work item, but we can continue our conversation in here.
from zfsnap.
Wow thanks @aqw for the quick response!
The main issue I'm trying to figure out right now is the transferring portion (e.g. send / recv).
I have looked at a lot of solutions out there ranging from home-rolled to very comprehensive. I still haven't settled on anything yet. One of the bigest issues for me is portability, because I'm on macOS, everything out there seems to target other operating systems. Which is fair considering macOS is likely not a huge user base from them, it's just a bummer.
The other really nice to have features would be to support:
- support zfs bookmarks.
- support send/recv resume.
I'm not sure the status of support for these two features across different zfs flavors. I believe they are supported by all the OpenZFS flavors and maybe more.
from zfsnap.
The main issue I'm trying to figure out right now is the transferring portion (e.g. send / recv).
So, my plans are to keep send and receive simple, but try to make them smarter. The simple form is just getting the most recent, top-level snapshot of each, and just assume that the origin snapshot exists on both systems. This is very easy to do, and I just need to write it.
Smarter versions would include finding the most recent common snapshot and erroring if one cannot be found. Also having a flag to output the size of the data stream to be sent, so that way the admin can script decisions based off of how much data is being sent. One night, I had a... less than careful user generate 4 TiB in a non-scratch folder. I was less than amused and I had no scripts to warn me as everything got sent to the backup server. :-/
One of the bigest issues for me is portability, because I'm on macOS, everything out there seems to target other operating systems. Which is fair considering macOS is likely not a huge user base from them, it's just a bummer.
The core feature of zfsnap is portability. If it doesn't run on OS X 1) I'll be very surprised, and 2) it's a bug and I'll fix it right away. Our goal is to run on /every/ system ZFS can run on. Historical and otherwise.
The other really nice to have features would be to support:
support zfs bookmarks.
So, I would love bookmarks as well, but unfortunately (from what I understand) they don't work as nicely as they should. The key missing feature is that they aren't recursive. They're only for one level. If I'm missing something, I would /love/ to be corrected, because they would be a very useful feature.
support send/recv resume.
How do you see zfsnap supporting resumable send? I've never used it, but I envision zfsnap providing tools which make it easier to work with zfs send and receive, rather than acting as a replacement or something which sits over them and calls them for you. IMO, it's too complicated to anticipate all the possible deployments. Better to give admins to tools to make it easy and let them write the 3-liner script they need for their situation.
I'm not sure the status of support for these two features across different zfs flavors. I believe they are supported by all the OpenZFS flavors and maybe more.
Everything (except for Oracle's weird version) should now support bookmarks and resumable send/recv. I don't know about the OS X guys, but FreeBSD, ZoL, and the IllumOS guys are doing a really good job reducing the deltas and getting everyone back on the same page. They've put a lot of work into it and it's beginning to show.
---Alex
from zfsnap.
Related Issues (20)
- Argument list too long while deleting old snapshots
- Possibly relying on createtxg and guid properties HOT 4
- smb.conf for zfsnap HOT 1
- Request: Add support for a pre- and post-script HOT 4
- How do I use zfsnap to backup snapshots of one pool to another? HOT 2
- daily snapshots generated, which I never set up HOT 4
- How to use xPERIODICx scripts? HOT 1
- Wanted: new maintainer HOT 7
- zfSnap -d command is not working HOT 2
- zfsnap_delete periodic script needs filesystem arguments
- Make prefixes not need - at the end HOT 3
- Disable filtering when destroying HOT 1
- [feature] Add an option to store TTL as ZFS property - instead of being part of the snapshot name HOT 1
- FATAL: trying to delete zfs pool or filesystem? WTF?
- redirection to stderr prevents use in systemd-services HOT 6
- Recursive snapshot without parent directory
- Delete any snapshots that have expired? HOT 3
- Free predefined amount of space by removing snapshots
- Possibility to use inotify to trigger snapshots HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zfsnap.