Skip to content

Website & Server Help

Unlimited Webspace Help

Menu
  • Home
  • Apps
  • Website
    • Sending email from a WordPress website hosted on an IONOS server
    • How to increase Upload Max Filesize
    • How to reset a WordPress password
    • 22 Ways To Speed-Up A Plesk Website
  • Server
    • Linux or Plesk Server Error 500
    • Windows Server: File cannot be loaded. The file is not digitally signed.
    • Adding or modifying IP addresses on a Linux server
    • Installing Remote Desktop on Debian 12
    • Installing Remote Desktop on Ubuntu 22.04
    • How To Install a Let’s Encrypt SSL in Apache on Debian/Ubuntu
  • Favs
    • How to Connect to a Server
    • The Ultimate Guide to Setting Up a Proper Plesk Email Server With IONOS
    • The Ultimate IONOS Migration Guide
    • Help! My Plesk Websites Are Down!
    • Running tests for a slow server or dropped packets
    • Checking File System and Hard Drive Health
Menu

How to Backup and Restore Docker Containers via Plesk

Posted on March 23, 2023March 23, 2023 by admin

Docker is a popular platform for running applications in containers. It allows you to use specific software or versions that might not be supported by your operating system or might need compiling. Plesk is a web hosting control panel that enables you to manage your websites, domains, email accounts, databases, and more. Plesk also supports Docker and allows you to run and manage containers from its interface.

In this guide, I will show you how to backup and restore Docker containers via Plesk. This can be useful if you want to migrate your containers to another server, recover from a disaster, or test different versions of your applications.

Backup a Docker Container via Plesk

To backup a Docker container via Plesk, you need to create a snapshot of the container as a .tar archive file. A snapshot is an image that contains the state and data of the container at a specific point in time. You can create snapshots of your containers using Plesk or the docker commit command on your server.

To create a snapshot of a container using Plesk:

  • Go to Docker and find the container that you want to backup. Click Details next to it.
  • Click Download Snapshot in the container settings. Specify the name for the snapshot file and click OK. The file will be downloaded to your local machine.

Restore a Docker Container via Plesk

To restore a Docker container via Plesk, you need to upload the snapshot file (a .tar archive) as an image and then run it as a new container. You can upload images using Plesk or the docker load command on your server.

To upload an image using Plesk:

  • Go to Docker and click Upload Image. Browse for the snapshot file and upload it. This will create a local image based on the snapshot.
  • Go to Docker and find the image that you have uploaded. Click Run next to it and specify the container settings, such as name, port mapping, environment variables, etc. Click OK to create and run a new container based on the image.

Conclusion

In this guide, I have shown you how to backup and restore Docker containers via Plesk. This can help you migrate your containers to another server, recover from a disaster, or test different versions of your applications. I hope you found this post useful and informative. If you have any questions or feedback, please leave a comment below.

Special Offer

The internet's fastest, cheapest, unlimited bandwidth VPS

VPS
1core | 1GB RAM | 10GB NVMe
Unlimited Bandwidth | 1Gbps
$2/month - risk free