this post was submitted on 20 Jul 2024
23 points (96.0% liked)
Linux
47151 readers
1406 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I'd probably actually use mscp, which is scp but with multiple threads and is shockingly faster moving a ton of little files, which I assume this mostly is.
I also tend to prefer screen/tmux instead of nohup, and then output verbose so I can keep an eye on shit and/or see failures, but that's just a personal preference and doesn't really matter in terms of performance/reliability/anything.
Nice, need to check out mscp! Thanks for the tip!
If I had a stationary computer running, I would probably keep it running in a terminal window. I could connect a monitor to the server, but I don't think it will be necessary. I will need to verify the backup before I restore it anyway, and it is not time urgent, so that if something goes wrong I can restart.
Write a trivial shell script that does your scp or rsync or whatever, then run it in the background with nohup, and you won't have to worry about disconnects unless the box crashes. You can view progress by looking at nohup.out.
For some reason scp has long delays between file transfers. Rsync is a lot better. I didn't know about mscp but rsync has sufficed for me.
I would definitely
screen
it too, just to shield against my own errors (like closing the term window) bar that, I think any typical transfer tool would work, scp, rsync, ...