Sponsored Content
Special Forums Windows & DOS: Issues & Discussions Backing up virtual machines - opinions/suggestions needed. Post 302258810 by 60doses on Sunday 16th of November 2008 04:47:27 AM
Old 11-16-2008
Backing up virtual machines - opinions/suggestions needed.

Hi,

I was required to do a backup of a virtual machine that runs on vmware. The guest operating system is windows, and the host is windows too. I have to backup the whole directory of the virtual machine (say in linux it'll be in /var/lib/vmware/virtual machines/) to a linux server.

Initially I had done something like this:
- Schedule the windows on vm to shutdown (I use pstools with force flag) say at 1am.
- A backup script will run on the linux backup server at around 2am that will mount the directory on windows where the vm resides, tar it straight to the linux server and umount it.
- Schedule the vm to start at 5am.

While it works, am having a bad feeling running a force shutdown on the vm every single week for the backup. I can schedule a normal shutdown of course, but I don't think tthis will gurantee that the windows will eventually shutdown? Will it be safe enough if I use vmrun stop soft to shutdown the windows?

So, besides doing snapshot, what would be a better way to backup the virtual machine files (all the vmdk, vmx, etc.etc.)?

Any advice offered is appreciated. Thanks.
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Runaway process. Opinions needed

not too long ago, i wrote a very short script that will bring up 4 customized xterms. The script went completely abnormal simply because of an error I had made in a while loop. This script took control of the system and rendered everything useless. The system admin team which i was part of... (4 Replies)
Discussion started by: TRUEST
4 Replies

2. Shell Programming and Scripting

Opinions/Ideas/Suggestions needed

I'm currently developing a script to clean out certain directories based on age and name. Part of the assignment is to ensure that the cleaning of a directory is done under the user id of the owner (script is running as root). I have a few ideas on how to do this, but I'd like to hear your... (3 Replies)
Discussion started by: pludi
3 Replies

3. Windows & DOS: Issues & Discussions

Need suggestions on Virtual Machine software for Windows

Hi, I am currently having an issue with Virtualbox. It, at one point in time, worked like a charm. Then my internal 500GB HD failed in my PC. It was under warranty and I sent off for another one but did not want to pay for the expedited shipping nor did I want to wait a few weeks to get the... (1 Reply)
Discussion started by: tlarkin
1 Replies

4. Linux

Routing via several interfaces for hosted virtual machines

My setup consists of a hardware node, which hosts several virtual machines (OpenVZ, to be precise). The hardware node has two network interfaces (<ifA>, <ifB>) connected to different subnets (<networkA>, <networkB>). I want to route the traffic of certain VEs over <ifB> while routing the other VEs... (0 Replies)
Discussion started by: bakunin
0 Replies

5. UNIX for Dummies Questions & Answers

Need help with finding info on pcode-interpreters-virtual machines

I'm trying to research interpreters and I can't find much info on Pcode or how or why it is used. Thanks in advance!:wall: (2 Replies)
Discussion started by: theKbStockpiler
2 Replies

6. Virtualization and Cloud Computing

Virtual machines in vmware requires reset of the vlan

I have virtual machines in the vmware environment that run either windows or linux that loose conncetivity and every time i have to change their vlan to vm network and latter join them to original vlan to gain connectivity. Advice (0 Replies)
Discussion started by: amwai
0 Replies

7. Ubuntu

Ping between two virtual machines

Hello, I installed two virtual machines ubuntu10 on VM VirtualBox . Please, what are the steps to make a ping from one of these two machines on the other (the configurations )? Thank you. (4 Replies)
Discussion started by: chercheur111
4 Replies

8. UNIX and Linux Applications

Help with Install KVM and Create Virtual Machines VMWare In PC

Help with Install KVM and Create Virtual Machines VMWare In PC. I want to lean KVM bios Logical Volume Management by KVM and other problem fix remotely.So,I want to practice on my PC.It,s Possible then how? Thank you (0 Replies)
Discussion started by: domaingood
0 Replies

9. UNIX for Beginners Questions & Answers

Providing virtual machine priority in kvm based virtual machines

Hi All, Is there any way I can prioritize my VMs when there is resource crunch in host machine so that some VMs will be allocated more vcpu, more memory than other VMs in kvm/qemu hypervisor based virtual machines? Lets say in my cloud environment my Ubuntu 16 compute hosts are running some... (0 Replies)
Discussion started by: SanjayK
0 Replies
asadmin-shutdown(1AS)                                              User Commands                                             asadmin-shutdown(1AS)

NAME
asadmin-shutdown, shutdown - brings down the administration server SYNOPSIS
shutdown [--user admin_user][--password admin_password][--host localhost] [--port 4848][--passwordfile filename][--secure|-s] shutdown gracefully brings down the administration server and all the running instances. You must manually start the administration server to bring it up again. OPTIONS
--user administrative user associated for the instance. --password administrative password corresponding to the administrative user. --host host name of the machine hosting the administrative instance. --port administrative port number associated with the administrative host. --passwordfile file containing passwords appropriate for the command (e.g., administrative instance). --secure if true, uses SSL/TLS to communicate with the administrative instance. Example 1: Using the shutdown command asadmin> shutdown --user admin --password adminadmin --host bluestar --port 4848 Waiting for admin server to shutdown... Admin server has been shutdown EXIT STATUS
0 command executed successfully 1 error in executing the command INTERFACE EQUIVALENT
Administration Server page asadmin-start-instance(1AS), asadmin-stop-instance(1AS), asadmin-restart-instance(1AS)asadmin-start-domain(1AS), asadmin-stop-domain(1AS), asadmin-start-appserv(1AS), asadmin-stop-appserv(1AS) J2EE 1.4 SDK March 2004 asadmin-shutdown(1AS)
All times are GMT -4. The time now is 02:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy