From: Tom Hughes Date: Tue, 10 Oct 2023 16:21:27 +0000 (+0100) Subject: Send osmdbt log files to S3 X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/4589a679fa265bef069b237b0ff6d7c59dacd9a8 Send osmdbt log files to S3 --- diff --git a/cookbooks/planet/files/default/replication-bin/replicate-minute b/cookbooks/planet/files/default/replication-bin/replicate-minute index 943cfa6a3..5e39bec7a 100755 --- a/cookbooks/planet/files/default/replication-bin/replicate-minute +++ b/cookbooks/planet/files/default/replication-bin/replicate-minute @@ -6,6 +6,9 @@ cd /etc/replication osmdbt-catchup --quiet osmdbt-get-log --quiet + +/opt/awscli/v2/current/bin/aws --profile=osm-osmdbt-state-upload s3 sync --storage-class=INTELLIGENT_TIERING --no-progress --exclude='*' --include='osm-repl-*.log' /var/lib/replication/minute s3://openstreetmap-osmdbt-state + osmdbt-catchup --quiet osmdbt-create-diff --quiet --with-comment --max-changes=50000