创建Linux备份时遇到问题 [英] Trouble creating linux backup

查看:105
本文介绍了创建Linux备份时遇到问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在Azure中运行的Linux服务器上启用备份,但收效甚微.

I'm trying with little success to enable a backup on a Linux server I have running in Azure.

该服务器是作为VHD上传的,而不是从Azure市场创建的.

The server was uploaded as a VHD, not created from the Azure marketplace.

Linux版本是Ubuntu 14.04,可以访问互联网

Linux version is Ubuntu 14.04 and has internet access

我正在运行以下WALinuxAgent:

I have the following WALinuxAgent running:

在Ubuntu 14.04上运行的WALinuxAgent-2.2.20
的Python:3.4.3
目标状态代理:2.2.32.2

WALinuxAgent-2.2.20 running on ubuntu 14.04
Python: 3.4.3
Goal state agent: 2.2.32.2

但是,尝试在门户中创建备份时出现以下错误:

However I get the following error when trying to create the backup in the portal:

代码为:在waagent日志中,出现以下错误:

In the waagent log there is this error:

错误事件:name = WALinuxAgent,op = Provision,message = [ProvisionError]放弃,在1800s之后ovf-env.xml没有复制到/var/lib/waagent/ovf-env.xml,持续时间= 0

ERROR Event: name=WALinuxAgent, op=Provision, message=[ProvisionError] Giving up, ovf-env.xml was not copied to /var/lib/waagent/ovf-env.xml after 1800s, duration=0

当我在备份上下文中在Google上搜索该错误时,似乎几乎没有这个错误.

There seems to be very little about this error when I search on Google for it in a backup context.

任何帮助将不胜感激.

谢谢

斯科特

推荐答案

斯科特,你好,

Hi Scott,

在大多数情况下,此问题是由虚拟机上运行的过时的代理引起的.您能否检查您是否正在运行代理的最新版本,并根据需要尝试按以下链接中的说明进行更新:

In most cases, this issue is caused by an outdated Agent running on your Virtual Machine. Can you please check if you are running the latest version of the agent and if needed try updating it as described in the link below:

https://docs.microsoft.com/zh-CN/azure/virtual-machines/extensions/update-linux-agent

https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/update-linux-agent

清除存储在/var/lib/waagent/文件夹中的代理缓存.您可以通过运行以下命令来做到这一点:

Clear the Agents cache stored in the /var/lib/waagent/ folder. You can do it by running this command: 

sudo rm -f /var/lib/waagent/*.[0-9]*.xml

此外,请确保代理服务成功启动.如果问题仍然存在,请查看此文档,并查看列出的要点是否有帮助:https://docs.microsoft.com/en-gb/azure/backup/backup-azure-troubleshoot-vm-backup- failed-snapshot-timeout

Also, make sure that the Agent service starts successfully. If the issue persists, please have a look at this document and see if points listed are helpful: https://docs.microsoft.com/en-gb/azure/backup/backup-azure-troubleshoot-vm-backup-fails-snapshot-timeout



这篇关于创建Linux备份时遇到问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