---
title: "Back Up Collect Data in Local Database/Server"
url: "https://openforis.support/questions/661/back-up-collect-data-in-local-databaseserver"
tags: ["openforis", "collect"]
status: "accepted"
score: 0
answer_count: 3
asked: "2016-08-20T08:20:38"
last_activity: "2016-08-23T10:47:09"
source: "Open Foris Support - Q&A Forum"
license: "Copyright Open Foris, 2026. Some rights reserved under creative commons license."
---

# Back Up Collect Data in Local Database/Server

Asked by dhunganamilan on 2016-08-20

Can I backup my data entered through Openforis Collect Data Management in my server running in localhost (in realtime)? I am using PostgreSQL server in my local computer and would like to backup collect data on one of the databases running on that server. Anyone have any clue??


## Accepted answer (score 1, by Stefano (OF) on 2016-08-22)

Link: https://openforis.support/questions/661/back-up-collect-data-in-local-databaseserver/663

Dear Milan,  
You can backup the data collected data by accessing Collect with the "admin" user and accessing the Backup/Restore module from the Home Page of Collect.
  
![alt text][1]  

You have to select the survey you want to export and then just click on the Backup button. A file with extension `.collect-backup` will be generated and you can use it to restore both survey design and data into an empty Collect installation or into an installation that already contains some records collected using the same survey design (you can even restore only the survey design, if you need, by importing the .collect-backup file from the Survey Designer).  

The Backup/Restore module works with both standalone or server configuration of Collect.  

Rajkumar, you can configure Collect for a multiuser environment, using a **PostgreSQL** database. You can **follow the instructions** [here][2].  

I hope it has been useful. Many thanks.  
Open Foris Team


  [1]: http://www.openforis.org/support/upfiles/Collect_backup_screenshot.png
  [2]: http://www.openforis.org/OFwiki/index.php/Open_Foris_Collect_Installation#Server_installation_.28multiuser_environment.29


## Answer (score 0, by Rajkumar on 2016-08-21)

Link: https://openforis.support/questions/661/back-up-collect-data-in-local-databaseserver/662

It would be the good system if entered data (through collect) can be stored in PostgreSQL in real time. But I do not think it can be done. All component of openforis app are independent. It should be stored manually, yet. If I am wrong please correct me.


## Answer (score 0, by dhunganamilan on 2016-08-22)

Link: https://openforis.support/questions/661/back-up-collect-data-in-local-databaseserver/664

Hello Stefano,

Thank you for your supportive answer. It sounds awesome. Will come back if anything goes wrong. Cheers Mate!!
