Re: yum database backup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Arun Biyani wrote:
I've had yum database corruption couple of times recently. What I'd like to do now, is to save the yum database nightly via a cron job i.e something like "tar cvf /home/bak/yum.tar /etc/yum" run nightly. I am not sure which directories to backup so that yum & rpm databases
can be fully restored.

Yum doesn't have a database, at least not one that it won't recreate for itself if necessary. You could backup the config files though, /etc/yum.*

The rpm database is in /var/lib/rpm.

Paul.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux