2015-02-06 66 views

回答

1

我不認爲有Linux的備份代理。你會在這裏使用你的標準備份/恢復策略,例如rsync,如果它只是文件或Bacula的其他東西。但是,如果文件絕對需要在文件庫中(例如,因爲有Windows Server VM需要使用它們),那麼我建議您使用Azure Files將文件從Linux中取出,然後從Windows VM中備份它們。你當然可以scp他們,或使用其他方法。 HTH。

0

這就是我在CentOS虛擬機中所做的(功勞歸於this serverfault answer)。

經由SSH終端安裝在VM代理:

wget https://raw.githubusercontent.com/Azure/WALinuxAgent/WALinuxAgent-2.0.12/waagent 
chmod +x waagent 
sudo cp waagent /usr/sbin 
sudo /usr/sbin/waagent -install -verbose 
sudo service waagent restart 

然後我不得不運行在天青PowerShell窗口以下cmdlet,爲了標誌劑作爲安裝:

$vm = Get-AzureVM -ServiceName 'myAzureServiceName' -Name 'myAzureVMName' 
$vm.GetInstance().ProvisionGuestAgent = $true 
Update-AzureVM -ServiceName 'myAzureServiceName' –Name 'myAzureVMName' -VM $vm.VM