azureÀÇ °¡»ó¼­¹ö´Â ¹é¾÷À» ¾îÂî¹ÞÀ»±î¿ä

   Á¶È¸ 531239   Ãßõ 0    

azure의 가상서버는 백업을 어찌받을까요


azure에 centos7깔고 겁나 세팅했는디

다른나라에깔았네요

우리나라쪽으로 옮기려 했더니. 


방법을 모르겠네요

어렵다. azure

ªÀº±Û Àϼö·Ï ½ÅÁßÇÏ°Ô.
ÀÓÁ¤±¸ 2016-12
¿ì¼± VHD¸¦ ¸ñÀûÁö·Î ¿Å±â¼Å¾ß ÇÕ´Ï´Ù.
Azcopy¶ó´Â ÅøÀ» ¾²½Ã¸é µË´Ï´Ù.(http://aka.ms/downloadazcopy)
https://azure.microsoft.com/en-us/documentation/articles/storage-use-azcopy/

¿Å°ÜÁø VHD·Î VMÀ» ¸¸µå´Â ¹æ½ÄÀº ASM (manage.windowsazure.com) , ARM (portal.azure.com)¿¡ µû¶ó¼­´Þ¶óÁý´Ï´Ù.

 ASMÀº Azure Portal¿¡¼­ VHD¸¦ µî·ÏÇÏ½Ã°í µî·ÏµÈ OS µð½ºÅ©(Market place¿¡ My Disk¿¡ º¸ÀÌ°Ô µË´Ï´Ù)·Î VMÀ» ¸¸µå½Ã¸é µË´Ï´Ù.
ARMÀÇ °æ¿ì´Â Azure PowershellÀ» ¾²¼Å¾ß ÇÕ´Ï´Ù.

$rgname = "the resource group name of the new VM"
$loc = "the region of the resource group"
$vmsize = "<VM Size>¡±
$vmname = "specify the name for the new VM"
$vm = New-AzureRmVMConfig -VMName $vmname -VMSize $vmsize;
$vNet = Get-AzureRmVirtualNetwork -ResourceGroupName $rgname
$pip = New-AzureRmPublicIpAddress -ResourceGroupName $rgname -Location $loc -Name ¡°specify a name for the public network¡± -AllocationMethod Dynamic
$newNic = New-AzureRmNetworkInterface -ResourceGroupName $rgname -subnetid $vNet.Subnets[0].id -Name ¡°specify a name for the network interface¡± -location $loc -PublicIpAddressId $pip.Id
$nic = Get-AzureRmNetworkInterface -Name "the name of the network interface" -ResourceGroupName $rgname
$nicId = $nic.Id
$vm = Add-AzureRmVMNetworkInterface -VM $vm -Id $nicId
$osDiskName = "specify a name for the new OS disk"
$osDiskVhdUri = "the path of the VHD file that you just copied before"
$vm = Set-AzureRmVMOSDisk -VM $vm -VhdUri $osDiskVhdUri -name $osDiskName -CreateOption attach -Windows
New-AzureRmVM -ResourceGroupName $rgname -Location $loc -VM $vm

´Ù¸¥ ¼³Á¤ºÎºÐ À̸§ÀÌ Áß¿äÇÏÁö ¾ÊÀ¸½Ã¸é ¾Æ·¡ Template¸¦ ¾²¼Åµµ µË´Ï´Ù.
https://github.com/Azure/azure-quickstart-templates/tree/master/201-vm-specialized-vhd

±×¸®°í Âü°í·Î Azure¿¡¼­ ¾ÆÁ÷ Çѱ¹Áö¿ªÀ» °í¸£´Â ¿É¼ÇÀÌ ¾ø´Â °Í °°½À´Ï´Ù. Ȥ½Ã ÀÖÀ¸¼¼¿ä?
     
¿Õ¸Ó½¿ 2016-12
¾î·Æ³×¿ä..

µ¿¾Æ½Ã¾ÆÂÊ Azure¿¡ Centos7.2¸¦ ¼³Ä¡ Ç޴µ¥¿ä.. ÀÌ VMÀ» Á¦ ÄÄÀ¸·Î ´Ù¿î ¹ÞÀ¸·Á¸é ¾î¶»°Ô Çϳª¿ä?

°¡»ó ÄÄÇ»ÅÍÀÇ DISK °æ·Î´Â È®ÀÎ Çß½À´Ï´Ù.

azcopy¸í·É¾î·Î ¾î¶»°Ô ÇØ¾ß ÇÒ°¡¿ä?
          
ÀÓÁ¤±¸ 2016-12
azcopy´Â °£´ÜÇÏ°Ô source À§Ä¡¿Í DestinationÀ¸·Î ±¸¼ºµË´Ï´Ù.
azcopy¸¦ ¼³Ä¡ ÇϽÅÈÄ ÇØ´ç Æú´õ·Î command â¿¡¼­

AzCopy /Source:<the VHD container path of the source storage account> /SourceKey:<The primary key of the storage account> /Dest:<the container path of the destination storage account>  /Pattern:<the vhd file name> ¸¦ ½ÇÇàÇÏ½Ã¸é µË´Ï´Ù.

<the VHD container path of the source storage account> : ÇØ´ç VM ¼Ó¼º¿¡¼­ È®ÀÎÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù. "http://NAME.blob.core.windows.net/vhds/" ÀÇ Çü½ÄÀÔ´Ï´Ù.
<The primary key of the storage account> : Storage account Á¤º¸¿¡¼­ È®ÀÎÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù.
<the container path of the destination storage account> : ´Ù¿î ¹ÞÀ» PC °æ·Î ³ÖÀ¸½Ã¸é µË´Ï´Ù. "c:\vhd" ÀÌ·±½ÄÀ¸·Î ¾²½Ã¸é µË´Ï´Ù.
<the vhd file name> : vhd ÆÄÀÏ À̸§ ¾²½Ã¸é µË´Ï´Ù.
               
¿Õ¸Ó½¿ 2016-12
Ä£ÀýÇϽŠ¼³¸í °¨»çÇÔ´Ï´Ù

azureÀÇ ´ÞÀÎÀ̽ŵí. 
Çغ¸°Ú½À´Ï´Ù
¹Î¿í´Ô 2017-01
À§ÀÇ ¹æ¹ýÀÌ Èûµå½Ã¸é ÇØ´ç Storage Account ¿¡¼­ Blob ¿¡¼­ ÄÁÅ×À̳Ê-vhd µé¾î°¡¼Å¼­ vhd ´Ù¿î¹Þ±â ÇϽŠ´ÙÀ½¿¡ À̵¿ÇÏ½Ç Storage Account ¿¡ ¾÷·Îµå ÇÏ½Ã¸é µË´Ï´Ù. ±Ùµ¥ ÀÌ·¸°Ô ¿Å±ä vhd ¸¦ os ºÎÆÿëÀ¸·Î »ç¿ëÇϽ÷Á¸é Azure Powershell À» ÅëÇØ ¼öµ¿ ¼³Á¤ÇØÁÖ¼Å¾ß ÇÕ´Ï´Ù.


Á¦¸ñPage 2/2
2014-05   4890134   Á¤ÀºÁØ1
2015-12   1429103   ¹é¸Þ°¡
01-12   4217   YJMODx¿µÀ硦
01-15   3450   YJMODx¿µÀ硦
01-18   2898   ÄÄÇ»ÅͽŽþß
01-23   2783   YJMODx¿µÀ硦
01-23   2733   YJMODx¿µÀ硦
01-23   3026   YJMODx¿µÀ硦
01-23   3102   YJMODx¿µÀ硦
01-24   3053   ÄÄÇ»ÅͽŽþß
01-25   2744   YJMODx¿µÀ硦
01-25   2785   YJMODx¿µÀ硦
01-29   3308   YJMODx¿µÀ硦
01-30   3334   ÄÄÇ»ÅͽŽþß
01-31   3555   ÄÄÇ»ÅͽŽþß
02-01   3283   YJMODx¿µÀ硦
02-01   4180   YJMODx¿µÀ硦
02-07   4106   YJMODx¿µÀ硦
02-16   2863   YJMODx¿µÀ硦
02-16   3467   YJMODx¿µÀ硦
02-16   3764   YJMODx¿µÀ硦
02-20   3539   YJMODx¿µÀ硦
02-28   2831   YJMODx¿µÀ硦
03-12   2299   YJMODx¿µÀ硦
03-12   2211   YJMODx¿µÀ硦
03-12   2272   YJMODx¿µÀ硦
03-12   2840   YJMODx¿µÀ硦
03-15   2603   YJMODx¿µÀ硦
03-18   2469   YJMODx¿µÀ硦
03-26   3435   YJMODx¿µÀ硦
03-26   3770   YJMODx¿µÀ硦
04-09   2890   YJMODx¿µÀ硦
04-13   2812   YJMODx¿µÀ硦
04-19   2055   YJMODx¿µÀ硦
04-19   2456   YJMODx¿µÀ硦
04-23   2204   YJMODx¿µÀ硦
04-23   2511   YJMODx¿µÀ硦
04-24   2934   YJMODx¿µÀ硦
04-24   2960   ÄÄÇ»ÅͽŽþß
04-27   2656   YJMODx¿µÀ硦
04-29   3359   YJMODx¿µÀ硦
04-30   4115   ÄÄÇ»ÅͽŽþß
05-03   3684   YJMODx¿µÀ硦
05-08   3795   YJMODx¿µÀ硦
05-08   4584   YJMODx¿µÀ硦
05-10   5278   YJMODx¿µÀ硦
05-14   5704   YJMODx¿µÀ硦
05-17   4918   YJMODx¿µÀ硦
05-20   6467   YJMODx¿µÀ硦
05-21   4798   ÄÄÇ»ÅͽŽþß
05-27   3505   YJMODx¿µÀ硦
05-28   3536   YJMODx¿µÀ硦
06-12   2326   YJMODx¿µÀ硦
06-12   2216   YJMODx¿µÀ硦
06-12   2927   YJMODx¿µÀ硦
06-12   4069   YJMODx¿µÀ硦
06-12   4713   YJMODx¿µÀ硦
06-12   4551   ÄÄÇ»ÅͽŽþß
06-18   2978   YJMODx¿µÀ硦
06-18   3156   YJMODx¿µÀ硦
06-21   3233   YJMODx¿µÀ硦
07-01   1525   YJMODx¿µÀ硦
07-01   2075   YJMODx¿µÀ硦
07-01   2903   YJMODx¿µÀ硦
07-01   2815   YJMODx¿µÀ硦
07-02   2712   YJMODx¿µÀ硦
07-04   2495   YJMODx¿µÀ硦
07-05   2512   YJMODx¿µÀ硦
07-08   1932   YJMODx¿µÀ硦
07-12   1661   YJMODx¿µÀ硦
07-12   1516   YJMODx¿µÀ硦
07-12   1861   YJMODx¿µÀ硦
07-15   2016   YJMODx¿µÀ硦
07-17   2268   YJMODx¿µÀ硦
07-18   2574   YJMODx¿µÀ硦
07-23   1917   YJMODx¿µÀ硦
07-23   1941   YJMODx¿µÀ硦
07-24   1879   YJMODx¿µÀ硦
07-26   2242   YJMODx¿µÀ硦
07-27   1958   ÄÄÇ»ÅͽŽþß
07-29   2057   YJMODx¿µÀ硦
07-29   2661   YJMODx¿µÀ硦
07-29   2362   YJMODx¿µÀ硦
07-30   2241   YJMODx¿µÀ硦
08-01   2172   YJMODx¿µÀ硦
08-02   2312   YJMODx¿µÀ硦
08-05   2585   YJMODx¿µÀ硦
08-06   3006   YJMODx¿µÀ硦
08-07   2930   YJMODx¿µÀ硦
08-08   3155   ÄÄÇ»ÅͽŽþß
08-12   2482   YJMODx¿µÀ硦
08-13   2699   YJMODx¿µÀ硦
08-21   1882   YJMODx¿µÀ硦
08-27   1067   YJMODx¿µÀ硦
08-27   1310   YJMODx¿µÀ硦
08-28   1906   YJMODx¿µÀ硦
08-28   1853   YJMODx¿µÀ硦
08-30   1753   YJMODx¿µÀ硦
09-02   1471   YJMODx¿µÀ硦
09-02   2003   YJMODx¿µÀ硦
09-04   1616   YJMODx¿µÀ硦
09-13   753   YJMODx¿µÀ硦