code: protected void doRestore() throws Throwable
     {
        PlainChangesLog changes = read();
  
        TransactionChangesLog tLog = new TransactionChangesLog(changes);
        tLog.setSystemId(Constants.JCR_CORE_RESTORE_WORKSPACE_INITIALIZER_SYSTEM_ID); // mark changes
  
        dataManager.save(tLog);
     }
docs: Perform restore operation.