There was a problem loading the comments.

Multisite Tenant removal

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

Summary: After removing a tenant, you have to remove tenant databases in MongoDB manually.

 

Question/Issue Description:

You want to delete a multitenant site: 

https://www.filecloud.com/supportdocs/fcdoc/latest/server/filecloud-administrator-guide/filecloud-site-setup/multi-tenancy-settings/manage-different-sites

 

After removing the tenant in the Multi Tenant Adminin site you have to remove the databases manually.

Please proceed as follows:

 

1) Create a Backup

OS  
Linux
mongodump --out /tmp/mongodump
Windows
cd C:\xampp\mongodb\bin 
mongodump --out C:\mongodump
 

2) Connect to MongoDB

Open MongoDB client command interface, which is typically located in:

Windows C:\xampp\mongodb\bin\mongosh.exe
Linux /usr/bin/mongosh
 

 3) Drop Databases

Delete the databases below:
       tonidoauditdb_sitename
       tonidoclouddb_sitename
       tonidosettings_sitename
       tonidostoragedb_sitename
       tonidosyncdb_sitename
 

Please run these commands for all databases:

use tonidoclouddb_site1
db.dropDatabase()
 
 

Share via

Self-Hosted Help Desk Software by SupportPal
© FileCloud