Skip to content

Zfs snapshot support - #28

Open
galeone wants to merge 24 commits into
mainfrom
zfs-snapshot
Open

galeone wants to merge 24 commits into
mainfrom
zfs-snapshot

Conversation

@galeone

@galeone galeone commented Aug 6, 2026

Copy link
Copy Markdown
Owner

Add the support for creating zfs snapshots, send them to file, and treat this as a Service - so we can uplaod them to a Remote.

Comment thread src/services/zfs.rs
];

info!(
"Executing: {} {:?} > {}",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The real risk I see in this approach is that if your checkpoint is bigger than the free space, you risk locking up the server.

Comment thread src/remotes/remote.rs Outdated
Comment thread src/services/zfs.rs
Comment on lines +171 to +173
String::from("send"),
String::from("-R"),
String::from("-v"),

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note that this will almost definitely not work with encrypted datasets - or, rather, the send will work but it will send the stuff unencrypted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants