rsync
rsync Exit Codes
Exit codes returned by rsync to indicate the outcome of a file transfer operation.
20 codes
references linux.die.net/man/1/rsync
· All codes 20 codes
- 0 Success The transfer completed successfully.
- 1 Syntax or usage error rsync was invoked with an invalid option or argument combination.
- 2 Protocol incompatibility The local and remote rsync versions are not compatible.
- 3 Errors selecting input/output files or directories rsync could not select the specified source or destination files or directories.
- 4 Requested action not supported The requested action is not supported on this platform or by this build of rsync.
- 5 Error starting client-server protocol An error occurred while rsync was initiating the client-server protocol.
- 6 Daemon unable to append to log file The rsync daemon could not write to its log file.
- 10 Error in socket I/O An error occurred reading from or writing to the network socket.
- 11 Error in file I/O An error occurred reading from or writing to a local file.
- 12 Error in rsync protocol data stream An error in the rsync protocol data stream was detected.
- 13 Errors with program diagnostics An error occurred in the rsync program diagnostics.
- 14 Error in IPC code An error occurred in the inter-process communication between rsync processes.
- 20 Received SIGUSR1 or SIGINT rsync was terminated by SIGUSR1 or SIGINT.
- 21 Some error returned by waitpid() An error was returned from a call to waitpid() in the rsync parent process.
- 22 Error allocating core memory buffers rsync failed to allocate memory for its internal buffers.
- 23 Partial transfer due to error Some files or directories were not transferred due to errors. The transfer was otherwise successful.
- 24 Partial transfer due to vanished source files Some source files vanished during the transfer. They may have been deleted between the time rsync enumerated them and the time it tried to transfer them.
- 25 The --max-delete limit stopped deletions rsync stopped deleting files on the destination because the --max-delete limit was reached.
- 30 Timeout in data send/receive The transfer timed out while sending or receiving data.
- 35 Timeout waiting for daemon connection rsync timed out while waiting for a connection to the remote daemon.