How to backup and restore ONLYOFFICE data

Subscribe us on Google News

Jack Wallen shows you how easy it is to backup and restore data from your existing ONLYOFFICE deployment.

Image: monticello/Adobe Stock

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).

Figure A

Image: Jack Wallen/TechRepublic. Under COMMON SETTINGS, click Save (Figure B).

Under COMMON SETTINGS, click Save (Figure B).

Figure B

Image: Jack Wallen/TechRepublic. ONLYOFFICE Control Panel gives you access to all kinds of features.

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.

Also, Read   Hackers have performed over 65,000 attacks via Windows Print Spooler exploit

Figure C

Image: Jack Wallen/TechRepublic. The ONLYOFFICE backup section in the CONTROL PANEL.

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).

Figure D

Image: Jack Wallen/TechRepublic. Creating an automated backup for ONLYOFFICE.

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.

Also, Read   iPhone 12 mini at just Rs 28,000 on Flipkart – Here's how to grab the deal

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 +.

Figure E

Image: Jack Wallen/TechRepublic. The ONLYOFFICE Restore section in the CONTROL PANEL.

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.


Image: Jack Wallen/TechRepublic. ONLYOFFICE restoration is in progress.

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.


What’s your Reaction?

Leave a Reply

Your email address will not be published.

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.

Powered By
CHP Adblock Detector Plugin | Codehelppro