D-Link Forums
The Graveyard - Products No Longer Supported => D-Link Storage => DNS-323 => Topic started by: random404 on February 19, 2011, 05:47:25 AM
-
Thanks to a couple of the very helpful guys on this forum I've been backing up my data using rsync and cp where necessary. Problem is that sometimes the process takes a VERY long time to do, and I lose the real time progress in the telnet console if I close the console window.
Here's how it happens: my computer's plugged in directly to the DNS 323, I open a telnet session, then kick off the process and can view the progress. Problem is if I restart my computer, or even just close the telnet window, I can no longer view the progress of the process in real time from the console output.
Is there a way to 'reconnect' to the process and continue seeing the console output in real time? Sometimes these processes can take hours upon hours upon hours, and if I restart my computer the process still continues because I can hear the DNS 323 working, but it's unnerving not being able to see what it's doing.
-
Redirect the output to a file. Place the file in a share you can access remotely.
Run rsync like so:
rysnc ... >> /mnt/HD_a2/rsync.log 2>&1
This will redirect both standard output and errors to rsync.log.
You can add --stats to the command line for a nice summary of the rsync job, which looks like this:
Number of files: 26586
Number of files transferred: 67
Total file size: 328.03G bytes
Total transferred file size: 1.63M bytes
Literal data: 1.63M bytes
Matched data: 0 bytes
File list size: 881.94K
File list generation time: 0.073 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 2.52M
Total bytes received: 2.82K
sent 2.52M bytes received 2.82K bytes 20.77K bytes/sec
total size is 328.03G speedup is 129975.22