Skip to main content

How to shrink your database?

In some cases it might happen that your database gets too big. This happens more likely if you are using the external storage app in your Nextcloud. There is now a script that allows to shrink your database.

How to execute it:

  1. Choose Server Configuration -> Database Shrinking
  2. Choose to install Database Shrinking
  3. Choose that you haven't created a backup of you Nextcloud, yet
  4. Choose to run the backup now
  5. Wait until the backup is done which will automatically execute and run the database shrinking process after the backup was created successfully
  6. Wait until it reports that shrinking was done successfully
  7. Now open your Nextcloud and see if still everything works. If not, simply restore from backup by following this guide.