Unmount Linux File-systems Before Snapshot
0
I have an EC2 instance running ubuntu 20. I use several EBS volumes for ext4 file-systems. I want to backup the volumes with snapshots. Is it necessary for the snapshots to be taken while the file-systems are unmounted?
asked 4 months ago9 views
1 Answers
1
Accepted Answer
Normally it depends on type of workload running on the Filesystem.
Without unmount, snapshot is crash consistent. Based on workload (e.g. database), quiescing it will give app/db consistent snapshot. Below are some good blogs to manage the snapshot process and crash consistent snapshot.
answered 4 months ago
Relevant questions
AWS Backup - two ec2 instances are assigned as the protected services - but I see an EBS snapshot in the vault?
asked 5 months agoHow is aws cost explorer calculate report for EC2 instances by billing tag?
asked 3 years agoEC2 Instance with recurrent I/O errors, but fsck reports filesystems as clean
asked 22 days agoIs it redundant to have an EC2 instance and its EBS volumes in the same AWS Backup resource assignment?
Accepted Answerasked 5 months agoEC2 creating images
Accepted Answerasked 18 days agoMultiple EBS volumes to gain perfomance
Accepted Answerasked 5 months agoEBS Snapshot - Retention complance & Export
Accepted Answerasked 4 years agoBackup Job no tagging snapshots
asked 3 years agoHow do I report a bug present with EBS snapshot feature in "AWS console"?
asked 2 months agoUnmount Linux File-systems Before Snapshot
Accepted Answerasked 4 months ago
Can be done w/o unmount but, at least in Linux, beware of disk caches. I find some files missing in restored snapshots, Also I found that it is leveraged by issuing a good ol'
sudo sync
before live snapshotting the volume.