If using "osm2pgsql-replication init" with "--server https://planet.openstreetmap.org/replication/minute", what deternines the replication start date and how to I change it?

I’m the using osm2pgsql version 1.6.0 that is packaged within Ubuntu 22.04.

After following https://switch2osm.org/serving-tiles/manually-building-a-tile-server-ubuntu-22-04-lts/ If I immediately do:

sudo -u _renderd osm2pgsql-replication init -d gis  --server https://planet.openstreetmap.org/replication/minute

I get

2022-04-24 10:27:36 [INFO]: Initialised updates for service 'https://planet.openstreetmap.org/replication/minute'.
2022-04-24 10:27:36 [INFO]: Starting at sequence 5029284 (2022-04-24 07:04:37+00:00).

Where the “starting at sequence and date” seems to be “some variable time in the past”. What determines the starting sequence number and date, and how do I change it (without just editing the resulting values in the database after the “–init”).

2 posts - 2 participants

Read full topic

Ce sujet de discussion accompagne la publication sur https://community.openstreetmap.org/t/if-using-osm2pgsql-replication-init-with-server-https-planet-openstreetmap-org-replication-minute-what-deternines-the-replication-start-date-and-how-to-i-change-it/1303