Difference between revisions of "Backup docker containers"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by 2 users not shown)
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
 +
 +
[[docker save]] backup01.tar backup01
 +
cowardly refusing to save to a terminal. Use the -o flag or redirect
  
 
  Restore:
 
  Restore:
Line 10: Line 13:
 
== Related terms ==
 
== Related terms ==
 
* <code>[[docker export]]</code>
 
* <code>[[docker export]]</code>
 
  
 
== See also ==
 
== See also ==
* {{docker}}
+
* {{docker cmd}}
 
* {{backups}}
 
* {{backups}}
  
 
[[Category:Docker]]
 
[[Category:Docker]]
 
[[Category:Backups]]
 
[[Category:Backups]]

Latest revision as of 14:59, 13 January 2023

Advertising: