Solved Frequent incremental zfs backup problems.

Ok let me try to understand that: You're using the same (physical) disk for your "backup pool" as well as for some other purposes, is this correct?
 
Yes it is. zfs-receive does not want too much already other disk activity. Maybe in this case it says this is too slow for me. , Dataset-busy error.
 
No it's not fragile. It's stable. I just can't take an incremental snapshot while at the same moment there is other intensive disk-activity on the receiver side. With "fcron" i can schedule so this does not arrive.
I let different tasks run at different time.
But not in parallel this is where things go wrong because of IO-starvation.
 
The interesting part is i learned how to solve problems.
-First and foremost do logging as much as possible
-Search for an easy way to reproduce the problem
-Ask advice
-Go step by step to see where is the failure
 
So you start with a fragile script (time to categorize as fragile: about 5 seconds) and now you have a bit less fragile one
An improvement, indeed
 
DISCLAIMER: I am the developer of zpaqfranz, so I'm mean and steal candy from children
DISCLAIMER2: It is an opensource software, I gain nothing
DISCLAIMER3: the main credits go to the original developer, Matt Mahoney

Solution: do not use zfs backups for home.
Totaly nonsense
Use, instead, zpaq (or zpaqfranz,if you don't have candy to get stolen)

0) delete a snapshot of home/tank/whatever (just in case for an highlander)
1) make a snapshot of home/tank/whatever
2) zpaq/zpaqfranz the snapshot
3) delete the snapshot

That's all

Very reliable
Simple
Almost no problem in restoring (much, much, MUCH easier vs zfs backup)
You can always see "what inside" (MUCH blablabla)
Much easier to encrypt
(and a LOT more)

Code:
zfs destroy  tank/d@franco
zfs snapshot tank/d@franco
/usr/local/bin/zpaqfranz a /monta/mynewbackup.zpaq /tank/d/.zfs/snapshot/franco
zfs destroy  tank/d@franco
how to restore pool from zpaq tarball back?
 
how to restore pool from zpaq tarball back?
You cannot restore a zfs pool, unless you pipe into zpaqfranz
Because yes, you can
How to extract a single file? via the x (extract) command
Code:
zpaq x thefile.zpaq what-i-want-to-restore -to /whereiwanttoput/
 
Back
Top