Solved

backup virtual machine, rsync inplace is ok?

Posted on 2009-06-29
10
1,287 Views
Last Modified: 2012-08-14
I want to backup VM every night.
I've made a script that suspend VM and then make a backup by rsync with option --inplace.
I've seen that each file is recreated and the total time to make about is more than 1 hour.
First question : is the option "inplace" correct?
Second question : is there anyway to make a faster backup? thank you
0
Comment
Question by:tratti
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
  • 2
10 Comments
 
LVL 18

Expert Comment

by:larstr
ID: 24734383
What VMware product are you using?

For hosted products (Server, Player, Workstation) such a rsync solution is good, while on ESX there are other methods too.

For shorter downtime it's also possible to take a LVM snapshot right after the VM is suspended, then start the VM and backup the snapshot.

Lars
0
 

Author Comment

by:tratti
ID: 24734609
VMware Server
0
 
LVL 18

Expert Comment

by:larstr
ID: 24734635
0
Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

 
LVL 5

Expert Comment

by:giovannicoa
ID: 24734645
Hi,

for ESX you can use VCB, Veem, vRanger, esXpress or Platespin products for the backup purpose.
At the moment Veeam is the best choice for us.

If you use VMware Server or Workstation you can use rsync or whenever you want as a normal files (only verify that your utility can support file greated than 2GB).

Hope this can help you,
Giovanni Coa
0
 

Author Comment

by:tratti
ID: 24734653
what is vmbackup exactly? it makes a copy by rsync?
0
 

Author Comment

by:tratti
ID: 24734751
another useful info : my virtual machine is splitted into 2gb files...
0
 
LVL 18

Expert Comment

by:larstr
ID: 24735062
vmbackup doesn't use rsync, but the effect is the same. vmbackup is open source so you can probably modify it to use rsync if you want. Having the vmdk split in 2GB files is fine.

Lars
0
 

Author Comment

by:tratti
ID: 24736095
but using rsync with inplace is correct?
0
 
LVL 5

Accepted Solution

by:
giovannicoa earned 500 total points
ID: 24736504
Hi,

rsync option "--inplace" presume that:

a) During transfer your destination file is inconsistent
b) If the copy is interrupted your destination file result inconsistent
c) It's optimized for disk bound, not for the network bound
d) It's better for large files with block level changes
e) Without inplace option you need more disk space

My personal opinion is that you need to test :
a) How many time with and without "--inplace" do you need to copy the VMDK
b) Check how many spaces do you need to remove "--inplace"

After that if the difference in terms of time is irrilevant and you don't have disk space issue, you can choose to don't use --inplace because your backup need to be more reliable possible and any inconsistence in the backuped file can be a problem for you.

Hope this can help you,
Giovanni Coa
0
 

Author Closing Comment

by:tratti
ID: 31597823
I've checked and the "--inplace" option is very longer than without it... it takes about 2 hours and without it only 1 hour!
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question