- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - VMware
- >
- Backup a running VM using rsync
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2010 08:06 AM
тАО01-28-2010 08:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2010 12:15 PM
тАО01-28-2010 12:15 PM
Re: Backup a running VM using rsync
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2010 12:28 PM
тАО01-28-2010 12:28 PM
Re: Backup a running VM using rsync
How did you copied, have you done using rsync?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2010 12:50 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2010 05:50 AM
тАО02-04-2010 05:50 AM
Re: Backup a running VM using rsync
I've tried to backup with rsync directly from ESX 3.5 to an other linux machine and I'm getting these problems:
# rsync -r ssh SRV12 root@192.168.1.11:/var
Password:
rsync: link_stat "/vmfs/volumes/49172c57-524d3fc3-6cfc-001e4f1285d0/ssh" failed: No such file or directory (2)
rsync: send_files failed to open "/vmfs/volumes/49172c57-524d3fc3-6cfc-001e4f1285d0/SRV12/SRV12-000001-delta.vmdk": Device or resource busy (16)
rsync: send_files failed to open "/vmfs/volumes/49172c57-524d3fc3-6cfc-001e4f1285d0/SRV12/SRV12-350c5ca2.vswp": Device or resource busy (16)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2010 07:13 AM
тАО02-04-2010 07:13 AM
Re: Backup a running VM using rsync
Your command has failed because the files which make up a VM are intentionally locked by the virtualization layer. Even if they were not locked, you would not get a reliable result if the VM makes changes to the life file system.
The work-around is to create a 'snaphot' of the VM. The virtualization layer will create new delta/REDO files into which it stores all data that is written - this means that the original file is not changed so you can create a 'crash-consistent' copy. Well, and of course it now unlocks the files so you can read from them.
After the backup is complete, delete the snapshots and all writes collected in the delta/REDO files will be merged to the original disk. And the files will be locked again ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2010 08:02 AM
тАО02-04-2010 08:02 AM
Re: Backup a running VM using rsync
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2010 08:22 AM
тАО02-04-2010 08:22 AM
Re: Backup a running VM using rsync
I think today's buzzword is 'de-duplication' :-)
The main data of a VM is encapsulated in one or more large files. You cannot really do 'incremental backups' - well, with ESX4 and changed block tracking it is possible, but that is just a framework, no complete application.
Chris, can we step back a moment and have a better look at your configuration (what OS and data is in the VM) and requirements for backups? Maybe there is a 'better' way to do backups than running rsync - the ESX service console is not a generic Linux environment for all kinds of applications.