- Joined
- Feb 14, 2019
- Messages
- 42
- Reaction score
- 2
I'm using 16.4 and trying the new SFTP Backup method. I've got two instances doing the same thing. I'm familiar with SSH and keys and I have that working, but it only works when I do a backup manually. The system can log in and view my backups just fine and it can do a manual backup just fine, but when I schedule a backup, I get this error when the backup runs:
--BEGIN
3CX Phone System tried to backup but failed due to the following reason(s):
Renci.SshNet.Common.SshOperationTimeoutException: Session operation has timed out
at Renci.SshNet.Session.WaitOnHandle(WaitHandle waitHandle, TimeSpan timeout)
at Renci.SshNet.Session.Connect()
at Renci.SshNet.BaseClient.Connect()
at _3cxFilesystemImplementations.SFTP.SftpFileSystem.CreateSftpClient(LocationSettings settings)
at _3cxFilesystemImplementations.SFTP.SftpFileSystem.Move(String filename1, String filename2)
at BackupRestoreSchedule.BackupJob.Execute(IJobExecutionContext context)
--END
I'm not sure why I would get timeouts when the backup runs automatically and not get them when I run it manually. Has anyone else seen this?
--BEGIN
3CX Phone System tried to backup but failed due to the following reason(s):
Renci.SshNet.Common.SshOperationTimeoutException: Session operation has timed out
at Renci.SshNet.Session.WaitOnHandle(WaitHandle waitHandle, TimeSpan timeout)
at Renci.SshNet.Session.Connect()
at Renci.SshNet.BaseClient.Connect()
at _3cxFilesystemImplementations.SFTP.SftpFileSystem.CreateSftpClient(LocationSettings settings)
at _3cxFilesystemImplementations.SFTP.SftpFileSystem.Move(String filename1, String filename2)
at BackupRestoreSchedule.BackupJob.Execute(IJobExecutionContext context)
--END
I'm not sure why I would get timeouts when the backup runs automatically and not get them when I run it manually. Has anyone else seen this?