Creating a file recovery manager instance
Create an OpenStack image using a Linux-based cloud image like Ubuntu, CentOS, or RHEL. Add the following metadata parameters and upload the cloud image to the Glance.
--file <File Manager Image Path> \ --container-format bare \ --disk-format qcow2 \ --public \ --property hw_qemu_guest_agent=yes \ --property nbos_recovery_manager=yes \ --property hw_disk_bus=virtio \ nbos-file-manager
Spin up an instance from that image. It is recommended to have at least 8GB RAM for the mount operation. Bigger snapshots may require more RAM.
Steps to apply on CentOS and RHEL cloud images
- Install and activate qemu-guest-agent.
- Edit /etc/sysconfig/qemu-ga and remove the following from BLACKLIST_RPC section.
guest-file-read guest-file-write guest-file-open guest-file-close
- Disable SELINUX in /etc/sysconfig/selinux.
SELINUX=disabled
- Install python3.
yum install python3
- Install lvm2.
yum install lvm2
- Restart the instance.
Steps to apply on Ubuntu cloud images
- Install and activate qemu-guest-agent.
- Edit
/etc/init.d/qemu-guest-agentand add Freeze-Hook file path in daemon args.DAEMON_ARGS="-F/etc/qemu/fsfreeze-hook
- Restart the qemu-guest-agent service.
- Install Python3.
apt-get install python3
- Restart the instance.