Add Prepping a legacy fore.st dataset for migration ingestion.

rainbow napkin 2025-10-08 05:32:39 -04:00
parent b99a4c6d8a
commit 512b58568a

@ -0,0 +1,13 @@
---
title: Prepping a Legacy fore.st dataset for Migration Ingestion
---
## Step-by-Step procedure for Prepping a Legacy fore.st dataset for Migration Ingestion
1. Log-in to your legacy fore.st server and dump the database `mysqldump --quick --skip-lock-tables -u forest -p forest > forest.sql`
2. Copy the database file locally, make a second copy called 'users.sql'
3. Pop the bitch in VIM (or a lamer editor) and find the line that looks like ```INSERT INTO `users` VALUES```
4. Delete that line and everything above it.
5. Drop down to the last username entry and delete everything between it and EOF.
6. You should now have a list that contains user information to be ingested by Canopies migration utilities.
**ALWAYS DELETE THIS FILE AFTER IT HAS BEEN INGESTED BY CANOPY, LEAVING A FILE CONTAINING OUTDATED HASHES, EMAILS, AND IP'S IS IRRESPONSIBLE AS SHIT!!**
**DATABASES HAVE SECURITY FEATURES FOR A REASON!!!**