#Hi I have upgraded HA docker container

1 messages · Page 1 of 1 (latest)

wind cloud
#

Sounds like you didn't include the hidden files and folders

#

There's a .storage/ folder that's quite critical

#

(and other files too)

fleet mortar
#

Yes, I can confirm that, unfortunately. I copied the files with my NAS (where I host the containers) utilities. Big mistake.

#

But that's still very helpful info. I have an older automatic backup file with .storage included.

wind cloud
#

And now you know that you need to improve how you take backups

fleet mortar
#

I'll try to combine the automatic backup with config data from a newer copy.

#

My main mistake was deleting the container and re-running docker-compose instead of upgrading it in place. I didn't expect this operation would delete my volume.

wind cloud
#

Depends on how you manage the container

#

(and how you manage the volume)

#

I do tend to prefer bind mounts over Docker managed volumes - easier to back up and harder to screw up

fleet mortar
#

Yes, I have other containers that use explicitly created volumes - these are not deleted.

#

Thanks for your help. I've managed to restore all my configs and even database. Not sure what was in .storage but the version from a week-old backup seems to work.