Comments (5)
Hello,
I am running eve4pve barc for a while now and I am very satisfied. Thanks Daniele!
Now, out of curiosity I tested backy2 and got interesting results. Please be aware I am only comparing features that I use my self, which is a Proxmox/Ceph cluster and a NFS backupstorage.
eve4pve barc pros:
- fully automated, a simple cronjob to make your backups
- simple dialog driven restores
- simple to extend or to fix something
- very fast, since it uses the very efficient ceph diff feature (** but see the related contra)
- good documented
eve4pve barc contras:
- does not clean up old snapshots automatically on source ceph (**see the related pro)
- no deduplication (** this is ok, barc is a pretty simple helper script and yet good one! it does not pretend to be a full backup solution! barc relates on ceph api. please dont consider this point as weightful)
backy2 pros:
- deduplication! backy2 deduplicates already before it sends and writes the backup to the destination by comparing only metadata and size stored in sqlite db
- deduplication is effective and fast (compared with zfs dedup its lightyears ahead in speed)!
- scrubbing (consistency check of backups)
- ability to run only full backups (skipping diffs) and due to fast and effective deduplication on source side those backups take only a little longer than barc diffs (especially when diffs reached max and barc starts to merge older diffs, which is slow). in this mode you can purge alls ceph snapshots directly a diskimage is backed up, so your ceph doesn't waste space for older snapshots
- good documented
backy2 contras:
- no built in automation at all (execpt a sample script in the docs). still, due to the good documentation I had no issues to automate it for my concerns in under 20 minutes
- in diff mode it also needs to keep old snapshot, but only the last one. A little bit harder do automate.
please let me append also a question here:
barc creates a snapshot for every diff. it does not clean up the snapshots after successful backup.
are those snapshots incremental deltas, so barc relates on all of them every night, or can i delete all but the very last snapshot per diskimage? In case of reset barc won't work, i need to move the old backups to different location... which is my default way: I run one initial and 6 diffs, then start over with barc reset and move old week backup to different folder every sunday.
The problem is, my ceph can't hold more than 7-8 snapshots per diskimage, it gets full.
Thanks in adavance
And, Daniele, please let me to leave a suggestion:
You made an awesome script package with eve4pve, but it would be even more awesome, to write another script package which works with backy2. I have had a look at your site, so I know, you would definitely draw your benefits from it :))
ceph + backy2 + an automation like barc would be a bomb!
Also I would try to help you, since we are more or less in the same boat.
Kind regards,
Arthur
from cv4pve-barc.
Hi,
what is scrubbing?
Best regards
from cv4pve-barc.
Scrubbing is to ensure the backups is a error correction technique to ensure old backups are healthy, so in case the something happens to the backed up disk image (a failed disk or memory or something else) then next time the backup job is run the scrub will fix the that error.
This is also explained in the readme for backy2
Every backed up block keeps a checksum with it. When backy scrubs the backup, it reads the block from the backup target storage, calculates it's checksum and compares it to the stored checksum (and size). If the checksum differs, it's most likely that there was an error when storing or reading the block, or by bitrod on the backup target storage.
Then, the block and the backups it belongs to, are marked 'invalid' and the block will be re-read for the next backup version even if rbd diff indicates that it hasn't been changed.
Further info here: http://backy2.com/docs/scrub.html#why-scrubbing-is-needed
from cv4pve-barc.
Hi,
The backup process is based on snapshots of ceph and local files.
Except for the first image that is complete, subsequent backups are diff followed by the previous snapshot, and so on. If the local file or the ceph snapshot do not hesitate, the backup stops because something is wrong. This case is serious because the references have been deleted.
With --keep the number of copies wanted is maintained, the number reached is merged with the first.
This mechanism should not give any kind of problem mentioned above.
The idea of a barc is to immediately give a ready-to-use image through assemblies to be used even outside ceph in case of problems.
Best regards
from cv4pve-barc.
Thanks for clearifying!
How about other backy2 features?
from cv4pve-barc.
Related Issues (20)
- [Bug-0.2.5-renew] Restore fails HOT 14
- [Bug-0.2.5-renew] Backup with renew & retain - new initial backup was never made HOT 7
- [Bug-0.2.5-renew] Status display bug due to date format change of the year HOT 3
- [Bug-0.2.5-renew] Initial backup not thin HOT 7
- did not load config file, using default settings. HOT 2
- EFI disks are skipped HOT 2
- snapshot housekeeping dies on missing snapshot - why? HOT 2
- Restore is not working and giving token is 0 error HOT 12
- Wrong option value for "tail" command
- qemu_freeze on pve 5.x HOT 2
- unrecognized tag byte 0 in stream; skipping HOT 1
- Blobs/regex in --vmid definition
- Undocumented parameters --debug and --dry-run
- vmid "storage-" broken on pve6 HOT 1
- cache=none disks are ignored HOT 5
- Cannot take snapshot or backup with cephx disabled HOT 3
- rbd: merge diff error HOT 2
- House Keeping Not Working HOT 7
- Clean does nothing HOT 4
- Backup error: PRocess already running with pid 'ID'
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 cv4pve-barc.