this post was submitted on 10 Nov 2024
32 points (100.0% liked)
Linux
48668 readers
460 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
rysnc
might be a faster and more reliable option. It can compress the files for transfer and does checksums after the transfer is completeI used something like this to transfer 12 TB from offsite to onsite with zero failures
You can set up a
screen
and let this run in the background all the timeand since op is using kde, they can use a konsole with dolphin to drag and drop
/path/to/host
and/path/to/destination
as well.Thanks for sharing! I’m a pure headless Linux user, so I don’t know much about desktop environments
i'm headless for servers too; but i'm foolish enough to use the x server as my daily driver. lol
Oh, I didn't know that. Neat!
Thanks! Glad to know
rsync
includes check after transfer, as I've just recently used it to backup everything on these drives to another hard drive that will not always be spinning. But I did not consider using it to transfer new media onto these hard drives.I'll try to use it to resync the files that were acting up.
Depending on your file structure, you could probably keep this running all the time so you don’t have to manually intervene in the future
How would I achieve that? With cron?
screen
rsync
job to maintain parity between source and destinationrsync
will be running in the background until you kill itYou can reattach the screen whenever you want to check on status, change parameters or kill it
I tried to resync now, and had to pass the -c flag to make sure it checked the cheksums to see if they should be updated. Then it worked. Looks like that does not affect the after-transfer checksum check though, so that's good (from documentation):