title: Does the H2 SCRIPT command work like a snapshot?
body: <p>H2 database has a command called SCRIPT to backup content and/or structure. It can be performed while the database is running. </p>
  
  <p>My question is: Does SCRIPT work like a snapshot? Does it only take statement and database content up until the SCRIPT command is issued? Or does it try to take additional statements performed by other processes into account while SCRIPT is being executed?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>To clarify the question, there are two ambiguities about the usage of SCRIPT:</p>
  
  <ul>
  <li>Does SCRIPT guarantee transactional safety/consistency while performed when database is running?</li>
  <li>Is SCRIPT producing a smaller output than BACKUP?</li>
  </ul>
  
  <p>I am asking this question to know whether I should interrupt some queries while performing a backup of my database.</p>