Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
8971 Представления

I have been using the built in DB backup/restore interface in OE for the last 9 months with no problems. My main application is in LINUX and my backup application is running on a Windows servers. Up to now I have used the built in backup function to create the dump file and I have restored it on my windows application to test it.

Now for no obvious reason I get an error message in a small window in the center of the screen stating "Restore Database Could not restore database OK" At the same time I see the text I am used to see up in the right corner "Restored Database restored"

At this point I can not restore any of the backups that I have been able to restore in the past.

Does anyone have any idea what have happened? I have not done any changes to the install as far as I know.

Аватар
Отменить

This DB is in which format. like .sql or .dump or .backup,

Автор

The DB is in .DUMP format ( the built in way)

Лучший ответ

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.

Аватар
Отменить
Related Posts Ответы Просмотры Активность
2
сент. 19
3626
3
июн. 16
15263
3
мая 15
9669
3
июл. 24
7031
2
дек. 23
2765