top | item 45819578

(no title)

ngc248 | 3 months ago

nah filesystem snapshots may not lead to consistent DB backups. DB backup software usually use a plugin to tell the DB to coalesce data before taking a snapshot.

discuss

order

Dylan16807|3 months ago

Databases have to be ready for power loss, don't they? They might not be happy about it, but if that corrupts anything then the design has failed.

And again I'll emphasize proper snapshot, cutting off writes at an exact point in time. A normal file copy cannot safely back up an active database.

enronmusk|3 months ago

> filesystem snapshots may not lead to consistent DB backups

Only if your database files are split across multiple file systems, which is atypical.

baq|3 months ago

At least one OS you’ve heard of can quiesce the file system to allow taking a consistent snapshot; I’d be surprised if this wasn’t widely available everywhere.