0

I use Putty to remotely login into SERVER 1 and issue a WGET to another SERVER 2 to make a backup of a large directory.

My question is, do I have to stay connected while this process occcurs? Or, is it enough to simply exectute the WGET command and all the files will copy over, even if I disconnect?

If I do have to stay connected, how can I configure things so I don't have to stay connected?

Kon
  • 1
  • Related: [How to monitor WGET download progress after closing SSH session](https://unix.stackexchange.com/questions/252158) – Freddy Jul 02 '20 at 01:48

2 Answers2

0

You can either use screen/tmux or run wget in background (-b option)

Artem S. Tashkinov
  • 26,392
  • 4
  • 33
  • 64
0

Using wget -bc should work. By the way, if you want your job to keep running after you disconnect to the remote server, nohup COMMAND >log 2>err & might be a good idea.