I was doing a rclone copy to my cloud storage, but my PC froze so I need to force restart.
Do I need to worry about data corruption or anything like that?
All I need to do is just start putty again and them execute the command again without worrying about data corruption, uploading duplicated content & etc?
Is there a way to make the process independent of my putty session after started? Like the command will keep running until completion if my SSH session is killed/closed.
No data corruption will happen. Just run command again and it will ignore duplicates.
What you are looking for is a terminal application called “screen”
Start a new screen and execute​ rclone there.
Press ctrl-a and then d
It will disconnect you from the screen.
Type screen -r and it will reconnect. This way you will see when it finishes all the stats…
By default nohup appends output from the command to the file nohup.out so you can use tail -f nohup.out from another Putty session to monitor, and as @ariusbb shows you can use the “screen” command instead and disconnect and reconnect as required.