使用 C# .net 进行 VMWare ESX 服务器备份

发布于 2024-10-03 08:21:12 字数 53 浏览 6 评论 0原文

有谁知道如何使用 C#.net 备份 VMWare ESXi 服务器?

谢谢

Does anybody know how I can backup an VMWare ESXi server with C#.net?

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

爱给你人给你 2024-10-10 08:21:12

不确定你的意思是备份虚拟机还是配置。既然你说“服务器”,我就使用配置。也不知道 C# 应该如何参与其中。但是,根据pdf,您可以使用“vicfg-cfgbackup”命令备份配置。

坦率地说,我使用的是 ESX,而不是 ESXi,但所有这些命令行内容通常都是完成工作的方式。我编写了自动化程序(包括一些 C# 实用程序应用程序)来对 ESX 主机执行 SSH 命令,并发现这是一种成功的方法。我所做的大部分工作都是围绕备份和复制虚拟机进行的。这通常是将文件存档到另一个驱动器(通常安装为 /backup),然后推送复制到网络上的集中备份位置的过程。从那里,备份可以由另一个更大的系统(例如 NetBackup 等)获取。

Not sure if you mean backing up vms, or config. Since you say the "server", I'll go with the config. Not sure how C# should enter into this, either. But, according to the pdf, you can use "vicfg-cfgbackup" command to back up the configuration.

Frankly, I'm working with ESX and not ESXi, but all that command-line stuff is generally how things get done. I've written automation, including some utility apps in C#, to execute SSH commands against the ESX host, and found it to be a successful approach. Most of what I've done has been more around backing up and replicating vms. This is generally a process of archiving the files to another drive (generally mounted as /backup), then push-copying to a centralized backup location on the network. From there, the backup could be picked up by another, larger system like NetBackup, etc.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文