repupgrade(1)

πŸ“¦ version 2.14.1, in centos-stream 10, centos-stream 9, fedora 43, fedora 44

πŸ’– repupgrade β€” the glow-up your CIM schema deserves πŸ’–

okay so bestie, welcome to repupgrade, section 1 of the manual pages πŸŽ€. If you've ever looked at your old CIM repository and thought "girl… this is giving 2019", this is the tool that takes it to the new era. No cap.


✨ NAME ✨

repupgrade β€” enables upgrading to a newer version of the CIM schema by recreating schema extensions from an old repository in a new repository that has been initialized with the new version of the schema. It also sets the SystemName key property in Filter, Handler instances to empty since SystemName is generated dynamically from the current system name. Corresponding subscriptions are also modified with the modified filter and handler references. πŸ‘‘


✨ SYNOPSIS ✨

repupgrade -o oldrepositorypath -n newrepositorypath

repupgrade -h | --help

repupgrade -v | --version

✨ DESCRIPTION ✨

So here's the tea β˜•: the utility will recreate schema extensions from an older repository in a new repository. New namespaces, class extensions, qualifier extensions and instances in the old repository will be created in the new repository. It's giving moving day but make it schema 🌈.

If an error occurs during the upgrade an error message is displayed and the upgrade is aborted. If an error occurs during the creation of a schema element, the CIM/XML request for creating the schema element is logged. 😭 (yes, it keeps receipts β€” that's the point)

🫢 Options 🫢

repupgrade recognizes the following options:

  • -o β€” Specifies the old repository path. If the old repository path does not exist, an error message is returned and no action is taken. (like, zero action, bestie, it just says no πŸ’€)
  • -n β€” Specifies the new repository path. If the new repository path does not exist, an error message is returned and no action is taken. (same energy, same boundaries βœ‹)
  • -h | --help β€” Displays the command help message. πŸŽ€
  • -v | --version β€” Displays the CIMServer version number. ⭐

✨ EXIT STATUS ✨

When an error occurs, an error message is written to stderr and an error value 1 is returned. The following values are returned:

  • 0 β€” Success πŸ₯³
  • 1 β€” Error πŸ’€

✨ EXAMPLE ✨

Upgrade the contents of an old repository located in /home/test/prev_repository to a new repository located in /home/test/repository:

repupgrade -o /home/test/prev_repository -n /home/test/repository

and that's the whole page, bestie πŸ’… this was repupgrade from the section 1 manual pages β€” that's the manual name, right there in the header where it's always been, no need to make it weird. iykyk 🌸

mwah, go forth and upgrade responsibly πŸ¦‹βœ¨

πŸ“¦ where this page comes from