backup problems

Status
Not open for further replies.

VictorC

SOHO User
Joined
May 1, 2017
Messages
150
Reaction score
16
Have 3 or 4 systems backing up this way at the same time with no problems. But one system will fail each time when run on timer to ftp site.. log below. Any ideas guys?


3CX Phone System tried to backup but failed due to the following reason(s):

Code:
System.AggregateException: One or more errors occurred. (One or more errors occurred. (Resource temporarily unavailable)) ---> System.AggregateException: One or more errors occurred. (Resource temporarily unavailable) ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException: Resource temporarily unavailable

   at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)

   at System.Net.Dns.ResolveCallback(Object context)

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

   at System.Net.Dns.HostResolutionEndHelper(IAsyncResult asyncResult)

   at System.Net.Dns.EndGetHostAddresses(IAsyncResult asyncResult)

   at System.Net.Dns.<>c.<GetHostAddressesAsync>b__25_1(IAsyncResult asyncResult)

   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)

   --- End of inner exception stack trace ---

   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)

   at System.Net.FtpClient.FtpSocketStream.<ConnectAsync>d__68.MoveNext()

   --- End of inner exception stack trace ---

   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)

   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)

   at System.Net.FtpClient.FtpClient.Connect()

   at System.Net.FtpClient.FtpClient.Execute(String command)

   at System.Net.FtpClient.FtpClient.GetWorkingDirectory()

   at System.Net.FtpClient.FtpClient.GetListing(String path, FtpListOption options)

   at System.Net.FtpClient.FtpClient.FileExists(String path, FtpListOption options)

   at _3cxBackupRestoreImpl.Filesystem.FTP.FtpFilesystem.Exists(String filename)

   at BackupRestoreSchedule.BackupJob.GetSortedFileList(IFilesystem filesystem, String filename)

   at BackupRestoreSchedule.BackupJob.RotateFiles(IFilesystem filesystem, Int32 count, String filename)

   at BackupRestoreSchedule.BackupJob.Execute(IJobExecutionContext context)

---> (Inner Exception #0) System.AggregateException: One or more errors occurred. (Resource temporarily unavailable) ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException: Resource temporarily unavailable

   at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)

   at System.Net.Dns.ResolveCallback(Object context)

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

   at System.Net.Dns.HostResolutionEndHelper(IAsyncResult asyncResult)

   at System.Net.Dns.EndGetHostAddresses(IAsyncResult asyncResult)

   at System.Net.Dns.<>c.<GetHostAddressesAsync>b__25_1(IAsyncResult asyncResult)

   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)

   --- End of inner exception stack trace ---

   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)

   at System.Net.FtpClient.FtpSocketStream.<ConnectAsync>d__68.MoveNext()

---> (Inner Exception #0) System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (0x00000001): Resource temporarily unavailable

   at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)

   at System.Net.Dns.ResolveCallback(Object context)

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

   at System.Net.Dns.HostResolutionEndHelper(IAsyncResult asyncResult)

   at System.Net.Dns.EndGetHostAddresses(IAsyncResult asyncResult)

   at System.Net.Dns.<>c.<GetHostAddressesAsync>b__25_1(IAsyncResult asyncResult)

   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)<---

<---
 
Can you do a one time backup?
 
Hello, yes. that's what makes this so hard to figure out.
 
i dont know if this is linux or not, but if you can get to a terminal see if you can ftp to whatever place you are backing it up to.

ftp
open
ftp.something.org
username
password
 
that works fine
 
that works fine

What time is your backup? Maybe the FTP connection has problems but only during the night. It can happen if your DNS are misconfigured.
 
Status
Not open for further replies.

Forum statistics

Threads
111,913
Messages
589,706
Members
164,781
Latest member
Alina avdeyeva