Backing Up and Migrating Docker Containers to SSD

After successfully installing Ubuntu Server on my old HP Mediasmart server and setting up Docker and Hassio, I’ve been really impressed with the performance boost compared to my old Raspberry Pi setup. I’ve restored my Hassio snapshot along with Portainer, NZBGet, Sonarr, and CouchPotato, and everything seems to be running smoothly. However, I’m a bit unsure about the best way to keep everything backed up for easy restoration.

I’ve heard that backing up Docker containers can be a bit tricky, especially when you want to ensure that all configurations and data are preserved. I’m also planning to migrate everything from my current 1TB hard drive to a smaller 120GB SSD that I’ll be ordering soon. I’m not entirely sure about the preferred method for doing this.

As a Linux novice, I’ve been trying to track down current guides on how to accomplish these tasks, but it’s been a bit challenging to find the most efficient and reliable methods. I’d really appreciate any advice or tips the community might have on backing up Docker containers and smoothly migrating them to an SSD. I’m hoping to hear from someone who’s gone through a similar process and can share their experiences or best practices.

Thank you all in advance for your help and support!