FileCloud can be backed up and restored on Linux following these manual steps.
While performing the backup/restore, these are the important file categories that should be backed up/restored:
FileCloud config files
FileCloud database files
FileCloud user files
Backup
High level steps to backup FileCloud in Linux:
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.
Check your mongodb installation to make sure /var/lib/mongodb is the correct database path.
Backup user files
To backup user files, make a copy of the entire directory specified for the managed storage settings, in the "Storage Path". This is found in Settings->Storage tab in the FileCloud Admin panel.
Note: In the following case, the entire "/opt/filecloud/data" directory has to be backed up.
Please use equivalent commands applicable for your OS distro.
Restore
High level steps to restore FileCloud in Linux:
Stop webserver
Restore configuration files
Restore database.
Restore user files.
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 backup is in progress.
To restore user files, restore the user files to the directory specified and then make sure that path is set correctly in Managed Storage Settings in "Storage Path".
Note: In the following case, the entire "/opt/filecloud/data" directory has to be restored.
Use the following commands, to restore user files.