hi,
You may try this method to recover the database
- Check the site1.local database name by accessing the database server
mysql -uroot -p
SHOW DATABASES;
- Dump the database
mysqldump -uroot -p [database_name] > dump.sql
- Create new site and restore the database dump to the new site
bench new-site site2.local
bench --site site2.local --force restore ./dump.sql
*unfortunately you may not be able to recover the deleted hash