High level steps to backup FileCloud in windows:
- Stop webserver
- Backup configuration files
- Backup database.
- Backup user files.
- 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.