Writes system RPM configuration to a dump file and restore it.
Note
DNF and Yum debug files are not compatible and thus can’t be used by the other program.
dnf debug-dump [--norepos] [<filename>]
dnf debug-restore [--output] [--install-latest] [--ignore-arch] [--filter-types = [install,remove,replace]] <filename>
dnf debug-dump
dnf debug-restore