Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

m
fix indentation
== Ezvzdump ==
Ezvzdump (not to be confused with [[vzdump]]) is a shell script that also allows
you to dump out a running VE container. The key differences are that ezvzdump
allows you to utilize past dumps to speed things up, and that a remote host can
The dump files that are created are compatible with those that vzdump creates,
so you must still use `<code>vzdump --restore` </code> to restore them.
Dependencies: sendEmail package for emailing of statistics
== Cron ==
I recommend using <code>nice </code><code></code> and <code>ionice </code> to run this script so it doesn't bring the host to it's knees. Place this example in <code>/etc/cron.d/ezvzdump </code> and the backups will run at 3:30 AM every day.
<pre>
2009/7/24 - JBiel - Added support for GZip compression and backup
retention/rotation. Also added support for emailing of statistics.
 
2015-03-18 - OSiUX - fork script in https://github.com/gcoop-libre/plan-b
== Download ==
# don't want multiple tar processes running on the remote host simultaneously.
e "Making a g-zip compresssed tar archive on remote host (this process will run in the background on the remote host)."
ssh ${REMOTE_HOST} "tar czf ${REMOTE_DIR}${VEID}.0.tar.gz --numeric-owner -C ${REMOTE_DIR}${VEID} ./ 2>/dev/null " &
fi
2
edits