FileCloud Backup and Restore - Windows Manual

Starting with FileCloud 11.0, an easy to use FileCloud Server Backup and Restore option is available for administrators.

See The FileCloud Server Backup Tool for more details

FileCloud can be backed up and restored on windows following these manual steps.

While performing the backup/restore, these are the important file categories that should be backed up/restored:

  • cloud cloud files.
  • cloud database.
  • cloud user files.

High level steps to backup FileCloud in windows:

  1. Stop webserver
  2. Backup configuration files
  3. Backup database.
  4. Backup user files.
  5. Start webserver

Stop Webserver and MongoDB

Before backup is performed, stop the apache webserver and mongodb. This prevents any client from adding/removing files while the backup is in progress. To stop the apache webserver,  open the FileCloud control panel and hit stop for Apache. Also stop the Mongo DB process.

Backup cloud files

Once the apache server is stopped, make a copy of entire cloud installation. The cloud installation can be found under the installation directory under htdocs. (e.g. c:\xampp\htdocs)

Backup database

To backup the database, copy the mongodb database files under c:\xampp\mongodb\bin\data

Backup user files

To backup user files, make a copy of the entire directory specified in the "Storage Path" in Managed Storage Settings (Admin Panel->Settings->Storage Tab)

Note: In the following case, the entire "c:\Filecloud\userdata\" directory has to be backed up..

Start Webserver and MongoDB

After the above backup steps are performed, start the apache webserver and mongo db processes.

High level steps to restore FileCloud in windows:

  1. Stop webserver
  2. Restore configuration files
  3. Restore database.
  4. Restore user files.
  5. Start webserver

Stop Webserver and MongoDB

Before restore is performed, stop the apache webserver and mongodb. This prevents any client from adding/removing files while the restore is in progress.

Restore cloud files

Once the apache server is stopped, restore copy of entire cloud installation files to <cloud_install_dir>.  (c:\xampp\htdocs)

Restore database

To restore the database, copy the mongodb files into the mongodb data directory. (c:\xampp\mongodb\data)

Restore user files

To restore user files, restore the user files to the directory specified in the Storage Path specified in the Managed Storage Settings. (Admin Panel->Settings->Storage Tab)

Note: In the following case, the user files had to be copied to "c:\FileCloud\userdata\".

Start Webserver and MongoDB

After the above restore steps are performed, start the apache webserver and mongodb process.