.:: Jasa Membuat Aplikasi Website,Desktop,Android Order Now..!! | | Order Now..!! Jasa Membuat Project Arduino,Robotic,Print 3D ::.

How to backup OpenERP db in Linux ?

0 komentar


بِسْــــــــــــــــمِ اﷲِالرَّحْمَنِ اارَّحِيم
bismillaahirrahmaanirrahiim

السَّلاَمُ عَلَيْكُمْ وَرَحْمَةُ اللهِ وَبَرَكَاتُهُ
Assalamu'alaikum warahmatullahi wabarakatuh

Been trying to backup Malaysia OpenERP db in Linux / Ubuntu environment which mean the following requirements ,
1. Automated to a NAS / NFS mount
2. Using  a script file

This is what i find out

1. We need to have a shell script file something like this
    which the file is created with 0600 access right to the CRON user : ubuntu
    and my file name : backup_pg_db (with access right to ROOT  and do not forget to set the execute
    right for this file)

   the content (where the NFS is the mount to the NAS server which allow NFS services )

#!/bin/sh
DATE=$(date +%F_%T)
export PGPASSWORD="my_pgpassword123"
/usr/bin/pg_dump mydbname1 --host localhost --port 5432 -U openerp --format custom --blobs --verbose --file "/mnt/nfs/openerp_db_backup/mydbname1-001.backup"
2. use the crontab in webmin to create a Cron job and point to the file created 
3. make sure that your server have some form of mail server application installed , mine is
    sendmail or else the Cron will failed !


Hope this will help you to secure your OpenERP database in Linux environment.
Although in Malaysia or Singapore , few people like to use Linux , but we love Linux because of its flexibilities yet , i must say it is not for Beginner , sorry for some of you who not too familiar with Linux but we can help , should you want to explore this environment , drop us a mail or contact us.
Update Contact :
No Wa/Telepon (puat) : 085267792168
No Wa/Telepon (fajar) : 085369237896
Email : Fajarudinsidik@gmail.com
NB :: Bila Sobat tertarik Ingin membuat software, membeli software, membeli source code, membeli hardware elektronika untuk kepentingan Perusahaan maupun Tugas Akhir (TA/SKRIPSI), Insyaallah Saya siap membantu, untuk Respon Cepat dapat menghubungi kami, melalui :

No Wa/Telepon (puat) : 085267792168
No Wa/Telepon (fajar) : 085369237896
Email: Fajarudinsidik@gmail.com


atau Kirimkan Private messanger melalui email dengan klik tombol order dibawah ini :

ٱلْحَمْدُ لِلَّهِ رَبِّ ٱلْعَٰلَمِين
Alhamdulilah hirobil alamin

وَ السَّلاَمُ عَلَيْكُمْ وَرَحْمَةُ اللهِ وَبَرَكَاتُهُ
wassalamualaikum warahmatullahi wabarakatuh


Artikel How to backup OpenERP db in Linux ?, Diterbitkan oleh scodeaplikasi pada Selasa, 24 April 2012. Semoga artikel ini dapat menambah wawasan Anda. Website ini dipost dari beberapa sumber, bisa cek disini sumber, Sobat diperbolehkan mengcopy paste / menyebar luaskan artikel ini, karena segala yang dipost di public adalah milik public. Bila Sobat tertarik Ingin membuat software, membeli software, membeli source code ,Dengan Cara menghubungi saya Ke Email: Fajarudinsidik@gmail.com, atau No Hp/WA : (fajar) : 085369237896, (puat) : 085267792168.

Tawk.to