How to Backup to VHD using Network: Difference between revisions

From ITCwiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== '''How to Backupu to VHD using Network''' ==
== '''How to Backupu to VHD using Network''' ==


ViertuaBox 1 :- Double click Network and select your adapter (Adapter1)>>  
The steps how to use VHD as a backup location by configuring  network between two VirtualBoxs  and to backup system image and files  of VirtualBox 2 to VHD of VirtualBox 1. How to create and boot from VHD see chapter two of  ''Configuring Windows 7 Training Kit by Ian McLean and Orin Thomas''. 
 
 
On your ViertuaBox 1 :- Double click Network and select your adapter (Adapter1)>>  
Under Adapter 1 >>
Under Adapter 1 >>
Attached to - select Host-only Adapter.
Attached to - select Host-only Adapter.
Line 9: Line 12:
[[File:Vt1.jpg]]
[[File:Vt1.jpg]]


[[File:Vt2.png]]
[[File:Vt2.png|500px|]]
 
For configuring the network - Start >> Control Panel >> Under Network and Internet click view network status and tasks  >> double click Local Area connection >> select properties >> TCP/IP4 >> Then Properties.  Depending on your network type you can assign static IP address by selecting use the following IP address or you can set to obtain an IP address automatically.


[[File:Vt3.png|500px|]]


For configuring the network - Start >> Control Panel >> Under Network and Internet click view network status and tasks  >> double click Local Area connection >> select properties >> TCP/IP4 >> Then Properties. Depanding on your network type you can assign static IP address by selecting use the following IP address or you can set to obtain an IP address automaticaly.
[[File:Vt4.png|500px|]]   
 
[[File:Vt5.png|500px|]]


[[File:Vt3.png]]
[[File:Vt4.png]]
[[File:Vt5.png]]


Follow the same step as VirtualBox 1 for configuring network on ViertualBox 2.  
Follow the same step as VirtualBox 1 for configuring network on ViertualBox 2.  


On your local machine - Go to Start >> Control Panel >> under Network and Internet double click View network status and tasks >> clieck VirtualBox-only Network >> Select Properties >> TCP/IP4 >> Properties then configure the IP settings.
On your local machine - Go to Start >> Control Panel >> under Network and Internet double click View network status and tasks >> click VirtualBox-only Network >> Select Properties >> TCP/IP4 >> Properties then configure the IP settings.


[[File:Vt6.png]]
[[File:Vt6.png|500px|]]
[[File:Vt7.png]]
 
[[File:Vt7.png|500px|]]


Turn on the network discovery and file sharing on the VirtualBoxs and local machine. You can see all the devices within the network when you turn on network discovery. You can also use the Ping command to check connection between the systems. Check your Firewall,  if Firewall is blocking the network from being discovered.
Turn on the network discovery and file sharing on the VirtualBoxs and local machine. You can see all the devices within the network when you turn on network discovery. You can also use the Ping command to check connection between the systems. Check your Firewall,  if Firewall is blocking the network from being discovered.


[[File:Vt8.png]]
[[File:Vt8.png|500px|]]


You can view the network map by going to - Start >> Control Panel >> under Network and Internet double click View network status and tasks >> see ful map.
You can view the network map by going to - Start >> Control Panel >> under Network and Internet double click View network status and tasks >> see ful map.


[[File:Vt9.png]]
[[File:Vt9.png|500px|]]




Once you make sure VirtualBOX 1 and VirtualBox 2 are communicating,  you can backup the image and files from one VirtualBox to VHD of the other VirtualBox using the network. On my case I used CNT_Ente machine as a VirtualBox 2 and CNT_VB1 machine as a VirtualBox 1 which is the machine the VHD attached.  
Once you make sure VirtualBOX 1 and VirtualBox 2 are communicating,  you can backup the image and files and folders from one VirtualBox to VHD of the other VirtualBox using the network. On my case I used CNT_Ente machine as a VirtualBox 2 and CNT_VB1 machine as a VirtualBox 1 which is the machine the VHD attached.  
On VirtualBox 1 (CNT_VB1) attach the VHD to do that go to -
On VirtualBox 1 (CNT_VB1) attach the VHD to do that go to -
Start >> Right click Computer >> Manage >> Disk Management >> right click Disk management >> select Attach VHD >> Browse and locate your VHD (C:\VHDs\myvhd.vhd) >> then click Ok.
Start >> Right click Computer >> Manage >> Disk Management >> right click Disk management >> select Attach VHD >> Browse and locate your VHD (C:\VHDs\myvhd.vhd) >> then click Ok.


[[File:Vt10.png]]
[[File:Vt10.png|500px|]]


For the VHD to be accesed by other machines in the network.
For the VHD to be accesed by other machines in the network.
Computer >> Right click Virtual Hard Disk (myvhd(H:)) >> Properties >> select sharing tab >> In Advanced sharing >> Mark share this folder.  
Computer >> Right click Virtual Hard Disk (myvhd(H:)) >> Properties >> select sharing tab >> In Advanced sharing >> Mark share this folder.  


[[File:Vt11.png]]
[[File:Vt11.png|500px|]]    


[[File:Vt12.png]]
[[File:Vt12.png|500px|]]


