This can be used to recover as much data as possibly from a terminally broken 
database. It is currently only supported for the 'ndb' database.

This method is currently hidden from the API by using a macro to select salvage 
mode. If it should be more exposed, we can add a rpmtsSalvageDB() method.
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/1042

-- Commit Summary --

  * ndb: add a rpmpkgSalvage() method
  * Add a --salvagedb option to the rpmdb tool

-- File Changes --

    M lib/backend/dbi.h (1)
    M lib/backend/ndb/glue.c (7)
    M lib/backend/ndb/rpmpkg.c (157)
    M lib/backend/ndb/rpmpkg.h (1)
    M lib/rpmdb.c (7)
    M lib/rpmdb_internal.h (8)
    M lib/rpmts.c (8)
    M rpmdb.c (6)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/1042.patch
https://github.com/rpm-software-management/rpm/pull/1042.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1042
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to