this post was submitted on 08 Nov 2024
177 points (97.3% liked)

Selfhosted

39980 readers
477 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 saw this post and I was curious what was out there.

https://neuromatch.social/@jonny/113444325077647843

Id like to put my lab servers to work archiving US federal data thats likely to get pulled - climate and biomed data seems mostly likely. The most obvious strategy to me seems like setting up mirror torrents on academictorrents. Anyone compiling a list of at-risk data yet?

top 26 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 2 hours ago

https://wiki.archiveteam.org/

they have an automatic VM that dowloads stuff in distributed manner and uploads to archive.org

[–] [email protected] 2 points 1 hour ago (1 children)

I archive youtube videos that I like with TubeArchivist, I have a playlist for random videos i'd like to keep, and also subscribe to some of my favourite creator so I can keeptheir videos, even when I'm offline

[–] [email protected] 2 points 51 minutes ago (1 children)

I'll add pinchflat as an alternative with the same aim.

[–] [email protected] 1 points 12 minutes ago

Seems nice, but you need an external Player to watch the content, which can be goof for some people, but I like the webUI of TubeArchivist (even though it can be enhanced for sure)

[–] [email protected] 11 points 4 hours ago* (last edited 2 hours ago) (1 children)

I have a script that archives to:

I used to solely depend on archive.org, but after the recent attacks, I expanded my options.

Script: https://gist.github.com/YasserKa/9a02bc50e75e7239f6f0c8f04fe4cfb1

EDIT: Added script. Note that the script doesn't include archiving to archivebox, since its API isn't available in stable verison yet. You can add a function depending on your setup. Personally, I am depending on Caddy and docker, so I am using caddy module [1] to execute commands with this in my Caddyfile:

route /add {
	@params query url=*
	exec docker exec --user=archivebox archivebox archivebox add {http.request.uri.query.url} {
		timeout 0
	}
}

[1] https://github.com/abiosoft/caddy-exec

[–] [email protected] 1 points 3 hours ago (1 children)

Would you be willing to share it?

[–] [email protected] 2 points 3 hours ago
[–] [email protected] 50 points 10 hours ago (4 children)

One option that I've heard of in the past

https://archivebox.io/

ArchiveBox is a powerful, self-hosted internet archiving solution to collect, save, and view websites offline.

[–] [email protected] 2 points 5 hours ago

Eyy, I want that!

[–] [email protected] 7 points 8 hours ago

That looks useful, I might host that. Does anyone have an RSS feed of at risk data?

[–] [email protected] 12 points 10 hours ago* (last edited 10 hours ago)

Going to check that out because....yeah. Just gotta figure out what and where to archive.

[–] [email protected] 6 points 9 hours ago

This seems pretty cool. I might actually host this.

[–] [email protected] 23 points 10 hours ago (1 children)
[–] [email protected] 15 points 8 hours ago

Everything is at risk.

[–] [email protected] 10 points 10 hours ago (3 children)

I don't self-host it, I just use archive.org. That makes it available to others too.

[–] [email protected] 25 points 9 hours ago (1 children)

It’s a single point of failure though.

[–] [email protected] 2 points 48 minutes ago

In that they're a single organization, yes, but I'm a single person with significantly fewer resources. Non-availability is a significantly higher risk for things I host personally.

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

There was the attack on the Internet archive recently, are there any good options out there to help mirror some of the data or otherwise provide redundancy?

[–] [email protected] 0 points 10 hours ago (2 children)

Yes. This isn't something you want your own machines to be doing if something else is already doing it.

[–] [email protected] 14 points 10 hours ago (2 children)

But then who backs up the backups?

[–] [email protected] 2 points 10 hours ago

I guess they back either other up. Like archive.is is able to take archives from archive.org but the saved page reflects the original URL and the original archiving time from the wayback machine (though it also notes the URL used from wayback itself plus the time they got archived it from wayback).

[–] [email protected] 0 points 10 hours ago

Realize how how much they are supporting and storing.

Come back to the comments after.

[–] [email protected] 7 points 9 hours ago

Your argument is that a single backup is sufficient? I disagree, and I think that so would most in the selfhosted and datahoarder communities.

[–] [email protected] 6 points 9 hours ago (1 children)

I use M-Discs to long term archival.

[–] [email protected] 2 points 5 hours ago

I heard news recently that some companies recently started shipping non-m disks labelled as m-disks. You may want to have a look

[–] [email protected] 3 points 9 hours ago* (last edited 9 hours ago)

Flash drives and periodic transfers.