3 ms·
If you accidentally change or delete a file from a file system, it is fairly fast to roll back that change by restoring that file from backup. If you accidenta
by Someone 9y ago
If you accidentally change or delete a file from a file system, it is fairly fast to roll back that change by restoring that file from backup.
If you accidentally change or delete a file from a file system on a VM image, rolling back the change means restoring the entire VM image from backup. That may mean a multi-GB restore, even if the file is only a few kB (rsync won’t help much, as it still would require you to read the entire backup and the entire changed VM image)
With a COW snapshot, rolling back that accidental change can be even faster than restoring the file from backup, as it only means changing some on-disk pointers (of course, you would still need the backup, as that COW snapshot isn’t a backup; it would die if your disk died)