Failing 3CX backup Pro V20

arcone

Silver Partner
Advanced Certified
Joined
Jul 16, 2024
Messages
5
Reaction score
0
Hello @3CX support and the wonderful people using 3CX,
Kindly assist here. I have a 3CX PBX V20 whose scheduled backups are failing with the error below. The previous backup file was (4GB) which is quite large. Scheduled backups have been working up to a week ago when it stopped.

Your 3CX backup failed due to the following reason(s):
System.IO.IOException: Unable to write data to the transport connection: Connection reset by peer.
---> System.Net.Sockets.SocketException (104): Connection reset by peer
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 count)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at _3CX.Filesystem.FTP.FtpWrapperStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at System.IO.Stream.CopyTo(Stream destination, Int32 bufferSize)
at _3CX.BackupRestore._3cxBackup.UploadTemptoDestination()
at _3CX.BackupRestore._3cxBackup.FinishingTask()

Here is a list of the things that I've tried but still does not resolve the problem.
1) I have cleared the logs via ssh and Winscp.(The PBX is running on Linux)
2) I have tried the backup via command line while excluding Call History but the backup file is successful but suspiciously small(28MB only). Whenever I include the Call History in the command line the backup still fails with the size being 4GB.
Manual backups via the management console fails so does scheduled backup.The specs are enough at 6vCPUs, 8GB of RAM and 300 GB of disk space with the utilized disk space being only 124GB.
It'd really be helpful if someone assisted with this
 
is the backup going to a remote location or the same host 3cx is running ?
 
The backup is going to a remote location.
 
what is the remote location?
is this a new location?
how long has the backup worked for previously?
how big were the previous backups?
Did it only start failing once it got to 4GB?
is there a file size limit on your destination?
 
The remote location is a Linux based FTP server
Its not a new location. Been using the backup location previously with no changes
The backup has been working since the initial installation with no changes.
The previous backup was less than 4 GB and i suspect they started failing after reaching 4GB.
There is no file size limit on the destination.
Unzipping the backup zip file shows that the backup includes Call History despite it not being selected to be backed up on the scheduled backup.
I am reattaching the error here

Your 3CX backup failed due to the following reason(s):
System.IO.IOException: Unable to write data to the transport connection: Connection reset by peer.
---> System.Net.Sockets.SocketException (104): Connection reset by peer
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 count)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at _3CX.Filesystem.FTP.FtpWrapperStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at System.IO.Stream.CopyTo(Stream destination, Int32 bufferSize)
at _3CX.BackupRestore._3cxBackup.UploadTemptoDestination()
at _3CX.BackupRestore._3cxBackup.FinishingTask()
 
Are there any errors you can dig out at the FTP server side?

maybe a quota limit?
 
Unfortunately, no. I'm not getting any errors on the FTP server side.
For reference, I have >10 other 3CX PBXs running on version 20 backing up to the same server and they are just okay. Besides, I don't understand what make the backup file that big yet the recordings and call history are not getting backed up.
 

Latest Posts

Forum statistics

Threads
111,963
Messages
589,998
Members
164,868
Latest member
swegner