How can I backup the RPM database?

Updated -

The Red Hat Package Manager (RPM) database is how Red Hat Enterprise Linux knows the state of installed packages. The database is accessed whenever the rpm command is issued. The database is modified whenever a package is installed or removed.

The RPM database is located in /var/lib/rpm directory. Files beneath this directory are binary files which hold the ins...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.