Creating a backup of Nextcloud

nextcloudThis article describes the components of Nextcloud that need to be copied in order to have a complete backup.


Nextcloud will typically be installed with a database. You will need to get a dump of the MySQL.

  1. Access your database using phpMyAdmin.
  2. Browse to the database in the left pane.
  3. Select the Export tab.
  4. Click Go to download an SQL file of your database.


Config, themes and data directories

There are three important directories, that you need to backup as a minimum. You could of course copy all Nextcloud directories.

  1. Access the root directory of your Nextcloud instance.
  2. Take a copy of the following directories.
    1. /config
    2. /data
    3. /themes


Thanks for visiting.