Jack Wallen shows you how easy it is to backup and restore data from your existing ONLYOFFICE deployment.
ONLYOFFICE (sorry for shouting) is an outstanding web productivity tool that includes documents, project management, CRM, and contact management. Once deployed, you can then start creating, editing, managing, sharing and working with all kinds of documents and data.
But one thing you should also do with ONLYOFFICE is back it up. You never know when disaster may strike, and when it does, you’ll want to have an up-to-date copy of your data. Without data backup, you could lose countless hours of work and no one wants that.
How to backup ONLYOFFICE? It’s actually quite simple. I will not only show you how to back up data, but also import backed up data.
SEE: Feature Comparison: Time Tracking Software and Systems (TechRepublic Premium)
What you will need
The only thing you will need to track is a running instance of ONLYOFFICE.
The backup solution also gives you the option to save your data to third-party storage (like Amazon AWS S3, Google Cloud Storage, Rackspace Cloud Storage, kDrive, Yandex, and WebDav). For this tutorial, we’ll save it to a temporary location and then download the file to a local drive.
That said, let’s go.
How to create backup
Log in to ONLYOFFICE as an administrator user and click Control Panel in the main window (Figure A).
Under COMMON SETTINGS, click Save (Figure B).
In the backup settings (Figure C), select Temporary as the storage location, check the box Include mail in backup (if using the mail feature) and click MAKE A BACKUP.
Depending on how much data you have saved in ONLYOFFICE, creating the backup may take some time. Once complete, you will see a new link titled Download Backup. Click this link and save the tar.gz file to local storage.
This is a manual save. You can also create an automated backup, but for this process you can only select one of the three storage locations (Documents Module, Third-Party Storage, or Computer File). Let’s opt for the Computer file, which will save the backup file to a local directory of the ONLYOFFICE instance.
Say, for example, you have an external drive connected to your ONLYOFFICE server which is mounted in the /data directory.
To do this, go to the Automatic Data Backup section and click the ON/OFF slider until it is in the ON position. Click Computer File, then type /data in the storage location field. Select Daily from the Time drop-down menu, then select the time you want the backup to occur. Finally, select the maximum number of backups you want to keep and click SAVE (Figure D).
The backup process will then run at the specified time and save the file to the /data directory.
How to restore a backup
To restore from the backup we created above, you will need to save the backup file to local storage. If you created an automated backup, you will need to manually copy this file from the server to the PC from which you are running the restore process.
Once you have this file on local storage, in Control Panel, click Restore on the left sidebar. Select Computer File from the Source list (Figure E) and then click +.
When prompted, locate the backup file, then once the backup file has downloaded (which may take some time), click the RESTORE button. Again, the restore process will take some time (F-number), and obviously ONLYOFFICE will not be available during the process.
And that’s all there is to backup and restore your ONLYOFFICE instance.
Subscribe to TechRepublic’s How To Make Tech Work on YouTube for all the latest tech tips for professionals from Jack Wallen.