Ask Your Question
1

Is it safe to snapshot an attached volume if it's unmounted?

asked 2017-09-08 15:26:15 -0500

My OpenStack provider recommends against creating a snapshot backup of a volume if it's attached to an instance. But if the using instance has unmounted it, wouldn't this protect against data corruption?

Or are there other issues at play here?

edit retag flag offensive close merge delete

Comments

is that volume mounted for database , if its dbi would recommend take db backup instead of taking snapshot, snapshot genertally take more disk utilization this could be the reason your vender opposing to take snapshots

billy gravatar imagebilly ( 2017-09-08 16:38:43 -0500 )edit

Yes and no. I have one volume used by the Web server that's a regular file system, and another that's used by the DB server that houses MySQL data (/var/lib/mysql). I'd like to develop a backup policy that works and is safe in all cases.

colan gravatar imagecolan ( 2017-09-11 05:14:38 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-09-11 05:16:58 -0500

Here's what I heard back from my ISP:

In this case, I would really recommend you to detach the disk to avoid corruption of data because even if it is unmounted the instance might still be risky because of the way openstack handles the disk.

I'm not sure what they mean by "handles the disk", but can someone confirm or not?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-09-08 15:26:15 -0500

Seen: 37 times

Last updated: Sep 11