Skip to Content
Menu
This question has been flagged
2 Replies
5774 Views

Hi, While I am creating backup of odoo It is giving Backup with the data also.What we need to create a backup with out having data in that back, Don't downvote plese give comment if any wrong

Avatar
Discard
Best Answer

You cannot back up an Odoo DB without the records. I'm assuming you are asking this question because you created dummy data in order to test your instance and configure it the way you want; now you want to "save your configuration" without having the dummy data you created in order to start a production instance or something like that. This is not possible. The correct practice is to back up your database before doing something that could harm/pollute it (like creating dummy data or like installing a new app that you don't know the consequence of).

Now that you are in this situation, your only option is to start a new instance fresh. This means that you need to copy the configuration that you have in the original instance into your new instance (install the same apps, check the same checkboxes,...). Fortunately, this is only a couple hours work.

Avatar
Discard
Best Answer

On backup page of Odoo you have two options for create a backup, 

1- zip (includes filestore)

2- pg_dump custom format (without filestore)

Seems that you are using the first, select the second to get a backup without data of attachments

Avatar
Discard