<?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 Switching from cold to hot backup in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/switching-from-cold-to-hot-backup/m-p/291024#M244154</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I used to do cold backups, as it was easier to configure. But the alfresco-data has serveral GB now and the down time has become quite long. So I want to switch to hot backups.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm a little scared to do something wrong. Ofc I read the Wiki:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://wiki.alfresco.com/wiki/Backup_and_Restore#Hot_Backup_Procedure" rel="nofollow noopener noreferrer"&gt;https://wiki.alfresco.com/wiki/Backup_and_Restore#Hot_Backup_Procedure&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; - Do I have to create the lucene indexes before each backup, or does Alfresco do this periodically automatically? It's marked as optional, what are the disadvantages of not doing it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - What kind of command can I use to hot backup a postgresql-database? Are there smarter ways than just dumping it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Right now, I basically stop alfresco. And then I just save the data directory and dump the database:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;sudo -u postgres pg_dump -Fc alfresco &amp;gt;&amp;gt; $date/$date-datenbank.dump 2&amp;gt;&amp;gt; $log&lt;BR /&gt;tar cjpf $date/$date-alf_data.tar.bz2 /var/lib/tomcat7/alf_data &amp;amp;&amp;gt;&amp;gt; $log&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;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do I have to synchronize the backup of the database in any way with the alfresco backup? Or does the lucene index care about that?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Greetings from Germany&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;MPW&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Feb 2015 08:15:39 GMT</pubDate>
    <dc:creator>mpw</dc:creator>
    <dc:date>2015-02-04T08:15:39Z</dc:date>
    <item>
      <title>Switching from cold to hot backup</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/switching-from-cold-to-hot-backup/m-p/291024#M244154</link>
      <description>Hello,I used to do cold backups, as it was easier to configure. But the alfresco-data has serveral GB now and the down time has become quite long. So I want to switch to hot backups.I'm a little scared to do something wrong. Ofc I read the Wiki:https://wiki.alfresco.com/wiki/Backup_and_Restore#Hot_B</description>
      <pubDate>Wed, 04 Feb 2015 08:15:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/switching-from-cold-to-hot-backup/m-p/291024#M244154</guid>
      <dc:creator>mpw</dc:creator>
      <dc:date>2015-02-04T08:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: Switching from cold to hot backup</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/switching-from-cold-to-hot-backup/m-p/291025#M244155</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;Lucene indexes backup is created every night by an Alfresco job. If you're hot backup doesn't include indexes backup, you'll have to fully reindex the Alfresco repository when restoring. That can be very long. If you restore indexes backup, at startup, Alfresco will only index transactions done between the index backup and your hot backup.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I always use a dump to backup my database and I don't know if there is a smarter way to do that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Your database backup has to be done before the Alfresco filesytem backup. Alfresco has no problem with file of the filesystem having no reference in the database. But database records pointing to files that are not existing in the filesystem are problematic.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 08:47:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/switching-from-cold-to-hot-backup/m-p/291025#M244155</guid>
      <dc:creator>mlagneaux</dc:creator>
      <dc:date>2015-02-05T08:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: Switching from cold to hot backup</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/switching-from-cold-to-hot-backup/m-p/291026#M244156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So all I have to do is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; - Assuring that Alfresco creates that index regularly&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - Not stopping tomcat before a backup anymore&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That sounds easier than that wiki article describes it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2015 11:15:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/switching-from-cold-to-hot-backup/m-p/291026#M244156</guid>
      <dc:creator>mpw</dc:creator>
      <dc:date>2015-02-09T11:15:03Z</dc:date>
    </item>
  </channel>
</rss>

