vestacp-borg-incremental-backups icon indicating copy to clipboard operation
vestacp-borg-incremental-backups copied to clipboard

Port != 22

Open vedavrat opened this issue 5 years ago • 2 comments

REMOTE_BACKUP_SERVER=ip_address...

But if the Port number is not equal 22, but other number?

REMOTE_BACKUP_SERVER_PORT=22222 have not helped...

What to do? Thank you. Dvanyavada.

vedavrat avatar Sep 17 '19 17:09 vedavrat

You can simply put: REMOTE_BACKUP_SERVER="IP:PORT"

Example: REMOTE_BACKUP_SERVER="135.54.557.45:22222"

ramirojoaquin avatar Sep 17 '19 23:09 ramirojoaquin

You can simply put: REMOTE_BACKUP_SERVER="IP:PORT"

Example: REMOTE_BACKUP_SERVER="135.54.557.45:22222"

This is not going to work, as REMOTE_BACKUP_SERVER is used by rsync.

Syntax for rsync over SSH with port != 22 is

rsync -e 'ssh -p PORT'

My solution: create an entry in the file .ssh/config like this

Host YOUR_HOST Port YOUR_PORT

quacos avatar Mar 29 '20 10:03 quacos