this post was submitted on 08 Nov 2023
1 points (100.0% liked)

Data Hoarder

11 readers
1 users here now

We are digital librarians. Among us are represented the various reasons to keep data -- legal requirements, competitive requirements, uncertainty of permanence of cloud services, distaste for transmitting your data externally (e.g. government or corporate espionage), cultural and familial archivists, internet collapse preppers, and people who do it themselves so they're sure it's done right. Everyone has their reasons for curating the data they have decided to keep (either forever or For A Damn Long Time (tm) ). Along the way we have sought out like-minded individuals to exchange strategies, war stories, and cautionary tales of failures.

founded 1 year ago
MODERATORS
 

At the moment i have 2 drives plugged into the same machine running this command to sync them.

rsync -X -H -A -a -P /mnt/MyBook /mnt/offsite/MyBook/    

later this month ill be moving the /mnt/offsite/MyBook/ drive to my brothers house and want to 1) remove files no longer on the main drive from the offsite and move the new files over.

whats the best command to do this?

top 10 comments
sorted by: hot top controversial new old
[–] persiusone@alien.top 1 points 1 year ago

dd is what you want to use for exact mirroring

[–] 30rdsIsStandardCap@alien.top 0 points 1 year ago (1 children)

Use robocopy, comes with windows. Mirror command is what you’re looking for.

[–] HTWingNut@alien.top 1 points 1 year ago (1 children)
[–] Solkre@alien.top 1 points 1 year ago (1 children)

Hmm. I should try that stuff out on the integrated Linux thing windows has… never have for backups for cloning.

[–] nefarious_bumpps@alien.top 1 points 1 year ago

rsync works just fine in WSL2/Ubuntu.

[–] pcc2048@alien.top 0 points 1 year ago (1 children)
[–] bofh2023@alien.top 0 points 1 year ago (1 children)
[–] rustedsanity@alien.top 1 points 1 year ago (1 children)

Now there's a command I haven't seen in years, not since college.

[–] Solkre@alien.top 1 points 1 year ago

Really? It’s used/suggested here all the time. And I’m a windows guy.