SOLVED How to see the progress of an Rsync Task

CheeryFlame

Contributor
Joined
Nov 21, 2022
Messages
184
Hello, I've setup an Rsync Task connecting with an SSH Keypair to retrieve data from another server to my server.

When I run the process there's no progress bar, not any information displayed like Cloud Sync Task has.

1682356803732.png


Is there a way to see the progress somewhere else? If not, is this feature planned to be added in the future?

It's really hard to know what's going on and if there's an issue with the transfer.

Thank you.
 

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
No, it is generally not possible with RSync to get a progress status. This is because a file is not transferred if it already exists on the destination. But, RSync can't know that until it has gone through the directory structure, (and possibly the file), both locally and remotely. Then checked which blocks or files to transfer, and how much.

In theory, RSync could spend tens of minutes, (or potentially hours), just setting up how much would be transferred. Except that it is much faster to start the changed blocks / file's transfer.

ZFS Replication can on the other hand perform some check before hand. A ZFS snapshot will list how much it references, thus a clue how long it will take. Even an incremental ZFS Send can do so by checking the difference in storage between the base snapshot and the incremental snapshot.

RSync can supply statistics at the end. For example, my Media pool was updated with RSync;
Code:
Number of files: 18,378 (reg: 17,107, dir: 1,269, link: 2)
Number of created files: 648 (reg: 597, dir: 51)
Number of deleted files: 140 (reg: 140)
Number of regular files transferred: 469
Total file size: 2,106,411,931,839 bytes
Total transferred file size: 280,677,374,648 bytes
Literal data: 280,677,374,648 bytes
Matched data: 0 bytes
File list size: 262,115
File list generation time: 0.001 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 280,746,378,887
Total bytes received: 23,055

sent 280,746,378,887 bytes  received 23,055 bytes  45,461,323.28 bytes/sec
total size is 2,106,411,931,839  speedup is 7.50
 
Last edited:
Top