See the PHP documentation

With regard to the Salt scripts you asked about:

  • restore.sh restores the drupal files from a compressed tar backup
  • restore_db.sh restores a mysql database from an SQL script.

I created them so we could restore the journal system from a snapshot and modified them for use in the upgrade to Drupal 8. I thought the best place for them was in the Salt configuration.

To use them in the current configuration we would need to restore the files backup and create a compressed tar and restore the database backup.