EFS and SOLR Cloud Backup(2)Snapshot and Restore SOLR
We have about 100G data, we tested with about 47G data. The steps we did is as follow:
#1 backup the collection allJobs from allJobsTest cluster to EFS directory with name allJobsBackup
#2 restore on new cluster allJobsTest2 with a different collection name allJobs2 (why allJobs2, because we use script to create the cluster, there is already a collection named allJobs after creation)
#3 Add replica to the new cluster multiple times to enable all nodes to have the replica
#4 delete old collection in the new cluster allJobsTest2
#5 on the new cluster, make an alias from the new collection allJobs2 to old collection name allJobs
After that, we found that between steps #2, we can delete the old collection first, then we can directly restore the backup to the original collection name, so we do not need alias #5 step.
Here are some related commands.
SOLR Cluster Operation
Backup Cluster
name - backup file name
collection - original collection name
location - network share disk space which can be seen by all the nodes
async - one manual input ID which can retrieve the status later
http://alljobstest.us-east-1.elasticbeanstalk.com/solr/admin/collections?action=BACKUP&name=allJobsBackup&collection=allJobs&location=/efs&async=123
Status Check
requestid - the manual input ID when we do something async, we can get the status back for that action
http://alljobstest.us-east-1.elasticbeanstalk.com/solr/admin/collections?action=REQUESTSTATUS&requestid=123
Restore Cluster
name - backup cluster name
collection - collection name we restore back
location - efs location
async - manual input ID
http://alljobstest2.us-east-1.elasticbeanstalk.com/solr/admin/collections?action=RESTORE&name=allJobsBackup&collection=allJobs&location=/efs&async=234
Add Replica to the Cloud
http://alljobstest2.us-east-1.elasticbeanstalk.com/solr/admin/collections?action=ADDREPLICA&collection=allJobs&shard=shard1
Create Alias
http://alljobstest2.us-east-1.elasticbeanstalk.com/solr/admin/collections?action=CREATEALIAS&name=allJobs&collections=allJobsBackup
Delete Alias
http://alljobstest2.us-east-1.elasticbeanstalk.com/solr/admin/collections?action=DELETEALIAS&name=allJobs
Delete Collection
http://alljobstest2.us-east-1.elasticbeanstalk.com/solr/admin/collections?action=DELETE&name=allJobs
References:
http://sillycat.iteye.com/blog/2407536
分享到:
相关推荐
标题"I959_EFS_Backup_Restore_WIN"表明这是一个针对特定型号手机(I959)的EFS(Embedded File System)备份与恢复工具的Windows版本。EFS是Android系统中一个至关重要的部分,它存储了设备的网络锁、IMEI(国际...
2. 启动工具:运行N7100_EFS_Backup_Restore_WIN程序,软件会自动识别并连接到手机。 3. 创建备份:在软件界面选择备份EFS选项,程序会读取手机上的EFS分区并将数据保存到本地硬盘。 4. 存储备份:备份文件通常是一...
N7100_EFS_Backup_Restore_WIN可能是一个工具或程序,专为三星Galaxy Note 2设计,用于创建EFS分区的备份,防止因刷机或其他操作导致的数据丢失。 3. **恢复EFS**:当EFS分区出现问题时,备份文件就派上用场了。...
使用N719_EFS_Backup_Restore_WIN这个工具进行备份和恢复操作相对简单。首先,您需要在电脑上安装该工具,并确保手机已经通过USB连接到电脑。运行工具后,选择备份功能,软件会将EFS分区的内容完整地保存到本地文件...
在压缩包子文件的文件名称 "N9009_EFS_Backup_Restore_WIN" 中,我们可以推断这是一款适用于Windows操作系统的软件。这意味着用户需要在Windows环境下运行该工具来执行备份和恢复操作。该文件可能包含了程序主文件、...
EFS(Encrypting File System)是Windows操作系统中的一个文件加密技术,主要在NTFS文件系统上运行,为用户提供了一种安全存储数据的方式。EFS备份是针对这些加密文件和文件夹进行的保护措施,目的是在数据丢失、...
2. **恢复丢失的证书**: 如果用户失去了EFS证书,该工具会尝试从备份中恢复,或者查找其他可能存在的证书副本。 3. **支持多种恢复场景**: 包括但不限于用户账户被删除、硬盘故障、系统崩溃、恶意软件攻击等。 4. ...
* Extract from the archive, connect the device to the USB debugging mode (System settings/Developer options/USB debugging) and run selected .bat (depending on the backup or restore) * To retain the ...
2. 下载并安装EFS备份工具,如“EFS Backup & Restore”等。 3. 连接设备到电脑,确保手机处于USB调试模式。 4. 使用工具进行备份操作,保存备份文件到安全位置。 5. 完成备份后,可以将备份文件存储在云服务或外部...
2. **管理CEFS**:CEFS(Client EFS)是手机上的EFS文件系统副本。在QPST的“CEFS”面板中,我们可以查看、编辑或恢复EFS中的文件。这对于故障排查、网络设置重置或者个性化配置调整都非常有用。 需要注意的是,...
2. **数据解密**:EFS加密的数据需要对应的密钥才能解密,如果丢失了密钥或者忘记了密码,数据将无法访问。Advanced EFS Data Recovery就是针对这种情况提供的一种解密工具。 3. **Advanced EFS Data Recovery**:...
- 示例2:加密`efs`目录下的所有子目录。 ```cmd cipher /e /s:efs ``` - 示例3:加密`efs1`目录中的`ichat.txt`文件。 ```cmd cipher /e /a:efs1\ichat.txt ``` 2. **查询加密目录和加密文件**: - 示例4...
在IT领域,efs解密工具是一种专门用于处理 Encrypting File System (EFS) 加密文件的软件。EFS是Windows操作系统内置的一种文件加密技术,它允许用户对个人文件和文件夹进行加密,确保数据在存储和传输过程中的安全...
2. **配置EFS恢复代理**:为了能够在其他系统上访问加密的文件,建议提前配置好EFS恢复代理。 3. **权限管理**:确保目标系统上的用户具有足够的权限来访问加密文件。 总之,EFS作为一种强大的加密技术,在保护敏感...
### Efs C# 帮助文档知识点梳理 #### 第一章 概述 - **Efs框架定位**:Efs作为一个企业级快速开发的UI层框架,主要目的是简化ExtJS框架的使用复杂度,让开发者能更专注于业务逻辑而非页面布局与组件的构建。 - **...
**高级EFS数据恢复4.2 - 解密加密文件的专业工具** 在Windows操作系统中,EFS(Encrypting File System)是一种内置的文件加密技术,用于保护用户的数据安全。当使用EFS加密文件时,只有拥有正确密钥的用户才能访问...
**EFS(Encrypting File System)**是Windows操作系统中的一项安全特性,用于对NTFS文件系统中的文件和文件夹进行透明加密,确保数据在存储和传输过程中的安全性。EFS利用用户证书和私钥对文件进行加密,只有拥有...
**高级EFS数据恢复——证书密钥解密技术详解** 在Windows操作系统中,尤其是NTFS文件系统下,EFS(Encrypting File System)是一种强大的文件加密机制,它为用户提供了一种安全存储敏感信息的方式。然而,当用户...
2. 将手机进入下载模式(通常通过按住音量下键、Home键和电源键的组合键)。 3. 使用Odin将"I9100-efs.zip"中的efs文件刷入手机,按照Odin的指示操作,连接手机并选择相应的PDA或AP按钮加载EFS备份文件。 4. 开始...
"Samsung N7100 EFS Backup & Restore" 这款软件就是为此目的而设计的,它具有用户友好的界面和简单的操作流程,使得非技术背景的用户也能轻松使用。通过该软件,用户可以: 1. 创建EFS备份:在执行任何可能影响EFS...