# How do you back up and restore /etc?

**URL:** <https://universal-blue.discourse.group/t/how-do-you-back-up-and-restore-etc/7455>\
**Category:** General\
**Created:** [March 18, 2025, 12:49pm UTC](https://universal-blue.discourse.group/t/how-do-you-back-up-and-restore-etc/7455 "2025-03-18T12:49:09Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![mxj4](https://yyz2.discourse-cdn.com/free1/user_avatar/universal-blue.discourse.group/mxj4/32/5839_2.png) [@mxj4](https://universal-blue.discourse.group/u/mxj4)\
**Post date:** [April 16, 2025, 4:46pm UTC](https://universal-blue.discourse.group/t/how-do-you-back-up-and-restore-etc/7455/6 "2025-04-16T16:46:09Z")

</div>

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

```auto
ostree admin config-diff

```

and

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

```

to get the list of changed files under `/etc`.

---

_[View the full topic](https://universal-blue.discourse.group/t/how-do-you-back-up-and-restore-etc/7455)._
