Question about external storage (SFTP)

Malyar

Customer
Joined
Apr 4, 2022
Messages
41
Reaction score
6
Good afternoon.
We want node1 to make a daily backup copy directly to node2 (SFTP).
Accordingly, every night node2 should deploy this backup to node2.
We made a separate user with a password, added it to the group “pbxclusterservice”.
Then in “System - Storage - SFTP” enter:
sftp://url/var/lib/3cxpbx/Instance1/Data/Backups
Username / Password
and when saving we get “Invalid Credentials”.
At the same time, if you go with this user/password, for example, through WinSCP via SFTP - everything is fine.
Any ideas?

Capture.JPG
 
Hello, to clarify the description you've provided:
- Have you installed SFTP server on the node2 and created a folder mapped to /var/lib/3cxpbx/Instance1/Data/Backups?
- If so, why it has such a long name, not just pbxbackups, for example?
- Also note that when backup runs (after the configuration is successfully applied, of course), it appends the backup's folder name to the main path. So even if your setup did applied, your files would go to /var/lib/3cxpbx/Instance1/Data/Backups/Backups.

Check ManagementConsole.log for invalid credentials error after trying to save the page.
To me it looks like WinSCP somehow just logs into the node and doesn't even use SFTP here.
 

Forum statistics

Threads
111,955
Messages
589,926
Members
164,858
Latest member
MichaelRussell3