?
Solved

backup virtual machine, rsync inplace is ok?

Posted on 2009-06-29
10
Medium Priority
?
1,322 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
ATEN's HDBaseT Presentation at InfoComm 2017

Hear ATEN Product Manager YT Liang review HDBaseT technology, highlighting ATEN’s latest solutions as they relate to real-world applications during her presentation at the HDBaseT booth at InfoComm 2017.

 
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 2000 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

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
Teach the user how to delpoy the vCenter Server Appliance and how to configure its network settings Deploy OVF: Open VM console and configure networking:
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:
Suggested Courses

765 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