# Whether '/data' have any fallback/backup in standalone mode?

**URL:** <https://hub.mender.io/t/whether-data-have-any-fallback-backup-in-standalone-mode/633>\
**Category:** General Discussions\
**Tags:** yocto, sumo, nxp\
**Created:** [May 27, 2019, 1:07pm UTC](https://hub.mender.io/t/whether-data-have-any-fallback-backup-in-standalone-mode/633 "2019-05-27T13:07:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ajithpv](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/ajithpv/32/728_2.png) [@ajithpv](https://hub.mender.io/u/ajithpv)\
**Post date:** [May 27, 2019, 1:07pm UTC](https://hub.mender.io/t/whether-data-have-any-fallback-backup-in-standalone-mode/633/1 "2019-05-27T13:07:14Z")

</div>

Hi,

AFAIK, the mender client will be looking for `/data` partition for the update.  
I would like to know what will happen if the `mender` folder or `u-boot` folder somehow got corrupted!

How the device with mender can recover from this corruption (assuming the device is in remote location)? Is there any fallback/backup options are present to get the mender to update the client in this case? 🤔

---

<div class="post-metadata">

**Author:** ![kacf](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/kacf/32/146_2.png) [@kacf](https://hub.mender.io/u/kacf)\
**Post date:** [May 28, 2019, 5:11am UTC](https://hub.mender.io/t/whether-data-have-any-fallback-backup-in-standalone-mode/633/2 "2019-05-28T05:11:21Z")

</div>

The `u-boot` folder (boot partition, actually) is not used by many boards. Mender would probably survive corruption here in many cases.

I’m not sure which `mender` folder you are referring to, there are several. Corrupting the `/data/mender` folder would most likely mean that Mender resets itself to a fresh device, assuming the folder is writable at all. If it’s truly corrupted, and not writable, then Mender would not recover I think.

---

<div class="post-metadata">

**Author:** ![ajithpv](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/ajithpv/32/728_2.png) [@ajithpv](https://hub.mender.io/u/ajithpv)\
**Post date:** [May 28, 2019, 5:16am UTC](https://hub.mender.io/t/whether-data-have-any-fallback-backup-in-standalone-mode/633/3 "2019-05-28T05:16:45Z")

</div>

Thank you…I’m referring to the `/data/mender` folder itself.

> Corrupting the `/data/mender` folder would most likely mean that Mender resets itself to a fresh device, assuming the folder is writable at all

Whether this means that, all the files including the `device type` will recover from the corruption? Is there any backup available for the `/data/mender` and `/data/u-boot` folders?

---

<div class="post-metadata">

**Author:** ![kacf](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/kacf/32/146_2.png) [@kacf](https://hub.mender.io/u/kacf)\
**Post date:** [May 28, 2019, 5:41am UTC](https://hub.mender.io/t/whether-data-have-any-fallback-backup-in-standalone-mode/633/4 "2019-05-28T05:41:00Z")

</div>

> [@ajithpv](#):
>
> Whether this means that, all the files including the `device type` will recover from the corruption?

You’re right, it will not recover from missing `device_type`. Same goes for `/data/mender/mender.conf`, used by more recent Yocto branches. But these files are never written to, so they have a pretty low chance of being corrupted, compared to the database, which is in the same directory.

> [@ajithpv](#):
>
> Is there any backup available for the `/data/mender` and `/data/u-boot` folders?

No.
