36
submitted 1 year ago by ndr@lemmy.world to c/selfhost@lemmy.ml

If I were to create my own instance federated with all the other instances, as of today, how much data would I be storing, since I would make a copy of all the content?

I know this will vary a lot, but I’m looking for a ballpark figure to have an idea. I don’t think it would be a lot, but I can’t find an estimate anywhere.

Reposted from https://lemmy.world/post/55030 as I think this community is probably a better fit

you are viewing a single comment's thread
view the rest of the comments
[-] cablepick@lemmy.cablepick.net 5 points 1 year ago* (last edited 1 year ago)

Do you plan on allowing other users? If so every image they upload anywhere will be hosted from your instance. You would need a long term plan for continued storage if you do.

If it’s only yourself then not much. You would need space for your uploaded images and the database. Worst case you have to purge communities to free up DB space and re add them. It only tracks communities from the moment you add them. It doesn’t pull the entire history, and associated db size, into your instance.

I can pull the real numbers when I’m not on my phone but my database and maybe 150mb now. You can see all the communities I follow here so get a relative idea: https://lemmy.cablepick.net/communities My instance has been up for 4 days. I should start tracking db size growth to give others an idea of what to expect.

[-] ndr@lemmy.world 3 points 1 year ago

If I follow through with this, it won't be very soon. I'm just gathering information to see whether it's worth it.

Anyway, I was thinking of keeping it only for me and a few more users, maybe (definitely not open for everyone).

[-] animist@lemmy.one 1 points 1 year ago

Can one set up their instance to delete posts amd associated media after x number of days?

[-] cablepick@lemmy.cablepick.net 2 points 1 year ago

You would have to run raw database commands to clear followed communities’ posts. It would be possible with some experimenting. The only local media associated with non-local communities is generated thumbnails so those would have to identified and purged from pict-rs.

[-] jlh@lemmy.jlh.name 1 points 1 year ago* (last edited 1 year ago)

One thing to note is that pictrs supports hosting your images on in object storage (e.g. AWS S3 or Backblaze B2). That can save a ton of money on storage costs. 1TB of images on B2 only costs $5/month.

this post was submitted on 11 Jun 2023
36 points (97.4% liked)

Self Hosted - Self-hosting your services.

11222 readers
17 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

Important

Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!

Cross-posting

If you see a rule-breaker please DM the mods!

founded 3 years ago
MODERATORS