Product Version: 7.0
Last Modified: 1 Mar 2017
In the Application-aware mode, NAKIVO Backup & Replication triggers Volume Shadow Copy Service (VSS) inside guest OS of source VMs prior to making a VM snapshot. The VSS service will instruct VSS-aware applications and databases to flush data from memory to disk and save data in a consistent state. Thus, the VM snapshot taken after triggering the VSS service will contain consistent data.
If you run a VM with Linux or FreeBSD guest OS under Hyper-V, refer Hyper-V support article about supported Linux and FreeBSD versions.
To make VSS work on Linux guest OS, you need to put custom scripts called pre-freeze-script and post-thaw-script into
/usr/sbin directory and give them executive permissions. When the backup job starts running, NAKIVO Backup & Replication triggers these scripts.
Freeze and thaw scripts require root permissions to be executed.
When a non-root user is used, scripts invocation will be done via
sudo, therefore the following requirements must be met.
1. Provided credentials must have full access without a password in
2. Provided credentials must be allowed to execute freeze/thaw scripts without a password in
3. If NAKIVO Backup & Replication logs into Amazon EC2 instance and there's no password for Linux user, provided credentials must have a password to execute sudo:
- Log into the instance via SSH client using pem key
sudo passwd ubuntu
/etc/sudoersin a text editor
ubuntu ALL=(ALL) NOPASSWD:ALLto the bottom of the file
/etc/ssh/sshd_configin a text editor
set up PasswordAuthentication yes
- Reboot the instance
- Log into the instance via SSH client without pem key, enter password