On Thu, May 07, 2026 at 11:35:44AM +0100, Joe wrote:

[...]

> The problem is of course that while you are working your way through
> making a copy, some of the information both ahead of the copying and
> behind it may change. It is possible that these things have changed in
> an incompatible way, since those ahead of the copying process will get
> copied after the change, while the changes to earlier parts of the copy
> will not.
> 
> The only way I know for sure of getting an accurate online copy is
> the LVM snapshot:
> 
> https://linuxvox.com/blog/linux-lvm-snapshot/

Caution: there are two layers to this.

- You have the structural consistency of the file system itself
  (directory structure, partial writes to files, superblock, etc).
  LVM and other snapshotters help you with that.
- Then you have the consistency of the data in the file system itself
  (imagine a backing file for a relational database, say PostgreSQL,
  for example). For that, only the applications themselves can help
  you, no amount of LVM or snapshotting will, because it knows nothing
  about the applications's inner structures.

Cheers
-- 
t

Attachment: signature.asc
Description: PGP signature

Reply via email to