Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
4038 Vizualizări

I need to achieve the database backup at particular time everyday in version 7.0 ? Do anyone know how to proceed this?

Thanks in Advance !!

Imagine profil
Abandonează
Cel mai bun răspuns

If you work with a Linux server you should schedule your backup with cron

http://www.cyberciti.biz/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses/

the job you have to schedule is something like this:

sudo -u openerp pg_dump <name of="" the="" database=""> > backup_file.sql

Hope this helps

Imagine profil
Abandonează
Autor

I found a link which was related to this question. http://help.openerp.com/question/8899/how-do-i-automate-database-backups/ I also tried the python script mentioned in the link, but it does'nt work

1) You could use http://www.postgresql.org/docs/9.0/static/continuous-archiving.html (Continuous Archiving) Postgres feature.

2) There is a the http://www.pgbarman.org/ (pgBarman project)

Related Posts Răspunsuri Vizualizări Activitate
4
iul. 24
33918
1
nov. 23
4223
2
apr. 22
2894
1
aug. 19
8966
2
oct. 16
6754