Installation and Configuration of Standalone Backup Server
Backup server limitations
- The backup server cannot back up files if you are using S3 backend storage.
- The backup server cannot back up or restore files if storage is encrypted.
- When the backup server uses the HTTP protocol for downloads, it cannot scale for larger installations. We recommend using the Rsync method for larger installations.
- If backup is performed during peak production time, system performance may be affected.
Recommendations for best performance
- Configure FileCloud target backup only in one web node in the HA setup.
- Route traffic via private network.
Installation
Follow the installation procedures at FileCloud Backup Server Installation.
Configuration of standalone backup server for HA
- Follow the configuration steps at FileCloud Backup Server Configuration.
- Add the following code to backupagent.php.
// ... Server URL define("BACKUPAGENT_ACCESS_KEY", "filecloudbackups" ); //Additional mongodump params //Use this if you have additional params to be passed to mongodump command define("BACKUPAGENT_MONGODUMP_PARAMS", "--host "rs0/ hostname of Mongo1,hostname of Mongo2, hostname of Mongo3" --username dbuser --password password --authenticationDatabase admin " );
- If your installation is using a non-default MongoDB data path, add the following line:
Windows: define("BACKUPAGENT_DBDATA_PATH", "D:\\xampp\\mongodb\\bin\\data" ); RHEL: define("BACKUPAGENT_DBDATA_PATH","/var/lib/mongo");