I've recently set up a headless server to back up a number of very large film & editing files.
I SSH into the server and - following some best practice guides I found around - I've tightened security so that the server auto logs me off after 5 minutes of inactivity.
This is now creating a bit of a headache as I try to sort and move those files.
mv file1 /new_directory/ can take +5 mins and so I'm often logged off half way through.
Where multiple files are involved I've come back to find that some files seem to have transferred and others (at a seemingly arbitrary cut off point... or roughly what I reckon a 5 min timeout might have allowed) have not.
So my questions are:
- When issuing a
mvcommand, if it is cancelled whilst incomplete is there any risk of data loss? Might I be safer using
- Is there any way that I could set a
mvcommand to go and then be sure that it will continue even after I've logged off or my ssh window has closed
- Is there a way to do other things whilst a
cpis taking place (and thus refresh my countdown timer)