How do you back up and restore /etc?

Default /etc shipped by the image is under /usr/etc, hence I’m using a combination of

ostree admin config-diff

and

diff -yrW200 --suppress-common-lines /usr/etc /etc

to get the list of changed files under /etc.

1 Like