Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
5 Odpowiedzi
21788 Widoki

Anyone have a step-by-step procedure so I can copy my database(s) to a different computer? I tried to use PostgresSQL PGAdmin method but it gives me an error saying it's an invalid file. I can't see exactly how to do it using the tools within Openerp. I think this would be the better method if it were possible, but ANY method that works would be appreciated. Thank you for being helpful.

Awatar
Odrzuć
Autor

Someone with karma please close?

Najlepsza odpowiedź

Backup databases:
1. openerp login screen click [Manage Databases]
2. under Database Management click [Backup]
3. choose your database / password ( default admin) then click on [Backup]

Copy all database backup files to new computer

Restore databases:
1. openerp login screen click [Manage Databases]
2. under Database Management click [Restore]
3. choose your database file / enter password ( default admin) name your database then click on [Restore]

Awatar
Odrzuć

When you say « Copy all database backup files to new computer », which files are you talking about? Can you give me a path? Thanks

Najlepsza odpowiedź

If you have a problem with "database manager" method, you can try with this:

  • DUMP DataBase from source server:

    pg_dump -f oe-mydatabase_backup.sql mydatabase_name

  • RESTORE on destination server:

    psql -f mydatabase_backup.sql mydatabase_name

You need remember if have a custom addons then need copy the server files.

Awatar
Odrzuć
Najlepsza odpowiedź

Hi I tried the procedure mentioned above for restoring from a ubuntu server system to another ubuntu backup system but it shows error I am unable to restore backup taken from server.

can any one help in guiding me to restore the data

I am using odoo 9.0 on a ubuntu server 16.0.1

any help would be thankfull.

sorry I don't have enough karma to comment so I am posting here

Awatar
Odrzuć
Autor Najlepsza odpowiedź

Thank you very much.  I was successful.

 

I can't see how to close this question, so if any board admin will do it thank you very much.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
maj 25
519
0
lut 25
861
2
lis 24
5052
2
paź 24
2177
2
sie 24
1370