How to backup Alfresco daily and restore point in time
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2014 03:46 AM
Hi all,
I'm using alfresco-community-4.2.c, it is installed on Centos 6.4 64 bit server by using setup wizards.
Alfresco is placed in /opt/alfresco-4.2.c
Postgresql is started when Alfresco start
I intend to backup Alfresco daily by using Bacula, backup full entire /opt/alfresco-4.2.c directory on 1:00 AM Sunday and backup incremental on weekday (from Mon to Sat). Is it enough ? Do I have to stop Alfresco service before backup job run and start Alfresco service after backup job done ?
I'm using alfresco-community-4.2.c, it is installed on Centos 6.4 64 bit server by using setup wizards.
./alfresco-community-4.2.c-installer-linux-x64.bin
Alfresco is placed in /opt/alfresco-4.2.c
pwd/opt/alfresco-4.2.clsalf_data amps_share libreoffice README.txt uninstallalfresco.ico awe.log licenses scripts uninstall.datalfresco.log bin manager-linux-x64.run share.log webquickstart.logalfresco.sh common postgresql solr.logamps java properties.ini tomcat
Postgresql is started when Alfresco start
/etc/init.d/alfresco statustomcat already runningpostgresql already running/etc/init.d/alfresco stopUsing CATALINA_BASE: /opt/alfresco-4.2.c/tomcatUsing CATALINA_HOME: /opt/alfresco-4.2.c/tomcatUsing CATALINA_TMPDIR: /opt/alfresco-4.2.c/tomcat/tempUsing JRE_HOME: /opt/alfresco-4.2.c/javaUsing CLASSPATH: /opt/alfresco-4.2.c/tomcat/bin/bootstrap.jar:/opt/alfresco-4.2.c/tomcat/bin/tomcat-juli.jarUsing CATALINA_PID: /opt/alfresco-4.2.c/tomcat/temp/catalina.pid/opt/alfresco-4.2.c/tomcat/scripts/ctl.sh : tomcat stoppedwaiting for server to shut down…. doneserver stopped/etc/init.d/alfresco startwaiting for server to start…. doneserver started/opt/alfresco-4.2.c/postgresql/scripts/ctl.sh : postgresql started at port 5432Using CATALINA_BASE: /opt/alfresco-4.2.c/tomcatUsing CATALINA_HOME: /opt/alfresco-4.2.c/tomcatUsing CATALINA_TMPDIR: /opt/alfresco-4.2.c/tomcat/tempUsing JRE_HOME: /opt/alfresco-4.2.c/javaUsing CLASSPATH: /opt/alfresco-4.2.c/tomcat/bin/bootstrap.jar:/opt/alfresco-4.2.c/tomcat/bin/tomcat-juli.jarUsing CATALINA_PID: /opt/alfresco-4.2.c/tomcat/temp/catalina.pid/opt/alfresco-4.2.c/tomcat/scripts/ctl.sh : tomcat startednetstat -tupln | grep 8080tcp 0 0 :::8080 :::* LISTEN 19309/javanetstat -tupln | grep posttcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN 19288/postgrestcp 0 0 ::1:5432 :::* LISTEN 19288/postgres
I intend to backup Alfresco daily by using Bacula, backup full entire /opt/alfresco-4.2.c directory on 1:00 AM Sunday and backup incremental on weekday (from Mon to Sat). Is it enough ? Do I have to stop Alfresco service before backup job run and start Alfresco service after backup job done ?
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2014 05:03 AM
I suggest you read the documentation for alfresco and PostgreSQL backup first.
You will need to fully stop alfresco and postgresql to do a file system level backup your way.
You will need to fully stop alfresco and postgresql to do a file system level backup your way.
