This is a static archive of the old Zorin Forum.

The information below may be outdated. Visit the new Zorin Forum here ›

If you have registered on the old forum, you will need to create an account on the new forum.

Zorin OS 12.1 Ultimate - Veeam

jeffshead

Sat Apr 01, 2017 9:41:26 pm

What do I need to do to get Veeam B&R to backup my Zorin VM?

When I am configuring the Veeam backup, the credentials test fails with the following error:

Code:
4/1/2017 3:29:57 PM :: Checking Linux credentials Error: Unable to establish connection to host Zorin 12 on any IP address.
No connection could be made because the target machine actively refused it 192.168.0.245:22


Presumably, SSH is not installed, running or the firewall in Zorin OS is blocking port 22 ???

As you can no doubt tell, I'm a Windows guy so Linux is new to me :-)

Swarfendor437

Sun Apr 02, 2017 1:15:38 pm

Hi, I know nothing of that app but suggest you try the Veeam forum?

https://forums.veeam.com/veeam-agent-fo ... 39129.html

jeffshead

Mon Apr 10, 2017 2:13:55 am

Swarfendor437 wrote:Hi, I know nothing of that app but suggest you try the Veeam forum?

Thanks for the suggestion but I'd already searched the Veeam forum.

I did get it working though.

1. Install SSH server in Zorin OS:
Code:
sudo apt-get install openssh-server
sudo service ssh status
sudo service ssh restart


2. Create a new backup user with the terminal:
Code:
sudo adduser whatevername


3. Then add it to sudo group:
Code:
sudo adduser whatevername sudo

4. Add the following to the bottom of /etc/sudoers:
Code:
# My additions
# My Veeam user account
whatevername ALL=(ALL) NOPASSWD: ALL


5. Hide new user from login screen:
Go to /var/lib/AccountsService/users. If the user has already logged in, then there should be a file with their username. If not, then copy a different one to a file with their user name. Edit the file and change the SystemAccount= line to true. Restart and that user won't show up in the list.

Step 5. is optional but all others are required if you want Veeam to backup with indexing, without error.

Swarfendor437

Mon Apr 10, 2017 10:41:41 pm

Great job! 120 Blue jewels to you for solving and sharing the solution! ;) :D