after I used the bundled Linux installer to install Community 4.2.c ib ubuntu 12.04 OS server, to install Community on different server machines
the first one I did was:
1> compress all of the directory. (/opt/alfresco-4.2.c)
2> backup database with like this:
/opt/alfresco-4.2.c/postgresql/bin/pg_dump-U alfresco alfresco | gzip > /opt / postgres_ $ (date +% Y% m% d-% H% M% S). dmp.gz
then
1> rename old directory like this (/opt/alfresco-4.2.c with /opt /alfresco_old)
2> extract it to a new server machine (/opt/alfresco-4.2.c)
3> and restore postgre database like this
/opt/alfresco-4.2.c/postgresql/bin/psql-U alfresco alfresco </opt/postgres_20130904-093544.dmp.
(note: all the processes that I did with alfresco conditions of service is not running).
However, it still does not run postgre database. sample in console :
root@dms1:~# /opt/alfresco-4.2.c/postgresql/scripts/ctl.sh status
postgresql not running
root@dms1:~# /opt/alfresco-4.2.c/postgresql/scripts/ctl.sh start
could not change directory to "/root"
waiting for server to start………………………………………………………pg_ctl.bin:
could not start server
Examine the log output.
/opt/alfresco-4.2.c/postgresql/scripts/ctl.sh : postgresql could not be started
where lies the fault?
Can you help me? is there a step by step for an easier way to backup and restore of alfresco?
many thanks and best regards.
gopei