Score:0

How to safely abandon an ubuntu session?

cn flag

I am trying to migrate a huge database into an Ubuntu 18.04 server but is there a way that even if i was to lose the connection(vpn or ssh) somehow, it will keep running the migration in the background and i can attach that session when i reconnect and ssh back in?

Score:1
cn flag

The screen and tmux applications are terminal multiplexers

You can run virtual terminals, and attach/detach without disturbing the ongoing process.

Both are in the Ubuntu repositories.

Score:0
ru flag

You can do things like run scripts in the background or stop a running job with Ctrl-Z and continue it in the background by the bg command. But you will want to have your jobs outputting sensibly to logs etc so you can go back and check progress etc. Have a search for nohup, bg etc. Such as this link which was the first I found.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.