Gave it a run, it seemed very quick compared to the script version.
It seemed to find a couple of errors it couldn’t fix.
Checking the PMS databases...
Database is damaged: malformed inverted index for FTS4 table main.fts4_metadata_titles_icu
PMS main database is damaged.
PMS blobs database is damaged.
Main DB: Missing FTS index 'locations' - MISSING
Blobs DB: Missing FTS index 'locations' - MISSING
NOTE: FTS indexes are damaged but main database structure is OK.
Use 'reindex' (option 6) or 'automatic' (option 2) to rebuild.
Checking the PMS databases... complete.
Plex seems to be running OK, not sure if I should restore the backup or not?
Any suggestions?
I enclose the whole session as captured, including log and config.
Last login: Thu Jul 9 17:16:07 on ttys000
/Users/Shared/PlexDBRepair/DBRepair-darwin-arm64/DBRepair ; exit;
stephenh@MacStudio ~ % /Users/Shared/PlexDBRepair/DBRepair-darwin-arm64/DBRepair ; exit;
SYSTEM: macOS,(MacOS)
ENGINE: SQLite v3.53.0
STEEL: ICU Headers LINKED
[Smoke Test Complete]
Binary Architecture: 64-bit
Database Repair Utility for Plex Media Server (MacOS)
Version 0.1999.01 (Jul 8 2026)
Select
1 - 'stop' - Stop PMS.
3 - 'check' - Perform integrity check of database and FTS indexes.
5 - 'repair' - Repair/Optimize databases.
7 - 'start' - Start PMS
10 - 'show' - Show logfile.
11 - 'status' - Report status of PMS (run-state and databases).
21 - 'prune' - Remove old image files from PhotoTranscoder cache & all temp files left by PMS.
42 - 'ignore' - Ignore duplicate/constraint errors.
98 - 'quit' - Quit immediately. Keep all temporary files.
99 - 'exit' - Exit with cleanup options.
Enter command # -or- command name (4 char min) : stop
Stopping PMS. (60 second max delay)
Stopped PMS.
Select
1 - 'stop' - Stop PMS.
3 - 'check' - Perform integrity check of database and FTS indexes.
5 - 'repair' - Repair/Optimize databases.
7 - 'start' - Start PMS
10 - 'show' - Show logfile.
11 - 'status' - Report status of PMS (run-state and databases).
21 - 'prune' - Remove old image files from PhotoTranscoder cache & all temp files left by PMS.
42 - 'ignore' - Ignore duplicate/constraint errors.
98 - 'quit' - Quit immediately. Keep all temporary files.
99 - 'exit' - Exit with cleanup options.
Enter command # -or- command name (4 char min) : check
Checking the PMS databases...
Database is damaged: malformed inverted index for FTS4 table main.fts4_metadata_titles_icu
PMS main database is damaged.
PMS blobs database is damaged.
Main DB: Missing FTS index 'locations' - MISSING
Blobs DB: Missing FTS index 'locations' - MISSING
NOTE: FTS indexes are damaged but main database structure is OK.
Use 'reindex' (option 6) or 'automatic' (option 2) to rebuild.
Checking the PMS databases... complete.
Select
1 - 'stop' - Stop PMS.
3 - 'check' - Perform integrity check of database and FTS indexes.
5 - 'repair' - Repair/Optimize databases.
7 - 'start' - Start PMS
10 - 'show' - Show logfile.
11 - 'status' - Report status of PMS (run-state and databases).
21 - 'prune' - Remove old image files from PhotoTranscoder cache & all temp files left by PMS.
42 - 'ignore' - Ignore duplicate/constraint errors.
98 - 'quit' - Quit immediately. Keep all temporary files.
99 - 'exit' - Exit with cleanup options.
Enter command # -or- command name (4 char min) : repair
--- Processing Main DB ---
Rebuilding and Verifying Main DB structure...
Rebuilding pristine indexes from source schema...
Rebuilding FTS Virtual Tables for ...
--- Processing Blobs DB ---
Rebuilding and Verifying Blobs DB structure...
Rebuilding pristine indexes from source schema...
Rebuilding FTS Virtual Tables for ...
Executing file swap for completed pipelines...
Swap complete. Live databases updated.
Select
1 - 'stop' - Stop PMS.
3 - 'check' - Perform integrity check of database and FTS indexes.
5 - 'repair' - Repair/Optimize databases.
7 - 'start' - Start PMS
10 - 'show' - Show logfile.
11 - 'status' - Report status of PMS (run-state and databases).
21 - 'prune' - Remove old image files from PhotoTranscoder cache & all temp files left by PMS.
42 - 'ignore' - Ignore duplicate/constraint errors.
98 - 'quit' - Quit immediately. Keep all temporary files.
99 - 'exit' - Exit with cleanup options.
Enter command # -or- command name (4 char min) : check
Checking the PMS databases...
PMS main database is damaged.
PMS blobs database is damaged.
Main DB: Missing FTS index 'locations' - MISSING
Blobs DB: Missing FTS index 'locations' - MISSING
NOTE: FTS indexes are damaged but main database structure is OK.
Use 'reindex' (option 6) or 'automatic' (option 2) to rebuild.
Checking the PMS databases... complete.
Select
1 - 'stop' - Stop PMS.
3 - 'check' - Perform integrity check of database and FTS indexes.
5 - 'repair' - Repair/Optimize databases.
7 - 'start' - Start PMS
10 - 'show' - Show logfile.
11 - 'status' - Report status of PMS (run-state and databases).
21 - 'prune' - Remove old image files from PhotoTranscoder cache & all temp files left by PMS.
42 - 'ignore' - Ignore duplicate/constraint errors.
98 - 'quit' - Quit immediately. Keep all temporary files.
99 - 'exit' - Exit with cleanup options.
Enter command # -or- command name (4 char min) : config
--- [ DBRepair: Host Configuration Dump ] ---
Version: [0.1999.01]
Os [1]
Uid / Gid [501:20]
Username [stephenh]
Home Directory: [/Users/stephenh]
Host Type: [MacOS]
Distro Name: [macOS]
Time Stamp: [2026-07-09_17.18.40]
Last User: [None]
Last Run: [Never]
Manual Config: No
Root Required: No
Scripted Mode: No
Ignore Errors: No
Checked DB: Yes
Damaged: Yes
Main Damaged: Yes
Blobs Damaged: Yes
Checked Main FTS: Yes
Main FTS Damaged: Yes
Checked Blobs FTS: Yes
. Blobs FTS Damaged: Yes
Remove Duplicates: No
Fail Status: No
Owner UID/GID: 0:0
Default Perms: 0644
Stat Format: [-f]
Stat Bytes: [%z]
Stat Perms: [%Lp]
Package Dir: [/Applications/Plex Media Server.app]
SQLite Version: [3.53.0]
App Support Dir: [/Users/stephenh/Library/Application Support]
Database Dir: [/Users/stephenh/Library/Application Support/Plex Media Server/Plug-in Support/Databases]
Database Temp Dir: [/Users/stephenh/Library/Application Support/Plex Media Server/Plug-in Support/Databases/dbtmp]
Main DB Path: [/Users/stephenh/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db]
Blobs DB Path: [/Users/stephenh/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.blobs.db]
Cache Dir: [/Users/stephenh/Library/Caches/PlexMediaServer/PhotoTranscoder]
Log File: [/Users/stephenh/Library/Application Support/Plex Media Server/Plug-in Support/Databases/DBRepair.log]
Pid File: []
Temp Dir (Local): [/tmp]
System Temp: [/tmp]
Script Name: []
Script Path: []
Working Dir: []
Sqlite3 Cache Size [0]
Sqlite3 Page Size [0]
DBRepair Notify Cmd []
Pidof Utility: [pgrep]
FTS Query: [SELECT name FROM sqlite_master WHERE sql LIKE '%FTS%';]
Have Start/Stop: (Yes)
Start Command: [TMPDIR=/tmp osascript -e 'tell app "Plex Media Server" to launch']
Stop Command: [TMPDIR=/tmp osascript -e 'tell app "Plex Media Server" to quit']
------------------------------------------------------
Select
1 - 'stop' - Stop PMS.
3 - 'check' - Perform integrity check of database and FTS indexes.
5 - 'repair' - Repair/Optimize databases.
7 - 'start' - Start PMS
10 - 'show' - Show logfile.
11 - 'status' - Report status of PMS (run-state and databases).
21 - 'prune' - Remove old image files from PhotoTranscoder cache & all temp files left by PMS.
42 - 'ignore' - Ignore duplicate/constraint errors.
98 - 'quit' - Quit immediately. Keep all temporary files.
99 - 'exit' - Exit with cleanup options.
Enter command # -or- command name (4 char min) : show
Displaying Session Log: /Users/stephenh/Library/Application Support/Plex Media Server/Plug-in Support/Databases/DBRepair.log
------------------------------------------------------------
2026-07-09 17.17.39 - ============================================================
2026-07-09 17.17.39 - Session start. Thu Jul 9 17:17:39 2026
2026-07-09 17.17.39 - ============================================================
2026-07-09 17.17.48 - RunSysCmd executing: 'TMPDIR=/tmp osascript -e 'tell app "Plex Media Server" to quit''
2026-07-09 17.17.48 - RunSysCmd: Command exited with status 0
2026-07-09 17.17.54 - Stop - PASS
2026-07-09 17.17.57 - CheckDB - Checking basic integrity - /Users/stephenh/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db
2026-07-09 17.17.58 - CheckDB - FAIL - /Users/stephenh/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db: malformed inverted index for FTS4 table main.fts4_metadata_titles_icu
2026-07-09 17.17.58 - CheckDB - Checking Indexes and FTS tables - /Users/stephenh/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db
2026-07-09 17.17.58 - CheckDB - Main DB: FTS Shadow table missing - fts4_metadata_titles_content
2026-07-09 17.17.58 - CheckDB - Main DB: FTS Shadow table missing - fts4_tag_titles_content
2026-07-09 17.17.58 - CheckDB - Main DB: FTS Shadow table missing - fts4_metadata_titles_icu_content
2026-07-09 17.17.58 - CheckDB - Main DB: FTS Shadow table missing - fts4_tag_titles_icu_content
2026-07-09 17.17.58 - CheckDB - Full check complete - /Users/stephenh/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db
2026-07-09 17.17.58 - Check - Check /Users/stephenh/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db DB - FAIL
2026-07-09 17.17.58 - CheckDB - Checking basic integrity - /Users/stephenh/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.blobs.db
2026-07-09 17.17.58 - CheckDB - Checking Indexes and FTS tables - /Users/stephenh/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.blobs.db
2026-07-09 17.17.58 - CheckDB - Blobs DB: FTS Shadow table missing - fts4_metadata_titles_content
2026-07-09 17.17.58 - CheckDB - Blobs DB: FTS Shadow table missing - fts4_tag_titles_content
2026-07-09 17.17.58 - CheckDB - Blobs DB: FTS Shadow table missing - fts4_metadata_titles_icu_content
2026-07-09 17.17.58 - CheckDB - Blobs DB: FTS Shadow table missing - fts4_tag_titles_icu_content
2026-07-09 17.17.58 - CheckDB - Full check complete - /Users/stephenh/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.blobs.db
2026-07-09 17.17.58 - Check - Check Blobs DB - FAIL
2026-07-09 17.17.58 - Check - FAIL
2026-07-09 17.17.58 - Check - CheckFTS Main DB - START
2026-07-09 17.17.58 - Main DB: FTS Check: Check - MISSING
2026-07-09 17.17.58 - GetSqlOutput - Prepare FAIL: table spellfix_metadata_titles has no column named spellfix_metadata_titles
2026-07-09 17.17.58 - Check - FTS Check: spellfix_metadata_titles - PASS
2026-07-09 17.17.58 - GetSqlOutput - Prepare FAIL: table spellfix_tag_titles has no column named spellfix_tag_titles
2026-07-09 17.17.58 - Check - FTS Check: spellfix_tag_titles - PASS
2026-07-09 17.17.58 - Check - FTS Check: fts4_metadata_titles - PASS
2026-07-09 17.17.58 - Check - FTS Check: fts4_tag_titles - PASS
2026-07-09 17.17.58 - Check - FTS Check: fts4_metadata_titles_icu - PASS
2026-07-09 17.17.58 - Check - FTS Check: fts4_tag_titles_icu - PASS
2026-07-09 17.17.58 - Check - CheckFTS Blobs DB - START
2026-07-09 17.17.58 - Blobs DB: FTS Check: Check - MISSING
2026-07-09 17.17.58 - GetSqlOutput - Prepare FAIL: table spellfix_metadata_titles has no column named spellfix_metadata_titles
2026-07-09 17.17.58 - Check - FTS Check: spellfix_metadata_titles - PASS
2026-07-09 17.17.58 - GetSqlOutput - Prepare FAIL: table spellfix_tag_titles has no column named spellfix_tag_titles
2026-07-09 17.17.58 - Check - FTS Check: spellfix_tag_titles - PASS
2026-07-09 17.17.58 - Check - FTS Check: fts4_metadata_titles - PASS
2026-07-09 17.17.58 - Check - FTS Check: fts4_tag_titles - PASS
2026-07-09 17.17.58 - Check - FTS Check: fts4_metadata_titles_icu - PASS
2026-07-09 17.17.58 - Check - FTS Check: fts4_tag_titles_icu - PASS
2026-07-09 17.18.08 - Repair - START
2026-07-09 17.18.08 - CheckDB - Checking basic integrity - /Users/stephenh/Library/Application Support/Plex Media Server/Plug-in Support/Databases/dbtmp/com.plexapp.plugins.library.db-DBREPAIR-2026-07-09_17.18.08
2026-07-09 17.18.08 - CheckDB - Checking basic integrity - /Users/stephenh/Library/Application Support/Plex Media Server/Plug-in Support/Databases/dbtmp/com.plexapp.plugins.library.db-DBREPAIR-2026-07-09_17.18.08
2026-07-09 17.18.09 - FTSRebuild - Rebuilt fts4_metadata_titles
2026-07-09 17.18.09 - FTSRebuild - Rebuilt fts4_tag_titles
2026-07-09 17.18.09 - Recreating missing virtual table from fallback: locations
2026-07-09 17.18.09 - Error: Failed to create virtual table locations from fallback schema.
2026-07-09 17.18.09 - FTSRebuild - Rebuilt fts4_metadata_titles_icu
2026-07-09 17.18.09 - FTSRebuild - Rebuilt fts4_tag_titles_icu
2026-07-09 17.18.09 - Repair - SUCCESS - Main DB Pipeline Complete
2026-07-09 17.18.09 - CheckDB - Checking basic integrity - /Users/stephenh/Library/Application Support/Plex Media Server/Plug-in Support/Databases/dbtmp/com.plexapp.plugins.library.blobs.db-DBREPAIR-2026-07-09_17.18.08
2026-07-09 17.18.09 - CheckDB - Checking basic integrity - /Users/stephenh/Library/Application Support/Plex Media Server/Plug-in Support/Databases/dbtmp/com.plexapp.plugins.library.blobs.db-DBREPAIR-2026-07-09_17.18.08
2026-07-09 17.18.10 - FTSRebuild - Rebuilt fts4_metadata_titles
2026-07-09 17.18.10 - FTSRebuild - Rebuilt fts4_tag_titles
2026-07-09 17.18.10 - Recreating missing virtual table from fallback: locations
2026-07-09 17.18.10 - Error: Failed to create virtual table locations from fallback schema.
2026-07-09 17.18.10 - FTSRebuild - Rebuilt fts4_metadata_titles_icu
2026-07-09 17.18.10 - FTSRebuild - Rebuilt fts4_tag_titles_icu
2026-07-09 17.18.10 - Repair - SUCCESS - Blobs DB Pipeline Complete
2026-07-09 17.18.10 - Repair - PUSH - Saved state to stack (Timestamp: 2026-07-09_17.18.08)
2026-07-09 17.18.10 - Repair - MakeActive - Main DB updated to live (Timestamp: 2026-07-09_17.18.08)
2026-07-09 17.18.10 - Repair - MakeActive - Blobs DB updated to live (Timestamp: 2026-07-09_17.18.08)
2026-07-09 17.18.10 - Repair - COMPLETED (Active Timestamp: 2026-07-09_17.18.08)
2026-07-09 17.18.15 - CheckDB - Checking basic integrity - /Users/stephenh/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db
2026-07-09 17.18.15 - CheckDB - Checking Indexes and FTS tables - /Users/stephenh/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db
2026-07-09 17.18.15 - CheckDB - Main DB: FTS Shadow table missing - fts4_metadata_titles_content
2026-07-09 17.18.15 - CheckDB - Main DB: FTS Shadow table missing - fts4_tag_titles_content
2026-07-09 17.18.15 - CheckDB - Main DB: FTS Shadow table missing - fts4_metadata_titles_icu_content
2026-07-09 17.18.15 - CheckDB - Main DB: FTS Shadow table missing - fts4_tag_titles_icu_content
2026-07-09 17.18.15 - CheckDB - Full check complete - /Users/stephenh/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db
2026-07-09 17.18.15 - Check - Check /Users/stephenh/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db DB - FAIL
2026-07-09 17.18.15 - CheckDB - Checking basic integrity - /Users/stephenh/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.blobs.db
2026-07-09 17.18.15 - CheckDB - Checking Indexes and FTS tables - /Users/stephenh/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.blobs.db
2026-07-09 17.18.15 - CheckDB - Blobs DB: FTS Shadow table missing - fts4_metadata_titles_content
2026-07-09 17.18.15 - CheckDB - Blobs DB: FTS Shadow table missing - fts4_tag_titles_content
2026-07-09 17.18.15 - CheckDB - Blobs DB: FTS Shadow table missing - fts4_metadata_titles_icu_content
2026-07-09 17.18.15 - CheckDB - Blobs DB: FTS Shadow table missing - fts4_tag_titles_icu_content
2026-07-09 17.18.15 - CheckDB - Full check complete - /Users/stephenh/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.blobs.db
2026-07-09 17.18.15 - Check - Check Blobs DB - FAIL
2026-07-09 17.18.15 - Check - FAIL
2026-07-09 17.18.15 - Check - CheckFTS Main DB - START
2026-07-09 17.18.15 - Main DB: FTS Check: Check - MISSING
2026-07-09 17.18.15 - GetSqlOutput - Prepare FAIL: table spellfix_metadata_titles has no column named spellfix_metadata_titles
2026-07-09 17.18.15 - Check - FTS Check: spellfix_metadata_titles - PASS
2026-07-09 17.18.15 - GetSqlOutput - Prepare FAIL: table spellfix_tag_titles has no column named spellfix_tag_titles
2026-07-09 17.18.15 - Check - FTS Check: spellfix_tag_titles - PASS
2026-07-09 17.18.15 - Check - FTS Check: fts4_metadata_titles - PASS
2026-07-09 17.18.15 - Check - FTS Check: fts4_tag_titles - PASS
2026-07-09 17.18.16 - Check - FTS Check: fts4_metadata_titles_icu - PASS
2026-07-09 17.18.16 - Check - FTS Check: fts4_tag_titles_icu - PASS
2026-07-09 17.18.16 - Check - CheckFTS Blobs DB - START
2026-07-09 17.18.16 - Blobs DB: FTS Check: Check - MISSING
2026-07-09 17.18.16 - GetSqlOutput - Prepare FAIL: table spellfix_metadata_titles has no column named spellfix_metadata_titles
2026-07-09 17.18.16 - Check - FTS Check: spellfix_metadata_titles - PASS
2026-07-09 17.18.16 - GetSqlOutput - Prepare FAIL: table spellfix_tag_titles has no column named spellfix_tag_titles
2026-07-09 17.18.16 - Check - FTS Check: spellfix_tag_titles - PASS
2026-07-09 17.18.16 - Check - FTS Check: fts4_metadata_titles - PASS
2026-07-09 17.18.16 - Check - FTS Check: fts4_tag_titles - PASS
2026-07-09 17.18.16 - Check - FTS Check: fts4_metadata_titles_icu - PASS
2026-07-09 17.18.16 - Check - FTS Check: fts4_tag_titles_icu - PASS
------------------------------------------------------------
Select
1 - 'stop' - Stop PMS.
3 - 'check' - Perform integrity check of database and FTS indexes.
5 - 'repair' - Repair/Optimize databases.
7 - 'start' - Start PMS
10 - 'show' - Show logfile.
11 - 'status' - Report status of PMS (run-state and databases).
21 - 'prune' - Remove old image files from PhotoTranscoder cache & all temp files left by PMS.
42 - 'ignore' - Ignore duplicate/constraint errors.
98 - 'quit' - Quit immediately. Keep all temporary files.
99 - 'exit' - Exit with cleanup options.
Enter command # -or- command name (4 char min) : exit
Remove temporary databases/workfiles? (y/N): y
Deleting temporary work files.
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Process completed]
What can you tell me about where the Plex directories are ?
I use APPDATA/LOCAL then APPDATA/ROAMING.
Can you help me identify what I’m missing here?
( I tested on Win 11 Pro, PMS installed on C:, Run from C: )
// Windows host
} else if (H.UserInfo.Os == 2) {
// Determine if local or roaming
H.AppSuppDir[0]='\0';
setString(TestDir, "%s/%s", H.UserInfo.HomeDir,"/AppData/Local/Plex Media Server");
if (isDir(TestDir)) {
setString(H.AppSuppDir,"%s/%s",H.UserInfo.HomeDir,"/AppData/Local");
} else {
setString(TestDir,"%s/%s",H.UserInfo.HomeDir,"/AppData/Roaming/Plex Media Server");
if (isDir(TestDir)) {
setString(H.AppSuppDir,"%s/%s",H.UserInfo.HomeDir,"/AppData/Roaming");
}
}
if ( *H.AppSuppDir && isDir(H.AppSuppDir)) {
// Window PMS server
setString(H.HostType,"Windows");
setString(H.AppSuppDir,"%s/%s/AppData/Local",H.UserInfo.HomeDir);
setString(H.DbDir, "%s/Plex Media Server/Plug-in Support/Databases", H.AppSuppDir);
setString(H.DbTmp, "%s/dbtmp", H.DbDir);
setString(H.CacheDir, "%s/Plex Media Server/Cache/PhotoTranscoder", H.AppSuppDir);
setString(H.PidFile, "%s/Plex Media Server/plexmediaserver.pid", H.AppSuppDir);
setString(H.LogFile, "%s/DBRepair.log", H.DbDir);
// Full Database Path Construction
setString(H.MainDb.Path, "%s/com.plexapp.plugins.library.db", H.DbDir);
setString(H.BlobsDb.Path, "%s/com.plexapp.plugins.library.blobs.db", H.DbDir);
H.RootRequired = false;
H.HaveStartStop = false;
// questionable to use TMP this way
strcpy(H.TmpDir,getenv("TMP"));
strcpy(H.SysTmp,getenv("TMP"));
// Good news
return true;
}
}
all attempts to run have actually been a cmd window as you should for a non-gui.exe file but also tried powershell as well for the code originally requested here > DBRepair development - #1002 by ChuckPa
Side note maybe caused by something causing the folder to autoset read only
also i was able to run the old .bat version which did work with no errors
11:50:14.27 -- ====== Session begins. (Fri 07/10/2026) ======
11:50:14.36 -- Performing DB cleanup tasks
11:50:14.41 -- Exporting Main DB
11:50:17.27 -- Exporting Blobs DB
11:50:24.41 -- Exporting Complete.
11:50:24.41 -- Creating Main DB
11:50:25.57 -- Verifying Main DB
11:50:25.81 -- Main DB verification check is: ok
11:50:25.81 -- Main DB verification successful.
11:50:25.82 -- Creating Blobs DB
11:50:27.29 -- Verifying Blobs DB
11:50:27.44 -- Blobs DB verification check is: ok
11:50:27.44 -- Blobs DB verification successful.
11:50:27.45 -- Import and verification complete.
11:50:27.46 -- Reindexing Main DB
11:50:27.77 -- Reindexing Blobs DB
11:50:28.01 -- Reindexing complete.
11:50:28.02 -- Moving current DBs to DBTMP and making new databases active
11:50:28.03 -- Database repair/rebuild/reindex completed.
11:50:28.03 -- ====== Session completed. ======