this post was submitted on 09 Aug 2024
49 points (96.2% liked)

Selfhosted

60693 readers
323 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

I'd like to store/seed important data (wikipedia, gutenberg, etc.), and read recently that it would be a good idea to store torrent files long-term. My questions are:

  1. Is it better to store torrent files or magnet links?
  2. Will a given magnet link retrieve the exact same .torrent file every initiation?
  3. Is storage of these files/links a good idea (especially if I have the files)?

This question is really about whether magnet links or torrent files are better to store long term, with a sanity check that this is something that should be done.

I've read these two StackExchange posts which were very helpful, and am looking to get more technical opinions and info:

top 4 comments
sorted by: hot top controversial new old
[–] vzq@lemmy.blahaj.zone 70 points 2 years ago (1 children)

Store torrent files. The magnet links are just the hashes of the torrent files.

Yes, the magnet link points to a specific torrent file, but you will only be able to get them if anyone is still sharing it and currently online.

If you have the torrent file and the content, you can start a new swarm if the old one is dead. If you only have the magnet link and the content, you can’t.

[–] Preflight_Tomato@lemm.ee 3 points 2 years ago

Ok, that's what I'll do. Thanks so much for the info! 😁

[–] Tyoda@lemm.ee 15 points 2 years ago

As long as it's in your list, your client keeps a copy of the torrent file around somewhere.

[–] MangoPenguin@lemmy.blahaj.zone 6 points 2 years ago

The other handy reason to keep torrent files around is you can use it to verify the data you have isn't corrupted or changed in some way.