Comments (6)
dumb question: you have 4 backup plans which run at the same schedule. do you use different mbuffer ports for all of them on the destination?
from znapzend.
Yes, the same port.
Is it wrong?
May be i've misunderstand the idea of network mode. But how should i configure four backupsets?
from znapzend.
well, if you use network mode there will be a direct tcp connection from the sending zfs to the mbuffer on the remote host. if you have different backup sets which run at the same schedule (in your case 4) they all try to send to the same mbuffer instance at the same time and will fail as the first mbuffer process is already attached to an individual receive zfs process...
either you set up all your datasets you want to backup in a common base dataset and then create a recursive backup plan for the base dataset or you keep your 4 individual backup plans but specify a different mbuffer port for each of them (i.e. each send/receive gets its own mbuffer process).
from znapzend.
Thank you, hadfl.
I hoped znapzend sends snapshots one by one. But it doesn't. Ok.
Now i see your suggestions, but have to notice. It's quite too hard, guess not only for me, to compose recursive backupset - not every inner dataset should be backed up. And setting up different ports has issue too - to achieve max speed it's necessary to setup buffer size not less 1Gb. It's easy to eat all off destination RAM. :-)
It seems, my way - is using SSH. Maybe, according to its low speed and big amount of initial data, doing initial transfer via mbuffer, then switching to ssh.
from znapzend.
znapzend only works sequential for recursive backups. all other backups run in parallel.
you can always delay a send/receive by configuring post-snap-command=/usr/bin/sleep <seconds>
and so stagger your send/receive processes (snapshots will still be done at the same time). however if one send/receive will take more time than the delay it'll fail again if using network mode and the same mbuffer port...
edit: there might be a future option to define a recursive backup plan (recursive snapshots) but to exclude datasets from being sent to destinations...
from znapzend.
Yes, sure. Now it's clear. Thank you, hadfl!
from znapzend.
Related Issues (20)
- Failed to start ZnapZend - ZFS Backup System HOT 1
- Is it possible to send an encrpyted snapshot to a remote? HOT 2
- Only snapshot HOT 3
- Is this possible A -> B -> C (encr) HOT 1
- Missing docs on `oracleMode` for `znapzendzetup` HOT 2
- Ignore parent dataset with --recursive. HOT 6
- mbuffer: "operation not supported" message and not sure how to troubleshoot HOT 3
- Make README's recursive dataset snapshot pruning warning clearer HOT 1
- Feature: Add ability of DST to store snapshots as files HOT 4
- ZFS destroy snapshot causes hung_task panic HOT 5
- CI: Problem building Docker image for "Release/Docker push" scenario: repo lacks mbuffer? HOT 1
- The `mbuffer` settings relate to the remote system only, is this right? HOT 1
- consider a znappull? HOT 1
- [MacOS Homebrew install of znapzend] the Launchctl service is not loaded properly: a fix HOT 1
- Can znapzend avoid sending individual properties (e.g. casesensitivity) to target? HOT 1
- Mysql mariadb znapzend pre/post-snap-command docs fix. HOT 1
- [not an issue] my znapzend recipes for a MacOS environment
- 0.22.0 missing `znapzend-0.22.0.tar.gz` HOT 1
- make install does not respect LIBDIR, always installs to LIBDIR/../lib/ HOT 7
- DST configuration local to snapshots HOT 1
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 znapzend.