-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# VMbackup | ||
|
||
## What is this? | ||
|
||
A tool with which VMs can be easily backed up to an external drive. | ||
|
||
## How does this work? | ||
|
||
It optimizes the data copied by hashing chunks and store this hash index alongside the VM on the external drive. When | ||
running the backup again, it reads the VM from the local disk, hashes the chunks and compares the hash to the hash index | ||
on the external drive. Only chunks with a different hash are copied (that means that the chunk has changed and needs to | ||
be updated). This optimization has a positive effect only if the local disk is faster than the external drive. | ||
|
||
## What about hash collisions? | ||
|
||
Uh oh. | ||
|
||
## Can I use this to back up my production VMs? | ||
|
||
I haven't tested it that thoroughly that I would recommend that. But I can't and won't stop you. Please report back how | ||
it went. | ||
|
||
## Does this only work with VMs? | ||
|
||
No, it works on every file. I just use it for VM backups. | ||
|
||
## How to use | ||
|
||
``` | ||
vm-backup SOURCE TARGET | ||
``` | ||
|
||
## Author | ||
|
||
Moritz Halbritter ([@phxql](https://github.com/phxql)) | ||
|
||
## License | ||
|
||
[GPLv3](LICENSE) |