hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : VPS Hosting : VPS Tutorials : How to backup VE from Hardware Node
Reply

VPS Tutorials Tutorials related to VPS.
Forum Jump

How to backup VE from Hardware Node

Reply Post New Thread In VPS Tutorials Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 06-12-2007, 05:47 AM
eukvps eukvps is offline
Disabled
 
Join Date: Jun 2007
Location: India
Posts: 19

How to backup VE from Hardware Node


vzdump is an utility provided by OpenVZ to backup all VE running on node. It basically creates a tar archive of the VE private area, which also includes the VE configuration files.

There are basic 3 ways to backup VE :

- Stop the VE during backup – VE is stopped till entire VE is backup but it takes too long causing long downtime so not recommended during peak days.

- Use rsync and suspend/resume – this is another method but it also suspends VE during backup but it only advantage is downtime is very low.

- Use LVM2 – this method do not need VE to be stopped during backup so no downtime.

vzdump stores the backup on the disk in a single file.

Synopsis


vzdump OPTIONS [--all â <VEID>]
--compress compress dump file (gzip)
--dumpdir DIR store resulting files in DIR
--xdelta create a differential backup using xdelta
--mailto EMAIL send notification mail to EMAIL
--stop stop/start VPS if running
--suspend suspend/resume VPS when running
--snapshot use LVM snapshot when running
--restore FILENAME restore FILENAME

Command to Backup :


Simply dump VE 110 – file will be stored in default dump directory /vz/dump/.

vzdump 110

Use rsync and suspend/resume to create a snapshot (minimal downtime).
vzdump --suspend 110

Backup all VEs and send notification mails to root.
vzdump --suspend --all --mailto root

Use LVM2 to create snapshots (no downtime).
vzdump --dumpdir /space/backup --snapshot 110

Restore


Restore above backup to VE 110
vzdump --restore /space/backup/vzdump-110.tar 110

Reply With Quote


Sponsored Links
Reply

Related posts from TheWhir.com
Title Type Date Posted
BackupAgent Adds Integration Feature with Windows Azure Web Hosting News 2013-03-14 16:48:49
Phoenix NAP Adds Firewall and Storage Capabilities to Secured Servers Web Hosting News 2013-01-21 14:15:08
Phoenix NAP Opens Secured Cloud Hosting Node in Ashburn, Virginia Web Hosting News 2012-09-25 11:19:16
Phoenix NAP Officially Launches European Node at Interxion Amsterdam Data Center Web Hosting News 2012-08-21 11:59:33
Web Host DiscountASP.NET Launches Beta Support for Node.js on Windows Platform Web Hosting News 2012-07-24 16:04:04


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?