Project

Profile

Help

Issue #2944 » mongo_info_broken_restore.txt

output from mongo shell - kdelee@redhat.com, 07/28/2017 07:41 PM

 
> use pulp_database

switched to db pulp_database

> show collections

celery_beat_lock
content_catalog
content_types
deferred_download
erratum_pkglists
event_listeners
lazy_content_catalog
migration_trackers
permissions
repo_content_units
repo_distributors
repo_groups
repo_importers
repo_publish_results
repo_sync_results
repos
reserved_resources
resource_manager_lock
roles
scheduled_calls
system.indexes
task_status
units_distribution
units_docker_blob
units_docker_image
units_docker_manifest
units_docker_tag
units_drpm
units_erratum
units_iso
units_ostree
units_package_category
units_package_environment
units_package_group
units_package_langpacks
units_puppet_module
units_python_package
units_rpm
units_srpm
units_yum_repo_metadata_file
users
workers
>
> db.migration_trackers.find()
{ "_id" : ObjectId("59790d69e26d2226013f8865"), "name" : "pulp.server.db.migrations", "version" : 28, "_ns" : "migration_trackers" }
{ "_id" : ObjectId("59790d69e26d2226013f8866"), "name" : "pulp_puppet.plugins.migrations", "version" : 5, "_ns" : "migration_trackers" }
{ "_id" : ObjectId("59790d69e26d2226013f8867"), "name" : "pulp_rpm.plugins.migrations", "version" : 40, "_ns" : "migration_trackers" }
{ "_id" : ObjectId("59790d69e26d2226013f8868"), "name" : "pulp_python.plugins.migrations", "version" : 2, "_ns" : "migration_trackers" }
{ "_id" : ObjectId("59790d69e26d2226013f8869"), "name" : "pulp_docker.plugins.migrations", "version" : 3, "_ns" : "migration_trackers" }
>

> db.units_rpm.find()[0].repodata
{
"filelists" : BinData(0,"eJwtTVsOgyAQ/OcUmzmA2yb9ZLkLtVtLVCCUNE2Md1fUr5nM02bfj35Q8qX/CGJqCIp+VsFTfQHlcQgvwbKcjNYVzhDZn5ZvSJE0p1a9gYpOgjtodwSPbmd8JN9hUsd1ztwWu/qvlg/NWL7+ndkAHnUraA=="),
"other" : BinData(0,"eJwtjUEKhDAQBO95RdMP0BX2mMlfRh1U1CRE2Iv4dw3uqQqKpn3WYdXJoGWYhTFVElF3E/amhcjrtIzC83wN18XgAP+zciwpwnKq0w9RbBN2xFOE3+axNjjf/i+CuwG3aiHk"),
"primary" : BinData(0,"eJx1U01v2zAMvfdXCLonihMnTQtbQA/FMGCHDjvtqCi0LUS2NErJkBX976P8AXsDejL1+Ei9R8qFV/qiamDx7qHk6FsuHxgrOtWCPIHCQvRhwhTqRnYufQrRHxJ6AwzGdQy8003JN5wh2JJnnFGm5PmaItEzdQP6Eq4t85fanEv+8/UHH+99f2dTNgHs44PLBUbnQkyHvhd9W4V3+cLOFN3ZZMNVbFA9ERL5DEGj8ZFkfl6wJKWikYCj+Cta2cTon4WIIaLSjYtqXcHZofLgvIW1w7oQiZf40bTATldjyWi222XHXbZ7zDmrjCW/2X6zOWz2+/w4DSeYP8DSUM2N8tunA2emC1FZC9Qh3/JJMSXz/DCVWadVkswahKrkbwMniJNIrlY0/VW2Hna2TssdqiqHrYoppAPBz9Zo6ALIL2/fbttCLKGZdIOO3A4Xj1CN7url1y4CdhDFi/dU1gsKQ5eBMBf0E2lciDK0v2D1O2T7gTgnZnJwV9RAkVyYCaiTk6FqZsxVDagz4ApVR+slyTSw7dMjZzRMjCU/Hjf8Hw8e3c3Q9gdoBKGLeF+86cqqOpT89Ttn6X8oeVL06VOnJuL/1oWYpl6IcZXy4S/1Nhyc")
}
(1-1/3)