Then click Permissions under Advaned sharing>> under permissions - Allow Full control, change and read.
Then click Permissions under Advaned sharing>> under permissions - Allow - Full control, change and read.


[[File:Vt13.png]]
[[File:Vt13.png|500px|]]  


[[File:Vt14.png]]
[[File:Vt14.png|500px|]]


On VirtualBox 2 (CNT_Ente) to start the backup go to:
On VirtualBox 2 (CNT_Ente) to start the backup go to:
Line 57: Line 63:
You can Set up Backup or backup a system image
You can Set up Backup or backup a system image


[[File:Vt15.png]]
[[File:Vt15.png|500px|]]


Select the network location that you are going to save the backup. To backup system image -
Select the network location that you are going to save the backup. To backup system image -
Select Create a system image >> On a network location Browse and select VHD (\\Cnt_vb1-pc\h\) >> Then click  OK >>Confirm your backup setting and press Next >>  press Start backup. This will take several minits.
Select Create a system image >> On a network location Browse and select VHD (\\Cnt_vb1-pc\h\) >> Then click  OK >>Confirm your backup setting and press Next >>  press Start backup. This will take several minutes.


[[File:Vt16.png]]
[[File:Vt16.png|500px|]]


Backup in progress.


[[File:Vt18.png]]
[[File:Vt18.png|500px|]]


Once the back is done it will ask you if you want to create a system repair disc?
Once the back is done it will ask you if you want to create a system repair disc?


[[File:Vt19.png]]
[[File:Vt19.png|500px|]]
 
You can view the backup system image from >> Computer >>myvhd(h:) >> Windows image Backup or If you created bootable VHD and install a system image to VHD, you will be able to view the backup system image or files and folder directly by booting from the VHD.
 


[[File:Vt20.png]]
[[File:Vt20.png|500px|]]

Latest revision as of 07:40, 5 August 2010

How to Backupu to VHD using Network

The steps how to use VHD as a backup location by configuring network between two VirtualBoxs and to backup system image and files of VirtualBox 2 to VHD of VirtualBox 1. How to create and boot from VHD see chapter two of Configuring Windows 7 Training Kit by Ian McLean and Orin Thomas.


On your ViertuaBox 1 :- Double click Network and select your adapter (Adapter1)>> Under Adapter 1 >> Attached to - select Host-only Adapter. Name - Virtualbox Host-only Ethernet Adapter. Click Advanced - choose adapter type and then press OK.

Vt1.jpg

Vt2.png

For configuring the network - Start >> Control Panel >> Under Network and Internet click view network status and tasks >> double click Local Area connection >> select properties >> TCP/IP4 >> Then Properties. Depending on your network type you can assign static IP address by selecting use the following IP address or you can set to obtain an IP address automatically.

Vt3.png

Vt4.png

Vt5.png


Follow the same step as VirtualBox 1 for configuring network on ViertualBox 2.

On your local machine - Go to Start >> Control Panel >> under Network and Internet double click View network status and tasks >> click VirtualBox-only Network >> Select Properties >> TCP/IP4 >> Properties then configure the IP settings.

Vt6.png

Vt7.png

Turn on the network discovery and file sharing on the VirtualBoxs and local machine. You can see all the devices within the network when you turn on network discovery. You can also use the Ping command to check connection between the systems. Check your Firewall, if Firewall is blocking the network from being discovered.

Vt8.png

You can view the network map by going to - Start >> Control Panel >> under Network and Internet double click View network status and tasks >> see ful map.

Vt9.png


Once you make sure VirtualBOX 1 and VirtualBox 2 are communicating, you can backup the image and files and folders from one VirtualBox to VHD of the other VirtualBox using the network. On my case I used CNT_Ente machine as a VirtualBox 2 and CNT_VB1 machine as a VirtualBox 1 which is the machine the VHD attached. On VirtualBox 1 (CNT_VB1) attach the VHD to do that go to - Start >> Right click Computer >> Manage >> Disk Management >> right click Disk management >> select Attach VHD >> Browse and locate your VHD (C:\VHDs\myvhd.vhd) >> then click Ok.

Vt10.png

For the VHD to be accesed by other machines in the network. Computer >> Right click Virtual Hard Disk (myvhd(H:)) >> Properties >> select sharing tab >> In Advanced sharing >> Mark share this folder.

Vt11.png

Vt12.png

Then click Permissions under Advaned sharing>> under permissions - Allow - Full control, change and read.

Vt13.png

Vt14.png

On VirtualBox 2 (CNT_Ente) to start the backup go to: Start >> Control Panel >> Under System and Security click Backup your computer >> Browse and select a network location. You need to provied username and password of VirtualBox 1. You can Set up Backup or backup a system image

Vt15.png

Select the network location that you are going to save the backup. To backup system image - Select Create a system image >> On a network location Browse and select VHD (\\Cnt_vb1-pc\h\) >> Then click OK >>Confirm your backup setting and press Next >> press Start backup. This will take several minutes.

Vt16.png

Backup in progress.

Vt18.png

Once the back is done it will ask you if you want to create a system repair disc?

Vt19.png

You can view the backup system image from >> Computer >>myvhd(h:) >> Windows image Backup or If you created bootable VHD and install a system image to VHD, you will be able to view the backup system image or files and folder directly by booting from the VHD.


Vt20.png