diff --git a/Web/Controls/Help/Administration/Administration.ascx b/Web/Controls/Help/Administration/Administration.ascx index 667dda2f6..d78dc455f 100644 --- a/Web/Controls/Help/Administration/Administration.ascx +++ b/Web/Controls/Help/Administration/Administration.ascx @@ -443,6 +443,7 @@
In this article, we will show you how to transfer the Nextcloud server data to your ONLYOFFICE DocSpace.
+Starting from v 2.5, ONLYOFFICE DocSpace supports exporting Nextcloud users, users’ files, sharing settings and groups.
+First, you need to enable the maintenance mode on your Nextcloud server. The maintenance mode stops the server and allows us to export data from the Nextcloud installation folder and MySQL database. To activate the maintenance mode:
+cd /var/www/html/nextcloud
+ sudo -u www-data php occ maintenance:mode --on
+ To successfully migrate your data to ONLYOFFICE Workspace, we need to include users' folders in our backup archive. They are located in the data folder within the Nextcloud directory.
+To export the data folder run the following command:
+sudo rsync -Aax /var/www/html/nextcloud/data [preferred location]/data/
+ Where [preferred location] is a destination of the exported folder.
+Also, we need to export the MySQL backup file. There are two possible ways of dumping the database.
+In case the database is deployed on the same server, execute:
+sudo mysqldump --lock-tables -u root -p nextcloud_db > [preferred location]/nextcloud-dirbkp_`date +"%Y%m%d"`/
+ Where [preferred location] is a destination of the exported folder.
+If the database is deployed on a different server, run the following command:
+mysqldump --single-transaction -h [server] -u [username] -p[password] [db_name] > nextcloud-sqlbkp_`date +"%Y%m%d"`.bak
+ After all the necessary folders and files have been exported, we can disable the maintenance mode and start the Nextcloud server.
+To do that, go to the Nextcloud installation folder and execute:
+sudo -u www-data php occ maintenance:mode --off
+ In order to import the data, you need to compress certain files and folders to a zip archive. The archive.zip file contains the data folder which stores the folders of the Nextcloud users and the database backup file. The structure of the archive.zip file looks as follows:
+-archive:
+ - data:
+ - user1
+ - user2
+ - user3
+ - MySQL backup file
+
+
+ Wait for the archive to load. When the loading is complete, click the Next step button.
+Also, you can send a welcome letter to the new users. This letter will inform your users about migration to ONLYOFFICE DocSpace. It contains a brief description of the main features and a login link. To send the letter, check the Send invite letter option before clicking the Finish button.
+After the migration is complete, the new users and groups can be found in the Accounts section.
+Personal files and shared files can be accessed through the Documents section. Shared folders can be accessed through the Rooms sections.
+