|
|
Subscribe / Log in / New account

Relocating Fedora's RPM database

Relocating Fedora's RPM database

Posted Jan 13, 2022 11:56 UTC (Thu) by taladar (subscriber, #68407)
Parent article: Relocating Fedora's RPM database

> most packages support anything under /var being wiped at any time.

Actually I would be fine with anything under /usr being wiped three times a day over /var being wiped even once because /var is where all our important data lives (between /var/www, /var/lib/mysql and /var/lib/postgresql among others). /usr is the easily restorable distro stuff, /var is the unique data.


to post comments

Relocating Fedora's RPM database

Posted Jan 13, 2022 13:05 UTC (Thu) by matthias (subscriber, #94967) [Link]

See my discussion with nim-nim above. /var is a mess of intermittent data (caches, logs, spool) and important data (as you mention). From an application perspective it is perfectly ok to wipe both, but the user will moan about the data. The idea is to be able to clone systems by forking /usr and providing an empty /var. Or doing factory resets (i.e., remove all user data) by wiping /var.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds