title: How to snapshot backup & restore from JCR (Java Content Repository)
body: <p>How can I snapshot backup/restore JCR repository? </p>
  
  <p>I need complete integrity. This means, single snapshot image produced by single backup command must be valid without any external dependancy. And it could be restored in other JCP instance completely. This means if I restore a snapshot image into a JCR instance, all existing data in the repository must be cleared and all data in the snapshot must be restored exactly as it was in previous repository.</p>
  
  <p>It's fine stopping whole services to do this. I prefer integrity at first.</p>
  
  <p>How can I do this?</p>