The QEMU Guest Agent is a daemon which allows the creation of consistent volume snapshots while the instance is running.
You will also need an OpenStack openrc file, possibly based on Application Credentials.
This can be obtained through the OpenStack dashboard, under Identity --> Application Credentials --> Create Application Credential --> set a name and other parameters if needed --> Create Application Credential --> Download openrc file.
The following scripts are included in this directory:
- ``volume_snapshots.sh``, which creates the actual snapshots with a set retention interval;
- ``remove_old_snapshots.sh``, which removes the snapshot for which the retention interval has expired.
Before using these scripts, you will need to edit them and substitute in each the line::