What is the problem you are having with rclone?
rclone sync --sftp-host=SFTPSERVER :sftp:/datasync/ --sftp-user=cloud-ops --sftp-pass='' /opt/datasync --log-file=/var/log/rclone/rclone_rep.log -vvv -P
While I am doing rclone copy , i am capturing the logs in log file .
what I have notice , during file transfer if I do cntrl+c or I lost the network , there is no alert written in logs that cancelled copy or network lost something like .
What is your rclone version (output from rclone version
)
rclone v1.55.1
Which OS you are using and how many bits (eg Windows 7, 64 bit)
RHEL 7.9
Which cloud storage system are you using? (eg Google Drive)
Local SFTP copy server to server
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone sync --sftp-host=SFTPSERVER :sftp:/datasync/ --sftp-user=cloud-ops --sftp-pass='' /opt/datasync --log-file=/var/log/rclone/rclone_rep.log -vvv -P (with --log-level DEBUG ) also we tried
The rclone config contents with secrets removed.
Local server to server copy so no rclone config required
A log from the command with the -vv
flag
2021/08/12 17:31:58 DEBUG : data1/data1/7: Unchanged skipping
2021/08/12 17:31:58 DEBUG : data1/data1/8: Size and modification time the same (differ by 0s, within tolerance 1s)
2021/08/12 17:31:58 DEBUG : data1/data1/8: Unchanged skipping
2021/08/12 17:31:58 DEBUG : Local file system at /opt/SP/edwdata/datasync: Waiting for checks to finish
2021/08/12 17:31:58 DEBUG : Local file system at /opt/SP/edwdata/datasync: Waiting for transfers to finish
2021/08/12 17:31:58 DEBUG : bigfiles/file1: Starting multi-thread copy with 4 parts of size 2.500G
2021/08/12 17:31:58 DEBUG : bigfiles/file1: multi-thread copy: stream 4/4 (8053063680-10737418240) size 2.500G starting
2021/08/12 17:31:58 DEBUG : bigfiles/file1: multi-thread copy: stream 1/4 (0-2684354560) size 2.500G starting
2021/08/12 17:31:58 DEBUG : bigfiles/file1: multi-thread copy: stream 2/4 (2684354560-5368709120) size 2.500G starting
2021/08/12 17:31:58 DEBUG : bigfiles/file1: multi-thread copy: stream 3/4 (5368709120-8053063680) size 2.500G starting
2021/08/12 17:32:13 DEBUG : data3/data3/file.out: multi-thread copy: stream 3/4 (1073741824-1610612736) size 512M finished
2021/08/12 17:32:14 DEBUG : data3/data3/file.out: multi-thread copy: stream 2/4 (536870912-1073741824) size 512M finished
2021/08/12 17:32:14 DEBUG : data2/data2/dag.file: multi-thread copy: stream 3/4 (1073741824-1610612736) size 512M finished
2021/08/12 17:32:15 DEBUG : data2/data2/dag.file: multi-thread copy: stream 1/4 (0-536870912) size 512M finished
2021/08/12 17:32:17 DEBUG : data3/data3/file.out: multi-thread copy: stream 4/4 (1610612736-2147483648) size 512M finished
2021/08/12 17:32:17 DEBUG : data2/data2/dag.file: multi-thread copy: stream 4/4 (1610612736-2147483648) size 512M finished
2021/08/12 17:32:18 DEBUG : data2/data2/dag.file: multi-thread copy: stream 2/4 (536870912-1073741824) size 512M finished
2021/08/12 17:32:18 DEBUG : data2/data2/dag.file: Finished multi-thread copy with 4 parts of size 512M
2021/08/12 17:32:20 DEBUG : data3/data3/file.out: multi-thread copy: stream 1/4 (0-536870912) size 512M finished
2021/08/12 17:32:20 DEBUG : data3/data3/file.out: Finished multi-thread copy with 4 parts of size 512M