Ask Your Question

backup cinder

asked 2019-08-15 02:29:56 -0500

lelunicu gravatar image

hi, we like to backup data from inside VM,each VM has ephemeral disk and volume( cinder volume). how is better-to take the backup?to go inside each VM and backup each file system or to backup the cinder volume?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2019-08-15 02:51:46 -0500

updated 2019-08-15 02:52:42 -0500

Obviously, the ephemeral disk can't be backed up by Cinder, though you could create an image from the instance.

What is better depends on your environment and workflows. A volume backup is simple, but it doesn't provide a list of the files that were backed up, and their version. Running a backup application on the VM requires more work, I guess, but it's easier to find out what exactly is on that backup. It's probably more flexible, too.

For example, consider the case of restoring a file that was deleted by accident. If you backed up your files with tar, you can easily generate lists of all backed-up files and find the backup where the latest version of that file exists. With Cinder's backup, it's not quite that easy.

On the other hand, some work is required to copy your tar archive to a safe place (or rather, several safe places for redundancy). Cinder sticks the backup into Swift by default, where it is probably safe.

I don't think Cinder's backup allows you to fully implement the 3-2-1 rule: Three copies (yes - by default Swift makes three copies), in two formats (no), one copy off-site (depends on where your Swift cluster is located).

There are certainly many other factors to consider. Again, you have to evaluate what fits your way of running the datacenter.

edit flag offensive delete link more


hi, i think that differential backup is not possible on cinder volumes.right? we will have thousands of VM so in this case differential backup is a must i think.i think to a backup policy to take full backup every 30 days then in between only differential enterprise backup solution is

lelunicu gravatar imagelelunicu ( 2019-08-15 03:24:09 -0500 )edit

Cinder does have incremental backup. See also

Bernd Bausch gravatar imageBernd Bausch ( 2019-08-15 04:46:52 -0500 )edit

answered 2019-08-15 03:25:32 -0500

lelunicu gravatar image

necessary.right? maybe with tapes or save in cloud.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2019-08-15 02:29:56 -0500

Seen: 147 times

Last updated: Aug 15 '19