Difference between revisions of "Backup docker containers"

From wikieduonline
Jump to navigation Jump to search
(Created page with "https://www.baculasystems.com/blog/docker-backup-containers/ == See also == * {{docker}} * {{backup}} Category:Docker Category:Backup")
 
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
https://www.baculasystems.com/blog/docker-backup-containers/
 
https://www.baculasystems.com/blog/docker-backup-containers/
  
 +
[[docker commit]] -p [container-id] backup01<ref>https://www.baculasystems.com/blog/docker-backup-containers/</ref>
 +
[[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:
 +
[[docker load]] -i /tmp/backup01.tar
 +
 +
 +
== Related terms ==
 +
* <code>[[docker export]]</code>
  
 
== See also ==
 
== See also ==
* {{docker}}
+
* {{docker cmd}}
* {{backup}}
+
* {{backups}}
  
 
[[Category:Docker]]
 
[[Category:Docker]]
[[Category:Backup]]
+
[[Category:Backups]]

Latest revision as of 14:59, 13 January 2023

Advertising: