Incremental block-based backup to object storage
Go to file
SamYaple 401c05413c Add initial backup code
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
2016-01-16 05:54:23 +00:00
doc/source Add glossary for some common terms 2016-01-11 18:15:16 +00:00
ekko Add initial backup code 2016-01-16 05:54:23 +00:00
tests Initial Commit 2016-01-04 16:28:29 +00:00
tools Add initial backup code 2016-01-16 05:54:23 +00:00
.gitignore Create manifest and implement sqlite driver 2016-01-11 18:15:17 +00:00
.gitreview Added .gitreview 2016-01-04 10:07:07 +00:00
.testr.conf Initial Commit 2016-01-04 16:28:29 +00:00
CONTRIBUTING.rst Initial Commit 2016-01-04 16:28:29 +00:00
HACKING.rst Initial Commit 2016-01-04 16:28:29 +00:00
LICENSE Initial Commit 2016-01-04 16:28:29 +00:00
MANIFEST.in Initial Commit 2016-01-04 16:28:29 +00:00
README.rst Initial Commit 2016-01-04 16:28:29 +00:00
babel.cfg Initial Commit 2016-01-04 16:28:29 +00:00
requirements.txt Updated from global requirements 2016-01-15 08:23:50 +00:00
setup.cfg Add initial backup code 2016-01-16 05:54:23 +00:00
setup.py Updated from global requirements 2016-01-15 08:23:50 +00:00
test-requirements.txt Updated from global requirements 2016-01-15 08:23:50 +00:00
tox.ini Initial Commit 2016-01-04 16:28:29 +00:00

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.

Features

  • TODO