diff --git a/Prepping-a-legacy-fore.st-dataset-for-migration-ingestion..md b/Prepping-a-legacy-fore.st-dataset-for-migration-ingestion..md new file mode 100644 index 0000000..d1ab20b --- /dev/null +++ b/Prepping-a-legacy-fore.st-dataset-for-migration-ingestion..md @@ -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!!!**