this post was submitted on 13 Dec 2023
927 points (97.8% liked)

Technology

59148 readers
2773 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 125 points 11 months ago (9 children)

Just some advice to anyone who finds themselves in this specific situation, since I found myself in almost the exact same situation:

If you really, really want to keep the data, and you can afford to spend the money (big if), move it to AWS. I had to move almost 4.5PB of data around Christmas of last year out of Google Drive. I spun up 60 EC2 instances, set up rclone on each one, and created a Google account for each instance. Google caps downloads per account to 10TB per day, but the EC2 instances I used were rate limited to 60MBps, so I didn't bump the cap. I gave each EC2 instance a segment of the data, separating on file size. After transferring to AWS, verifying the data synced properly, and building a database to find files, I dropped it all to Glacier Deep Archive. I averaged just over 3.62GB/s for 14 days straight to move everything. Using a similar method, this poor guy's data could be moved in a few hours, but it costs, a couple thousand dollars at least.

Bad practice is bad practice, but you can get away with it for a while, just not forever. If you're in this situation, because you made it, or because you're cleaning up someone else's mess, you're going to have to spend money to fix it. If you're not in this situation, be kind, but thank god you don't have to deal with it.

[–] [email protected] 36 points 11 months ago* (last edited 11 months ago) (1 children)

4.5PB holy shit. You need to stop using UTF2e32 for your text files.

I'd be paranoid about file integrity. Even a 0.000000000022% (sic) chance of a single bitflip somewhere along the chain, like a gentle muon tickling the server's drive bus during the read, could affect you. Did you have a way of checking integrity? Or were tiny errors tolerable (eg video files)?

[–] [email protected] 22 points 11 months ago

They were using rclone so all of the transfers would be hash checked. Whether the file integrity on either side of the transfer could be relied upon is in some ways a matter of faith, but there a lot of people relying on it.

[–] [email protected] 26 points 11 months ago

Wow. That's a lot of "homework".

[–] [email protected] 25 points 10 months ago

I'm just curious how someone even gets to 4 Petabytes of data. It's taking me years to fill up just 8 TB. And that's with TV and movies.

[–] [email protected] 24 points 11 months ago* (last edited 11 months ago) (1 children)

Don''t even need an ec2 instance if all you do is moving the data to Amazon s3. rclone can do direct cloud-to-cloud transfer, the data won't hit the computer where the rclone running, so it should be very fast. You're going to have an eye watering s3 bill though. Once the data in an s3 bucket, you can copy them to glacier later.

[–] [email protected] 4 points 10 months ago (1 children)

Server side copies will only be attempted if the remote names are the same It sounds like that's only for storage systems that support move/rename operations within themselves, and isn't able to transfer between different storage providers.

[–] [email protected] 1 points 10 months ago

You're right. Server side copy is only done when syncing between google drive.

[–] [email protected] 22 points 11 months ago

AWS is very expensive. There are other compatible storage options, like Backblaze B2 and Wasabi, that are better for this use case

[–] [email protected] 13 points 10 months ago

Seems a few thousand is worth it for your life's work

[–] [email protected] 7 points 10 months ago

Jesus

How much do you pay for that in aws

[–] [email protected] 3 points 10 months ago

Isn't AWS the most expensive service to leave?