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

Selfhosted

40296 readers
271 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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

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

Questions? DM the mods!

founded 1 year 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 3 months 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 3 months ago

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

[–] Tyoda@lemm.ee 15 points 3 months 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 3 months 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.