Difference between revisions of "Backup docker containers"

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
 
  [[docker commit]] -p [container-id] backup01<ref>https://www.baculasystems.com/blog/docker-backup-containers/</ref>
 
  [[docker commit]] -p [container-id] backup01<ref>https://www.baculasystems.com/blog/docker-backup-containers/</ref>
 
  [[docker save]] -o backup01.tar backup01
 
  [[docker save]] -o backup01.tar backup01
 +
 +
Restore:
 +
[[docker load]] -i /tmp/backup01.tar
 +
 +
  
 
== See also ==
 
== See also ==

Revision as of 17:07, 8 October 2020

Advertising: