Rémi Boulle wrote:
> 
> Hello,
> 
> I am using dirvish to do a daily backup of my /home directory.
> 
> For what I understood dirvish write only the changed parts of the
> changed files.

While, if backing up across the network, rsync transfers only the
changed portions of changed files, what is written to disk is the entire
changed file.

> My first image is roughly 5 Go, so why the second one is 5Go too ? (no
> files were changed)

How did you measure this?  If you simply ran du against each image, then
yes, they would both show as 5 gig.  However, if you run du against both
images at the same time, it should still show about 5 gig and not 10
gig.  Each image is equal, in the sense that no image is the "full
backup" and other images are the "differential backup."  They're all
"full," some were just made earlier, but there is only one copy of each
unchanged, unmoved file physically taking up blocks on the hard drive.

This all assuming that you've not made any configuration errors, or run
dirvish with the --init option more than once, or changed critical
configuration choices between backups.  It *is* possible to create
backups that have no link with each other.  (Which many of us do
deliberately for extra safety.  Some of my most important partitions are
backed up to 3 different physical drives / arrays.)

> 
> Does it mean that all those images are "real" images ? eg I can delete
> last monday image without having any problems ?
> 

Unless you want to restore a file that was captured only in that backup.
 :-)  If you delete the last successful backup, you'll have to run
dirvish with the --init option again.  Other than that, you can delete
any image without an issue.

--Jon Radel

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Dirvish mailing list
[email protected]
http://www.dirvish.org/mailman/listinfo/dirvish

Reply via email to