How do I take an snapshot or backup without filesystem freezing?

Our KVM Cloud images have qemu-guest-agent installed and enabled by default. This allows our backend to interact with your instance in a variety of ways. For example, during the snapshot process, libvirt will tell qemu-guest-agent to freeze (quiesce) your instance filesystem. The instance remains online, but I/O is suspended until the snapshot is ready to upload to our image store. This method is ideal for data consistency, but can cause significant functional downtime for instances with lots of data and/or activity. As such, you may prefer to bypass filesystem freezing for your snapshots/backups. To do so, simply stop qemu-guest-agent prior to taking a snapshot.

Steps

  1. SSH into your instance
  2. Run command: systemctl stop qemu-guest-agent
  3. Create a snapshot from the Cloud Control Panel

We recommend restarting qemu-guest-agent (systemctl start qemu-guest-agent) when the snapshot is done. However, if you'd prefer to leave qemu-guest-agent off permanently (for future snapshots, automated backups, etc.), you can disable it with systemctl disable qemu-guest-agent and/or remove it with apt remove qemu-guest-agent (Debian/Ubuntu) or yum remove qemu-guest-agent (CentOS).

Notes

The steps above apply to any instance launched from our KVM Cloud images after September 16, 2019. Contact us via support ticket if you want this ability enabled for instances launched before then.

This does NOT apply to instances launched from ISOs or any image that does not have qemu-guest-agent enabled.

  • 8 Users Found This Useful
Was this answer helpful?

Related Articles

How do I use DNS Zones?

Using the Cloud DNS Zone Editor This article will describe solutions to common issues when using...

How do I add users to my cloud account?

The ability for cloud customers to create teams / manage users is under development. For now, you...

How to Fix an Empty System Log

The System Log tab in the cloud control panel displays console output from your instance. It...

Do you have a download file/speed test?

Please use our Looking Glass test files.

How to Create and Use Private Networks

Our OpenStack Cloud allows you to create your own Private Networks. You can use private IPs for...