Scheduled Backup Failed Daily

Status
Not open for further replies.

ArthurTen

Gold Partner
Joined
May 8, 2019
Messages
4
Reaction score
0
Hello,

PBX version : 16.0.6, server on Debian9, FTP amazon s3.
And without any changes on the next day scheduled backup was successfull
Why did it happened and give a information how to fix this so so that it does not occur again

Your 3CX backup failed due to the following reason(s):
FluentFTP.FtpCommandException: /3CXScheduledBackup.zip.tmp: No such file or directory
at FluentFTP.FtpClient.OpenPassiveDataStream(FtpDataConnectionType type, String command, Int64 restart)
at FluentFTP.FtpClient.OpenDataStream(String command, Int64 restart)
at FluentFTP.FtpClient.OpenWrite(String path, FtpDataType type, Boolean checkIfFileExists)
at FluentFTP.FtpClient.OpenWrite(String path)
at _3cxFilesystemImplementations.FTP.FtpFilesystem.CreateFile(String filename)
at _3cxBackupRestoreImpl.BackupRestoreUtils.Backup(IFilesystem filesystem, String instanceId, String cfgPath, String dbConnectionString, BackupConfig options, String fullpathFilename, Boolean sendEmail)
at BackupRestoreSchedule.BackupJob.Execute(IJobExecutionContext context)
 
Hi Arthur,

Monitor the system and see if it happens again. Looks like there was a connection drop during the attempt to backup.

Indication of a dropped connection will be the fact that a 3CXScheduledBackup.zip.tmp is left behind.
The next scheduled backup is expected to work correctly after such events, even if the previous one failed. The .tmp file will be gone at that stage.
 
I have had the same issue.

It was fixed by adding NLST FTP command to the configuration of ProFTPD service.

<Limit LIST CWD PWD XCWD XPWD MKD XMKD RNFR RNTO NLST>
AllowAll
</Limit>

PBX version: 16.0.5.622
Debian GNU/Linux 9 (stretch)
 
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
111,964
Messages
590,003
Members
164,869
Latest member
hpgitsupport