Azure SFTP backup and archive

egarciapf

Premier Customer
Joined
Oct 3, 2024
Messages
17
Reaction score
1
Hello

We are able to run backups of the PBX to Azure SFTP OK. Daily backups no issues. Now the archive of recordings, voicemails, faxes and chats to the same SFTP does not work. Does this make any sense? The PBX is running on AWS LightSail.

any ideas? Thanks
 
You may need to create the folders where the PBX will write these files to. This would depend on the permissions in your SFTP server.
 
  • Like
Reactions: Evolute IT
Hi Nicolas

Funny enough when I set up all the folders where I want the files to go 3CX creates all the file structure on the SFTP.

Here is an example. SFTP root folder is pbxbackup. Then I declare (on 3CX side) the archives for CHATS, FAXES, RECORDINGS and VOICEMAILS as is. Also, for the backup archives, I declare BACKUPS as another folder.

Now here is the behavior. Every night backups are archived. No issues. If I push the archive manually or wait for 7 days for the other stuff (chats,faxes,etc), the folders are empty. I do not get any error messages when pushing chats, faxes, or voicemails manually. If I push recordings then I get this one.

Error 5023
Recording archiving failed due to the following reason: Renci.SshNet.Common.SshException: FeatureNotSupported: This feature is not supported. - RequestId:2abb95b1-401e-00bc-00e6-2633bb000000 Time:2024-10-25T14:05:50.8544218Z at Renci.SshNet.Sftp.SftpSession.RequestOpen(String path, Flags flags, Boolean nullOnError) at Renci.SshNet.Sftp.SftpFileStream..ctor(ISftpSession session, String path, FileMode mode, FileAccess access, Int32 bufferSize) at _3CX.Filesystem.SFTP.SftpFolder.CreateFile(String name) at _3CX.Recordings.RecordingData.Archive(Boolean justUpload) at _3cxSystemService.RecordingCleanup.ArchiveRecordings(Int32 olderThanDays, CancellationToken cancellationToken)

Any ideas? Thank you!

Ernesto
 

Forum statistics

Threads
111,955
Messages
589,926
Members
164,856
Latest member
Luca Christiansen