Reverting dom0 state

I need to do some troubleshooting that will impact dom0 files. Before I screw up my system, what is the simplest way to revert dom0 to its prior state before the troubleshooting?

I can back up dom0, but that only backs up the home directory. Is there a simple way to backup all of dom0 and restore it, without a re-install?

If I rsync with root privileges the root directory, will that catch everything? Is that a viable solution to revert state, or am I only going to create a mess of dom0 doing so?

1 Like

I suggest disk-cloning with tools like clonezilla. I use it as a second-level backup and before switching to a new qubes-os release.