OpenHistoricalMap / issues

File your issues here, regardless of repo until we get all our repos squared away; we don't want to miss anything.
Creative Commons Zero v1.0 Universal
19 stars 1 forks source link

Things that Require Regular Cleanup in S3 #697

Open Rub21 opened 9 months ago

Rub21 commented 9 months ago

After examining the S3 costs, I discovered that the storage expense is 10 bucks per day, with the highest cost attributed to storage. Consequently, it appears that we are retaining some files that are no longer necessary. For example:

danrademacher commented 9 months ago

Wow, yeah, that's a lot of big files we have lying around! So we're saving a full Planet every day?

A few questions:

That approach would be more challenging to implement, but it would be a bit more balanced between economy, backup safety, and keeping a history of the project.

Rub21 commented 9 months ago

Is the practice at OSM also to delete all backups older than a month?

OSM keeps some random dates: https://planet.openstreetmap.org/planet/2023/?C=S;O=D for 2023, and for 2024, seems they keep weekly files: https://planet.openstreetmap.org/planet/2024/ .

I like the idea of keeping the files as you mention, 👇 , we have data from since 2020-05-14, we can rename some files and keep.

Daily Planets for the last month Monthly Planets for the past year (say from the first day of each month) Annual Planets for the full history of the project (say from the first day of each year)

1ec5 commented 9 months ago

Are the backups truly redundant? Or would any historical metadata be lost if we delete these files? If there’s anything that could potentially have value in the future, I think it would be more prudent to apply for the AWS Open Data Sponsorship Program. Both OSM and OSMCha get free storage through this program; OHM would be a natural fit. Let me know if you need me to help with kicking off that process.

danrademacher commented 9 months ago

Notes on our backup:

This might be a both/and situation where we apply for the free AWS storage and we can't keep all backups forever

batpad commented 9 months ago

Do we know what OpenStreetMap does here? Are there archives for planet and history dumps going back to the beginning of time?