Body
Overview
This document details the process for restoring data to a VM running Linux. This is an optional process and only required for file-level restores on your server.
It requires creating a local "vbradmcs" user and setting up a public SSH key for that user. We will filedrop you the SSH key and a text file for the sudoers settings.
Pre-Requisites
-
Create the vbradmcs group on the server:
sudo groupadd -g 146582 vbradmcs
-
Create the vbradmcs user on the server:
sudo useradd -d /home/vbradmcs -m -c "Veeam Admin for CS" -g vbradmcs -u 146582 -s /bin/bash vbradmcs
-
If Duo is installed on the server, add it to the “duoexclude” group so it does not prompt for the Duo push. See AskUs/1796 on how to exclude the Duo push.
- Create the /etc/sudoers.d/98_vbradmcs file and change the permissions of the file:
sudo touch /etc/sudoers.d/98_vbradmcs sudo chmod 440 /etc/sudoers.d/98_vbradmcs
- Edit the 98_vbradmcs file and copy and paste the text file that was filedropped to you earlier.
-
Save the file, and restart sshd (systemctl restart sshd).
-
Add the public key that was sent to you in /home/vbradmcs/.ssh/authorized_keys. You will need to change to the vbradmcs user and create a .ssh folder, and paste the key in the authorized_keys file. You will also need to ensure the appropriate permission are set on the directory and the file:
sudo su - vbradmcs
mkdir .ssh
chmod 700 .ssh
touch .ssh/authorized_keys
chmod 644 /home/vbradmcs/.ssh/authorized_keys
-
Edit the authorized_keys file that was just created and paste the key that was sent there.
-
Inform itscs@hawaii.edu that your server has been configured to receive restores. If necessary, provide the file/folder to restore and the target directory to place the restore.