Наши скрипты > Sanitarium WebLoG
Перенос с сервера на сервер или обновление DB: решение проблемы
MargunchiK:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=144672
Green Kakadu:
--- Цитировать ---MargunchiK:
https://bugzilla.redhat.com/bugzill...g.cgi?id=144672
--- Конец цитаты ---
м-да, печально.
Можно попробовать самостоятельно собрать на сервере BerkeleyDB, разработчики и дистрибутив тут:
http://sleepycat.com
Wrong:
такае же поебень ((((((((((
Error: Can not tie %dbm /www/stolicas/www/cgi-bin/san/admin/data/categories mode=3, reason: Inappropriate file type or format at adminmudak.cgi line 1870
R.V.:
А что уважаемый разработчик может сказать по поводу данного решения?
http://sedition.com/perl/db-converter.html
Moving DB_Files between disparate systems
Description
This script converts binary DB_File data into plain text for sending accross networks and reconstituting on other systems with the same script. There is usage information and some discussion in the script comments.
In my case, I build parts of my site and its search index from mysql on OS X at home. The search index uses DB_File. I didn’t have mysql on my host originally and didn’t want the headache of syncing the DBs anyway (myisam to innodb, 3.whatever to 4.bleeding). So, the only data-system that needs to go over is the search index. Moving the DB generated with DB_File breaks it since the target system has little other than “nix” in common with my box. This script fixes it for transfer and puts it back the way it needs to be once it gets where it belongs.
Green Kakadu:
--- Цитировать ---R.V.:
А что уважаемый разработчик может сказать по поводу данного решения?
http://sedition.com/perl/db-converter.html
Moving DB_Files between disparate systems
--- Конец цитаты ---
мм. у многих может возникнуть проблема из-за отсутствия модуля YAML, через который совершается конвертирование.
+ если база приличная (несколько тысяч статей), то исход тоже будет неоднозначен..
Навигация
Перейти к полной версии