Backup and Restore: AEM/CQ5
There are
two ways to back up and restore CRX repository content:
- You can create an external backup of the repository and store it in a safe location. If the repository breaks down, you can restore it to the previous state.
- You can create internal versions of the repository content. These versions are stored in the repository along with the content, so you can quickly restore nodes and trees you have changed or deleted.
The
approach described here applies for system backup and recovery.
If you
need to backup and/or recover a small
amount of content, which is lost, a recovery of the system is not necessarily
required:
Either you can fetch the data from another system
via a package.
Or
you restore
the backup on a temporary system, create a content package and deploy it on the system, where this content is
missing. For more Details see Package
Backup
Package Backup
To back up and restore content, you can use one of the following:- Package Manager, which uses the Content Package format to back up and restore content. The Package Manager provides more flexibility in defining and managing packages.
- Content Zipper, which uses the CRX Package, XML Sys View Package, XML Doc View, or ZIP format to back up content. You restore content in these package formats with the Content Loader.
For More Details See Creating a Backup using the Content Zipper and Restoring a Backup using the Content Loader.
Scope of Backup
When you
back up nodes using either the Package Manager or the Content Zipper, CRX saves
the following information:
- The CRX repository content below the tree you have selected.
- The Node type definitions that are used for the content you back up.
- The Namespace definitions that are used for the content you back up.
When
backing up, CRX loses the following information:
- The version history.
Creating a Backup using the Content Zipper
To create
the backup using the Content Zipper:Content Zipper,
- Lock the top node of the tree you want to back up or a parent node of that node.
- In the Content Zipper, type the path of the tree you want to back up. For a format, click CRX package.
- Click Submit Query. Your Web browser now offers the package file as a download. Save the download on your computer.
- Unlock the node again.
Snapshot of Content Zipper:
Restoring a Backup using the Content Loader
To restore the backup using the Content Loader:- Lock the node you want to restore. You can still modify the node and the nodes below it, but others cannot.
- In the Content Loader, load the CRX package that you want to restore.
- Unlock the node again.
Restoring the Backup
To restore the backup from a backup:
1-Restore a backup image on the system. if
you backup the datastore separately, make sure, that the datastore is restored
as well to the correct location.
In case you have created a backup as a zip file,
unpack this zip file using:
jar -xvf
backupJune.zip
|
|
Now the repository is ready to use. You can start it now using the
regular start scripts.
|
|
Impressive. Your story always bring hope and new energy. Keep up the good work.
ReplyDeletepython training in tambaram | python training in annanagar | python training in jayanagar
Thank you for allowing me to read it, welcome to the next in a recent article. And thanks for sharing the nice article, keep posting or updating news article.
ReplyDeleteJava training in Tambaram | Java training in Velachery
Java training in Omr | Oracle training in Chennai
I prefer to study this kind of material. Nicely written information in this post, the quality of content is fine and the conclusion is lovely. Things are very open and intensely clear explanation of issues
ReplyDeleteData Science course in rajaji nagar | Data Science with Python course in chenni
Data Science course in electronic city | Data Science course in USA
Data science course in pune | Data science course in kalyan nagar
Good Post, I am a big believer in posting comments on sites to let the blog writers know that they ve added something advantageous to the world wide web.
ReplyDeletedevops online training
aws online training
data science with python online training
data science online training
rpa online training
Its really very nice website. Thank you for giving full information about AEM Online Training.
ReplyDeleteInfycle Technologies, the best software training institute in Chennai offers the No.1 Data Science training in Chennai for Students, tech professionals, and freshers. In addition to the Data Science Training Course, Infycle also offers other professional courses such as Cyber Security, Python, Oracle, Java, Power BI, Digital Marketing, Big Data, etc., which will be trained with 100% practical classes. After the completion of training, the trainees will be sent for placement interviews in the top MNC's. Call 7502633633 to get more info and a free demo.
ReplyDelete