<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Backup and restore in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/backup-and-restore/m-p/295637#M248767</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i want to take full back up ! i tried add on tools. but am not satisfied. i gone through the 4.2 help documentation. i could not clear with the steps&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;what i have is only installation files!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;please provide me the steps to back up and recovery&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Oct 2013 06:23:15 GMT</pubDate>
    <dc:creator>vasanthakumar</dc:creator>
    <dc:date>2013-10-09T06:23:15Z</dc:date>
    <item>
      <title>Backup and restore</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/backup-and-restore/m-p/295637#M248767</link>
      <description>hi i want to take full back up ! i tried add on tools. but am not satisfied. i gone through the 4.2 help documentation. i could not clear with the stepswhat i have is only installation files!please provide me the steps to back up and recovery</description>
      <pubDate>Wed, 09 Oct 2013 06:23:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/backup-and-restore/m-p/295637#M248767</guid>
      <dc:creator>vasanthakumar</dc:creator>
      <dc:date>2013-10-09T06:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: Backup and restore</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/backup-and-restore/m-p/295638#M248768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Assuming that you have used the default install then so far as I understand it everything to do with Alfresco data is in a folder {alfresco-installation-dir}/alf_data and absolutely everything you installed is in {alfresco-installation-directory}.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, if you just want to backup your Alfresco data you simply shutdown Alfresco completely (including postgreSQL); this is usually done just by doing ./alfresco.sh stop. Then you can use tar to back up alf_data using something like&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;tar cfzP {backup-folder}/alf_data.tar.gz {alfresco-installation-directory}/alf_data&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and then restart Alfresco using ./alfresco.sh start&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To restore the data I have found it is really important to remove the existing alf_data folder and then restore, rather than restore over the top of it. Restoring over the top of it has caused me some indexing issues I suspect because there are files in alf_data that are not in the database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, for safety I always do the following. Stop alfresco (./alfresco.sh stop). Rename alf_data to something else "just in case", then you can use tar to restore alf_data using something like&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;tar xfzP {backup-folder}/alf_data.tar.gz {alfresco-installation-directory}/alf_data&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and then restart Alfresco using ./alfresco.sh start&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, if you have a very large Alfresco installation then this "cold" backup process may not work for you as the backup may take to long. As I understand it documents don't "move around in alf_data" so you can use a variation on this which is to do a full tar backup of alf_data every week, then incrementals every day for the rest of the week which will significantly reduce the elapsed backup time but make restore more complex. I have never tried this and I suspect that you might run into the "orphan document" index issue if you create and delete a document inbetween full backups. Whether or not this is a problem and if it is how you fix it, is beyond my experience.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There are "hot" backup processes in this forum and on the internet which I have never tried, but the standard "cold" process above does work for me.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 11:39:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/backup-and-restore/m-p/295638#M248768</guid>
      <dc:creator>rjohnson</dc:creator>
      <dc:date>2013-10-09T11:39:00Z</dc:date>
    </item>
  </channel>
</rss>

