用命令多Aphelion进行备份和恢复
用命令多Aphelion进行备份和恢复
Section on Backup :
1. The following command line utility is the most recommended way to perform. the export. Alternatively,
the Aphelion Web Admin Interface or Syntegra LDAP Browser Interface can also be used.
Unix: /usr/sbin/lde/export -f /var/lde/PTCLdap/PTCLdap_lde.conf -l
/usr/sbin/lde/export -f /var/lde/PTCldap/PTCLdap_lde.conf -c '' -o 目标文件
//可以指定备份的文件名和路径。
Windows:
1) cd to your virtual drive of Aphelion. Default is R:
2) cd to \usr\sbin\lde (This is where you will find the export command)
3) R:\usr\sbin\lde>export -f R:\usr\var\lde\PTCLdap\PTCLdap_lde.conf -l
Important: On Windows, the command will not run properly unless the command prompt is set to the R: drive (type "R:", without quotes, and press enter)
Now examine the contents of /var/lde/PTCLdap/PTCLdap_database/root.ldif, to ensure that it is
complete. It is recommended that this LDAP export be performed and data backed up as part of regular
Windchill maintenance operations.
Section on Recovery :
The following procedure section can be used in cases such as system failures where the Aphelion LDAP
server was reinstalled:
1. Back up all of the directory containing the LDAP database.
For unix this is /var/lde/PTCLdap
And for windows it is R:\usr\var\lde\PTCLdap. In this example R is the "virtual drive" used by Aphelion.
These are the defaults locations, they can and will vary between sites.
2. Stop the server (if running).
Unix:
/etc/rc2.d/S77cdsDaemon stop
Windows:
net stop "Aphelion Administration"
net stop "Aphelion Services"
NOTE: For windows servers, ensure that the Aphelion Services are started at least once before continuing;
this will ensure that the virtual drive (R: generally) has been mapped.
3. Locate the backup LDIF file, and place it in to the following location :
Unix: /var/lde/PTCLdap/PTCLdap_database/root.ldif
Windows: R:\usr\var\lde\PTCLdap\PTCLdap_database\root.ldif
Ensure the file name is all in lower case.
4. Import the data into the database:
Unix: /usr/sbin/lde/import -f /var/lde/PTCLdap/PTCLdap_lde.conf
Windows:
1) cd to your virtual drive of Aphelion. Default is R:
2) cd to \usr\sbin\lde
3) R:\usr\sbin\lde> import -f R:\usr\var\lde\PTCLdap\PTCLdap_lde.conf
Important: On Windows, the command will not run properly unless the command prompt is set to the R: drive (type "R:", without quotes, and press enter)
5. Do check the output to make sure there are no errors.
6. Start the Aphelion servers:
Unix: /etc/rc2.d/S77cdsDaemon start
Windows: net start "Aphelion Services"
net start "Aphelion Administration"
7. Now check the database connection by connecting using an LDAP browser.
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/24106960/viewspace-668695/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/24106960/viewspace-668695/
用命令多Aphelion进行备份和恢复相关推荐
- linux的备份和恢复命令,Ubuntu 16.04备份和恢复小结
前言 在备份时主要需要确认有哪些目录不需要备份,网上虽然有很多备份的教程,不过还是要根据自己的情况来调整参数. 一.清理缓存.回收站等 # 清理旧版本的软件缓存 sudo apt-get autocl ...
- OCR磁盘的导出和导入、备份和恢复以及移动(ocrconfig命令的应用)
数据库版本:10.2.0.1 一,使用导出.导入进行备份和恢复 Oracle推荐在对集群做调整时,比如增加.删除节点之前,应该对OCR做一个备份,可以使用export 备份到指定文件.如果做了repl ...
- mysql 恢复数据库 source_mysql数据库备份及恢复命令 mysqldump,source的用法 | 很文博客...
mysql数据库备份及恢复命令 mysqldump,source的用法,需要的朋友可以参考下. 还原一个数据库:mysql -h localhost -u root -p123456 www d:\w ...
- Linux日常运维管理技巧(三)iptables规则备份和恢复、firewalld的9个zone、任务计划cron、chkconfig系统服务管理、添加服务命令、systemctl管理服务
目录 Linux防火墙-netfilter iptables规则备份和恢复 Linux防火墙-firewalled firewalld的9个zone firewalld关于zone的操作 firewa ...
- mysql数据库后台命令备份_使用MySQL命令行备份及恢复数据库
使用MySQL命令行备份及恢复数据库 下文对使用MySQL命令行备份及恢复数据库的方法及步骤进行了详细的介绍,如果您对MySQL命令行方面感兴趣的话,不妨一看. AD: 使用MySQL命令行,可以实现 ...
- mysql TMM_mysql使用命令导出导入数据(数据备份、恢复)
1.使用mysql进行数据备份.恢复我们使用最多是的Navicat for MySQL客户端工具: 数据备份: DataBase(选中数据) – > Dump SQL File(转储SQL文件) ...
- mysql备份恢复_使用MySQL命令行备份及恢复数据库
使用MySQL命令行,可以实现对数据库的备份以及恢复,下面就为您介绍使用MySQL命令行实现该功能的详细方法步骤,供您参考. MySQL命令行导出数据库: 1,进入MySQL目录下的bin文件夹:cd ...
- netsh命令恢复网络_巧用Netsh命令备份和恢复网络设置
Netsh是Windows 2000/XP/2003操作系统自身提供的命令行脚本实用工具,它允许用户在本地或远程显示或修改当前正在运行的计算机的网络配置.为了存档.备份或配置其他服务器,Netsh也可 ...
- mysql中修改表的还原命令_MySQL的增、删、改、查和备份、恢复的命令
一.增删改查 1.创建数据库 CREATE DATABASE DBname mysqladmin-u root-p create DBname 2.删除数据库 DROP DATABASE DBname ...
最新文章
- 一般计算 【2007】三3 C++版
- day04_07-三个函数的区别
- jQuery(三):样式操作
- mysql分析sql语句基础工具 —— explain
- 几个常用算法的适应场景及其优缺点
- 做移动端视频通话软件,大致看了下现有的开源软件(转)
- Day04-循环和列表
- 关于字体图标在firefox上本地访问无法显示的问题分析
- php 接摄像头数据_详解一个交换机能带动多少个网络监控摄像头?
- 文本聚类kmeans
- 数据分析之描述性统计分析
- Google Play关键词选词方法及常用选词工具
- 二倍图三倍图什么意思_小程序有二倍图三倍图使用的必要吗?
- CorelDRAW2023全新版功能及下载安装教程
- 判断质数、分解质因数
- Java中多态的表现形式
- 超声波阵列功率驱动:利用MX1919驱动
- 网络篇 OSPF的LSDB过载保护-52
- 怎么转换CAD文件的版本?分享两种转换版本的方法
- CANDENCE :如何新建PCB文件、设置PCB画布尺寸、绘制PCB板框