frenziedengi
Dabbler
- Joined
- Feb 22, 2013
- Messages
- 14
I am trying to understand ZFS send behavior, when sending incrementally, for the purposes of backup to another (local) drive.
Consider the following situation:
Follow up: How do people typically handle this situation where you would like to keep things incremental, but datasets may be created at a later time?
I investigated what happens some. I get this error when doing this second send:
Ultimately, it appears that the contents of stuff3 are transferred as part of this exchange. How does this work? What does "ignoring" mean?
Consider the following situation:
- volume = tank
- Datasets: tank/stuff1, tank/stuff2
- I take a recursive snapshot: Code:
zfs snapshot -r tank@initial
- I send it: Code:
zfs send -R tank@initial | zfs recv -Fduv tankb/tank
- Later on, I create a new data set: tank/stuff3
- I take a recursive snapshot: Code:
zfs snapshot -r tank@second
- I send it, incrementally: Code:
zfs send -Ri @initial tank@second | zfs recv -Fduv tankb/tank
Follow up: How do people typically handle this situation where you would like to keep things incremental, but datasets may be created at a later time?
I investigated what happens some. I get this error when doing this second send:
Code:
local fs tank/stuff3 does not have fromsnap (initial in stream); must have been deleted locally; ignoring
Ultimately, it appears that the contents of stuff3 are transferred as part of this exchange. How does this work? What does "ignoring" mean?