<p></p>
<p>Not sure where the issue is here, but when running an osmosis export on the rails port database, sometimes it's successful and sometimes it gets corrupted. The full export is normally 8.6gb for North America, but sometimes when it exports it is only 6gb.</p>
<p><code>sudo osmosis --read-apidb-current host="localhost" database="openstreetmap" user="openstreetmap" password="openstreetmap" validateSchemaVersion="no" --write-pbf file="/var/www/html/export.osm.pbf"</code></p>
<p>It finishes without errors thrown, but it isn't a full export. If I run the command over again eventually it will finish correctly.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/2845">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLPINYUCICXODTRPA7TSGN7XZANCNFSM4RSF4GCQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLP2LHGMHS4ZJ3HEEW3SGN7XZA5CNFSM4RSF4GC2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4KP5UZMQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/2845",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/2845",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>