401c05413c
Updates backup.py and adds dump_manifest.py that will print out all hashes from the underlying blocks. This can be replicated with a simple python script as follows: # dump_disk.py import hashlib with open('/dev/loop0', 'rb') as f: while True: data = f.read(4*1024**2) if not data: break print(hashlib.sha1(data).hexdigest()) python dump_disk.py | grep -v 2bccbd2f38f15c13eb7d5a89fd9d85f595e23bc3 NOTE: 2bccbd2f38f15c13eb7d5a89fd9d85f595e23bc3 == segment of all zero To perform backup and dump info from manifest (which will match the output of the above script): tools/backup.py --backup /dev/loop0 --manifest mani tools/dump_manifest.py --manifest mani The backup works on both files and block devices with the raw driver. Further drivers will be implemented (such as qcow2 and rbd) as time goes on. Adjust sectors to equal number of bytes on size instead. Change-Id: I976f02a27bc13b5774a6088799ca61f65ec04f14 |
||
---|---|---|
doc/source | ||
ekko | ||
tests | ||
tools | ||
.gitignore | ||
.gitreview | ||
.testr.conf | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
babel.cfg | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
ekko
Block-based backups stored in object-storage
Please feel here a long description which must be at least 3 lines wrapped on 80 cols, so that distribution package maintainers can use it in their packages. Note that this is a hard requirement.
- Free software: Apache license
- Documentation: http://docs.openstack.org/developer/ekko
- Source: http://git.openstack.org/cgit/openstack/ekko
- Bugs: http://bugs.launchpad.net/ekko
Features
- TODO