cisagov / cset

Cybersecurity Evaluation Tool
MIT License
1.36k stars 240 forks source link

feature: restoredb from backup script #3945

Closed itsmostafa closed 3 weeks ago

itsmostafa commented 3 weeks ago

fix sql script for restoring database

๐Ÿ—ฃ Description

The sql script will drop any active connections and then restore CSETWeb database from the latest backup dropped in the backups/ directory

๐Ÿ’ญ Motivation and context

๐Ÿงช Testing

tested locally

โœ… Pre-approval checklist