备份和还原LDAP [英] Backup and Restore LDAP

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

问题描述

我是c#的新手,我正在为openldap服务器开发一个应用程序。

服务器是一种使用组织单位作为联系人组的地址簿。在组织单元中,条目是联系人。

我正在使用System.DirectoryServices命名空间,它几乎可以工作。我可以搜索姓名或号码,可以编辑,删除联系人或插入新联系人。但我需要备份和恢复组织单位,经过几天的搜索,我仍然没有找到方法。有人能帮我吗?谢谢。

Hi, I'm new to c# and I'm developing an app for an openldap server.
The server is a kind of address book that uses organizational units as contact groups. In the organizational units the entries are the contacts.
I'm using System.DirectoryServices Namespace and it works almost everything. I can search for names or numbers and can edit, delete contacts or insert new ones. But I would need to backup and restore the organizational units and after days of searching I still have not found the way. Can someone help me? thank you.

推荐答案

您好Manuel_p,

Hi Manuel_p,

感谢您在此发帖。

对于您的问题,您是否在项目中使用数据库?

For your question, have you use database in your project?

如果是,您可以创建一个新表来存储原始数据以进行备份或恢复。或者您可以创建一个集合来存储原始数据。

If yes, you could create a new table to store the original data to backup or restore. Or you could create a collection to store the original data.

最好的问候,

Wendy


这篇关于备份和还原LDAP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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