{"id":1555,"date":"2019-05-29T18:01:45","date_gmt":"2019-05-29T12:31:45","guid":{"rendered":"http:\/\/blog.tenthplanet.in\/?p=1555"},"modified":"2026-03-03T10:14:25","modified_gmt":"2026-03-03T10:14:25","slug":"taking-a-database-backup-is-now-easier-with-odoo-erp","status":"publish","type":"post","link":"https:\/\/tenthplanet.in\/blogs\/taking-a-database-backup-is-now-easier-with-odoo-erp\/","title":{"rendered":"Taking a Database Backup is now easier with Odoo ERP"},"content":{"rendered":"<p style=\"text-align: left\">Taking a Backup of the entire Database can be a tricky and a process that takes a long time. With a module on the <a href=\"https:\/\/tenthplanet.in\/odoo\/\">Odoo ERP<\/a> Apps, it becomes a simple, safe, faster and an automatic way to take the backup of the Database. It does not end there! We can also specify how long local &amp; external backups should be kept, and this is written to an external server through an encrypted tunnel. Once all this is set, a scheduled action will be created automatically and the backup will be taken accordingly.<\/p>\n<p style=\"text-align: left\">First, we need to specify the Host and the Database that needs a backup. The Port Number and the in what type the backup file needs to be also has to be mentioned like, a zip folder or as a dump.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1556\" src=\"https:\/\/tenthplanet.in\/blogs\/wp-content\/uploads\/sites\/21\/2019\/05\/Odoo_Auto_Database_Backup_img1.png\" alt=\"\" width=\"1203\" height=\"757\" title=\"\" srcset=\"https:\/\/tenthplanet.in\/blogs\/wp-content\/uploads\/sites\/21\/2019\/05\/Odoo_Auto_Database_Backup_img1.png 1203w, https:\/\/tenthplanet.in\/blogs\/wp-content\/uploads\/sites\/21\/2019\/05\/Odoo_Auto_Database_Backup_img1-300x189.png 300w, https:\/\/tenthplanet.in\/blogs\/wp-content\/uploads\/sites\/21\/2019\/05\/Odoo_Auto_Database_Backup_img1-1024x644.png 1024w, https:\/\/tenthplanet.in\/blogs\/wp-content\/uploads\/sites\/21\/2019\/05\/Odoo_Auto_Database_Backup_img1-768x483.png 768w\" sizes=\"auto, (max-width: 1203px) 100vw, 1203px\" \/><\/p>\n<p>Directory field is the path of the folder where the backup will be saved. So, the path of the folder must be given correctly, or we will tend to lose the data.<\/p>\n<p style=\"text-align: left\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1557\" src=\"https:\/\/tenthplanet.in\/blogs\/wp-content\/uploads\/sites\/21\/2019\/05\/Odoo_Auto_Database_Backup_img2.png\" alt=\"\" width=\"1201\" height=\"623\" title=\"\" srcset=\"https:\/\/tenthplanet.in\/blogs\/wp-content\/uploads\/sites\/21\/2019\/05\/Odoo_Auto_Database_Backup_img2.png 1201w, https:\/\/tenthplanet.in\/blogs\/wp-content\/uploads\/sites\/21\/2019\/05\/Odoo_Auto_Database_Backup_img2-300x156.png 300w, https:\/\/tenthplanet.in\/blogs\/wp-content\/uploads\/sites\/21\/2019\/05\/Odoo_Auto_Database_Backup_img2-1024x531.png 1024w, https:\/\/tenthplanet.in\/blogs\/wp-content\/uploads\/sites\/21\/2019\/05\/Odoo_Auto_Database_Backup_img2-768x398.png 768w\" sizes=\"auto, (max-width: 1201px) 100vw, 1201px\" \/><\/p>\n<p style=\"text-align: left\">Once this configuration is done, a scheduled action will be created with the help of the python code\u2019s function \u2018<em>model.schedule_backup()<\/em>\u2019.<\/p>\n<p style=\"text-align: left\">This will take charge of the backup process, and we need to specify how many days the backup or the scheduled action must run for, along with the Time and the Number Of Calls.<\/p>\n<p style=\"text-align: left\">This scheduled action can be switched off anytime, which means that the backup process will also not take place.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>With Odoo ERP Apps, provides a simple, safe and an automatic way to take the backup of the Database.<\/p>\n","protected":false},"author":23,"featured_media":1640,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[109,23,110,111],"class_list":["post-1555","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-odoo","tag-auto-database-backup","tag-odoo","tag-odoo-database-backup","tag-scheduled-action"],"_links":{"self":[{"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/posts\/1555","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/users\/23"}],"replies":[{"embeddable":true,"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/comments?post=1555"}],"version-history":[{"count":0,"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/posts\/1555\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/media\/1640"}],"wp:attachment":[{"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/media?parent=1555"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/categories?post=1555"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/tags?post=1555"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}