Skip to content

db: Skip backup of gps_points table data#856

Open
Firefishy wants to merge 1 commit into
openstreetmap:masterfrom
Firefishy:no-backup-of-gps_points
Open

db: Skip backup of gps_points table data#856
Firefishy wants to merge 1 commit into
openstreetmap:masterfrom
Firefishy:no-backup-of-gps_points

Conversation

@Firefishy

Copy link
Copy Markdown
Member

Skip the backup of gps_points table data.

The gps_points table data could be re-imported from the source GPX files.

The gps_points table data bloats the backup size and directly delays the publishing of the planet data.

@Firefishy

Copy link
Copy Markdown
Member Author

For consideration if we want to do this...

@pnorman

pnorman commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator

I'm fine with this. pg_dump isn't for backups anyways, that's what a base backup + WAL is for.

@Firefishy

Copy link
Copy Markdown
Member Author

I'm fine with this. pg_dump isn't for backups anyways, that's what a base backup + WAL is for.

We don't currently do base backups.

@tomhughes

Copy link
Copy Markdown
Member

If we move to base backups then we can go further than this PR and exclude all tables (like the history tables!) that the planet dump doesn't need.

@Firefishy Firefishy force-pushed the no-backup-of-gps_points branch from ceacc16 to 7f6aecb Compare June 19, 2026 13:27
@pnorman

pnorman commented Jun 20, 2026

Copy link
Copy Markdown
Collaborator

exclude all tables (like the history tables!)

Unfortunately it needs those for the history PBF :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants