# Lost Containers in Upgrade

**URL:** <https://forums.suse.com/t/lost-containers-in-upgrade/15327>\
**Category:** RancherOS\
**Created:** [September 17, 2019, 2:15pm UTC](https://forums.suse.com/t/lost-containers-in-upgrade/15327 "2019-09-17T14:15:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![prestain](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/prestain/32/5599_2.png) [@prestain](https://forums.suse.com/u/prestain)\
**Post date:** [September 17, 2019, 2:15pm UTC](https://forums.suse.com/t/lost-containers-in-upgrade/15327/1 "2019-09-17T14:15:05Z")

</div>

I was running Rancher 1.1.3 on FreeNAS 11.1-U7 and decided it was time to upgrade rancher to 1.5.4. So I took a snapshot of my Docker.img and ran

`sudo ros os upgrade`

and rebooted, nothing changed, I was still on version 1.1.3 and all of my containers started up as expected. I dug deeper and and found out I had to change version and kernel on FreeNAS in the grub.cfg. After this it booted into 1.5.4 but all of my data was gone, containers, networks, etc. So I downgraded back to 1.1.3 and changed grub.cfg back. Rebooted and everything was still missing. So I rolled back to the snapshot I had created in the beginning and rebooted. Still nothing.

I’m a bit confused, I now understand that I should have created a volume from /var/lib/docker as a backup since it’s a rancher volume but I don’t understand how my snapshot didn’t bring everything back. All I can assume is even when I restored to 1.1.3 and rolled back the snapshot it is still recreating all of the rancher containers and volumes but I assume the original data is there somewhere. I hope it is anyway.

Thanks for any pointers.
