TightGate-Pro: Upload backups to a Windows server
If you would like to automatically upload a backup of TightGate-Pro to a Windows server, you will find brief instructions below on which configuration steps you should pay attention to.
On the Windows server
Install OpenSSH server
Check whether the OpenSSH server is installed. To do this under Settings > Apps > Optional featuresand there under Installed features the value openSSH under Installed features. In the list, the OpenSSH server should be displayed as an installed feature in the list. If this is not the case, select Add feature and search for the OpenSSH serverselect it and have it installed.
Next, check the OpenSSH status using the powershell:
Get-Service *ssh*
If the two services ssh-agent and sshd are set to Stopped activate them with the following commands:
Start service sshd Start service ssh-agent
Check firewall
In addition, please ensure that the Windows Firewall/Windows Defender allows an incoming rule for port 22 from TightGate-Pro.
Create folder for SSH key
Create a \.ssh folder in the user folder and add the file authorized_keys file (without file extension):
C:\Users\USERNAME\.ssh\ authorised_keys
On TightGate-Pro
The following configurations must be made so that TightGate-Pro automatically writes backups to the Windows server
Store backup server
- As admin config under Services > Backup server enter the IP of the Windows server.
- Via the menu items Save and Apply menu items to apply the settings.
Configure backups
- As admin backuser under Configuration set the following values:
Upload method = SCP Server = [Selection of the Windows server stored as config] User = [Name of the WINDOWS USER] Remote directory =.
The point is used to upload the backup folder directly to the user directory on the Windows server. Otherwise, the remote directory must be specified.
- Then in the same menu Save in the same menu to create the SSH key.
- Via the menu item Display SSH key menu item to display the generated key, select it and copy it to the file authorised_keys file on the Windows server. (C:\Users\USERNAME\.ssh\ authorised_keys)
- Now again as admin backuser navigate to its main menu and select the menu item Upload > Backup menu item. After some time, the backup should be located on the Windows server in C:\Users\USERNAME.