Product Version: 9.0
Last Modified: 06 September 2019
In the application-aware mode, NAKIVO Backup & Replication triggers provided custom scripts before taking snapshots of LVM volumes.
If you run a VM with Linux or FreeBSD guest OS under Hyper-V, refer to Hyper-V support article about supported Linux and FreeBSD versions.
For application-aware mode to work on Linux guest OS, put the custom scripts called
/usr/sbin directory and grant them executive permissions. When the backup job starts running, NAKIVO Backup & Replication triggers these scripts before snapshots of LVM volumes. The
post-thaw-script scripts require
root permissions to be executed. When a non-root user is used, script invocation is done via
sudo, therefore the following requirements must be met.
1. Provided credentials must have full access without a password in
2. If NAKIVO Backup & Replication logs in to an Amazon EC2 instance and there is no password for the Linux user, provided credentials must have a password to execute
- 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 in to the instance via SSH client without pem key, enter password