http://www.sbarjatiya.com/notes_wiki/index.php?title=CentOS_7.x_lxc_container_snapshot&feed=atom&action=history
CentOS 7.x lxc container snapshot - Revision history
2024-03-28T18:58:42Z
Revision history for this page on the wiki
MediaWiki 1.37.1
http://www.sbarjatiya.com/notes_wiki/index.php?title=CentOS_7.x_lxc_container_snapshot&diff=7132&oldid=prev
Saurabh at 09:02, 25 August 2022
2022-08-25T09:02:33Z
<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 09:02, 25 August 2022</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"><yambe:breadcrumb</del>><del style="font-weight: bold; text-decoration: none;">CentOS_7</del>.<del style="font-weight: bold; text-decoration: none;">x_lxc</del>|CentOS 7.x lxc<del style="font-weight: bold; text-decoration: none;"></yambe:breadcrumb</del>></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[[Main Page|Home]] > [[CentOS]] </ins>> <ins style="font-weight: bold; text-decoration: none;">[[CentOS 7</ins>.<ins style="font-weight: bold; text-decoration: none;">x]] > [[CentOS 7.x virtualization</ins>|<ins style="font-weight: bold; text-decoration: none;">Virtualization]] > [[</ins>CentOS 7.x lxc<ins style="font-weight: bold; text-decoration: none;">|Lxc]] </ins>> <ins style="font-weight: bold; text-decoration: none;">[[</ins>CentOS 7.x lxc container snapshot<ins style="font-weight: bold; text-decoration: none;">]]</ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">=</del>CentOS 7.x lxc container snapshot<del style="font-weight: bold; text-decoration: none;">=</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>To take snapshot for lxc container use:</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>To take snapshot for lxc container use:</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l21">Line 21:</td>
<td colspan="2" class="diff-lineno">Line 20:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></pre></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></pre></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>where snap0 is desried snapshot and centos_lxc is the name of the container</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>where snap0 is desried snapshot and centos_lxc is the name of the container</div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[[Main Page|Home]] > [[CentOS]] > [[CentOS 7.x]] > [[CentOS 7.x virtualization|Virtualization]] > [[CentOS 7.x lxc|Lxc]] > [[CentOS 7.x lxc container snapshot]]</ins></div></td></tr>
</table>
Saurabh
http://www.sbarjatiya.com/notes_wiki/index.php?title=CentOS_7.x_lxc_container_snapshot&diff=2649&oldid=prev
Saurabh: Created page with "<yambe:breadcrumb>CentOS_7.x_lxc|CentOS 7.x lxc</yambe:breadcrumb> =CentOS 7.x lxc container snapshot= To take snapshot for lxc container use: <pre> lxc-snapshot -n centos..."
2017-01-23T05:38:38Z
<p>Created page with "<yambe:breadcrumb>CentOS_7.x_lxc|CentOS 7.x lxc</yambe:breadcrumb> =CentOS 7.x lxc container snapshot= To take snapshot for lxc container use: <pre> lxc-snapshot -n centos..."</p>
<p><b>New page</b></p><div><yambe:breadcrumb>CentOS_7.x_lxc|CentOS 7.x lxc</yambe:breadcrumb><br />
=CentOS 7.x lxc container snapshot=<br />
<br />
To take snapshot for lxc container use:<br />
<pre><br />
lxc-snapshot -n centos_lxc<br />
</pre><br />
where centos_lxc should be replaced with name of container. Snapshots are created in '<tt>/var/lib/lxcsnaps/</tt>' folder. ''Note that snapshot can be taken only for stopped containers.''<br />
<br />
<br />
To list snapshots use:<br />
<pre><br />
lxc-snapshot -L -n centos_lxc<br />
</pre><br />
where centos_lxc should be replaced with name of container<br />
<br />
<br />
To restore particular snapshost use:<br />
<pre><br />
lxc-snapshot -r snap0 -n centos_lxc<br />
</pre><br />
where snap0 is desried snapshot and centos_lxc is the name of the container</div>
Saurabh