<?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 Re: Alfresco full backup ? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-full-backup/m-p/24651#M12071</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Everyone&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've posted a backup/restore script at: &lt;/SPAN&gt;&lt;A href="http://unrestricted-cms.blogspot.com/" rel="nofollow noopener noreferrer"&gt;http://unrestricted-cms.blogspot.com/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I combined what was said in this post, and also found something interesting.&amp;nbsp; It appears that the alf_data directory and alfresco db instance could be cross platform capable.&amp;nbsp; I was able to sucessfully backup from Linux and restore on Windows.&amp;nbsp; So my question here is will that be suppored :_)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway check it out and if you have comments on the script please let me know it is not final yet and I'm looking to add some hooks to shutdown alfreso, and automating the creation of the database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-D&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Feb 2007 03:13:58 GMT</pubDate>
    <dc:creator>dmusser</dc:creator>
    <dc:date>2007-02-22T03:13:58Z</dc:date>
    <item>
      <title>Alfresco full backup ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-full-backup/m-p/24645#M12065</link>
      <description>Hi, I want to write a script that backup all of alfresco (content, category, group, user, …). alf_data dir and a Mysql dump are enough ?</description>
      <pubDate>Thu, 03 Aug 2006 17:31:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-full-backup/m-p/24645#M12065</guid>
      <dc:creator>vpoorboy</dc:creator>
      <dc:date>2006-08-03T17:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco full backup ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-full-backup/m-p/24646#M12066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thats all you need to do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;e.g.:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;export ALF_DATA_BASE=/opt/alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;export ALF_DATA_DIRNAME=alf_data&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;export BACKUP_DIR=/backup&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;export DB_USERNAME=alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;export DB_PWD=alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;export DB_NAME=alfresco130&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cd $ALF_DATA_BASE/$ALF_DATA_DIRNAME&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mysqldump -u$DB_USERNAME -p$DB_PWD $DB_NAME &amp;gt; $DB_NAME.sql&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cd $ALF_DATA_BASE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;tar cvfz $BACKUP_DIR/$ALF_DATA_DIRNAME.tgz $ALF_DATA_DIRNAME&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Heiko&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2006 22:25:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-full-backup/m-p/24646#M12066</guid>
      <dc:creator>heiko_robert</dc:creator>
      <dc:date>2006-08-03T22:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco full backup ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-full-backup/m-p/24647#M12067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you ! Will we need to stop the server ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Aug 2006 01:30:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-full-backup/m-p/24647#M12067</guid>
      <dc:creator>vpoorboy</dc:creator>
      <dc:date>2006-08-04T01:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco full backup ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-full-backup/m-p/24648#M12068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;yes and no. it depends since you can't garantee to create both in sync (alf_dir and db backup). The file backup like done in this script takes time and if somebody adds or deletes content you will get an inconsistent backup.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To get around that you need a storage system which is able to create snapshots (which garantees db and filebackup in sync) or you just shut down alfresco during backup.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;heiko&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Aug 2006 06:50:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-full-backup/m-p/24648#M12068</guid>
      <dc:creator>heiko_robert</dc:creator>
      <dc:date>2006-08-04T06:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco full backup ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-full-backup/m-p/24649#M12069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Oh, thanks ! I think so.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Have u built import/export command line tool, there's a BAT script on windows to build the class path. Have you converted it to bash script on Linux ? Converting is not much difficult, but I'm not sure whether it's enough environments on Linux.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Aug 2006 07:28:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-full-backup/m-p/24649#M12069</guid>
      <dc:creator>vpoorboy</dc:creator>
      <dc:date>2006-08-04T07:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco full backup ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-full-backup/m-p/24650#M12070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Thank you ! Will we need to stop the server ?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;As was said, it depends on how complete you need the backup to be.&amp;nbsp; Either you take the system off line and nothing can be added or you have to deal with the possibility that someone added data during the export.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you need to do a hot backup:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In terms of the export capability of alfresco, I dont know how it handles this issue.&amp;nbsp; I suppose it starts a transaction and exports the system in that state.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you backup from primatives,&amp;nbsp; export the database first. This will make sure your pointers all point to valid files.&amp;nbsp; Backup the file store second.&amp;nbsp; If you backup more files then you have pointers to, no biggie.&amp;nbsp; The pointers to those files will get captured on the next backup.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Aug 2006 20:45:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-full-backup/m-p/24650#M12070</guid>
      <dc:creator>rdanner</dc:creator>
      <dc:date>2006-08-06T20:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco full backup ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-full-backup/m-p/24651#M12071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Everyone&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've posted a backup/restore script at: &lt;/SPAN&gt;&lt;A href="http://unrestricted-cms.blogspot.com/" rel="nofollow noopener noreferrer"&gt;http://unrestricted-cms.blogspot.com/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I combined what was said in this post, and also found something interesting.&amp;nbsp; It appears that the alf_data directory and alfresco db instance could be cross platform capable.&amp;nbsp; I was able to sucessfully backup from Linux and restore on Windows.&amp;nbsp; So my question here is will that be suppored :_)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway check it out and if you have comments on the script please let me know it is not final yet and I'm looking to add some hooks to shutdown alfreso, and automating the creation of the database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-D&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2007 03:13:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-full-backup/m-p/24651#M12071</guid>
      <dc:creator>dmusser</dc:creator>
      <dc:date>2007-02-22T03:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco full backup ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-full-backup/m-p/24652#M12072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;thats all you need to do.&lt;BR /&gt;&lt;BR /&gt;e.g.:&lt;BR /&gt;&lt;BR /&gt;export ALF_DATA_BASE=/opt/alfresco&lt;BR /&gt;export ALF_DATA_DIRNAME=alf_data&lt;BR /&gt;export BACKUP_DIR=/backup&lt;BR /&gt;export DB_USERNAME=alfresco&lt;BR /&gt;export DB_PWD=alfresco&lt;BR /&gt;export DB_NAME=alfresco130&lt;BR /&gt;&lt;BR /&gt;cd $ALF_DATA_BASE/$ALF_DATA_DIRNAME&lt;BR /&gt;mysqldump -u$DB_USERNAME -p$DB_PWD $DB_NAME &amp;gt; $DB_NAME.sql&lt;BR /&gt;cd $ALF_DATA_BASE&lt;BR /&gt;tar cvfz $BACKUP_DIR/$ALF_DATA_DIRNAME.tgz $ALF_DATA_DIRNAME&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Heiko&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;What do I need to change, to use this script in co-operation with an Oracle XE, instead of a MySQL database?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe somebody has already done this before?!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Chris&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 12:21:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-full-backup/m-p/24652#M12072</guid>
      <dc:creator>unknown-user</dc:creator>
      <dc:date>2007-06-08T12:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco full backup ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-full-backup/m-p/24653#M12073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Still no news about a backup script with oracle DB instead of MySQL.. ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 14:11:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-full-backup/m-p/24653#M12073</guid>
      <dc:creator>xexiz</dc:creator>
      <dc:date>2007-12-19T14:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco full backup ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-full-backup/m-p/24654#M12074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have a look at Oracle Import/Export Utility @ Google.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 16:41:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-full-backup/m-p/24654#M12074</guid>
      <dc:creator>claudio_martins</dc:creator>
      <dc:date>2007-12-19T16:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco full backup ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-full-backup/m-p/24655#M12075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your script Dmusser! (&lt;/SPAN&gt;&lt;A href="http://unrestricted-cms.blogspot.com/2007_02_01_archive.html" rel="nofollow noopener noreferrer"&gt;http://unrestricted-cms.blogspot.com/2007_02_01_archive.html&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just a question :&lt;/SPAN&gt;&lt;STRONG&gt; A mysqldump is enough to save the database ?&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The document of Mysql advices to stop the service mysql and copy the files and also do a mysqldump.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;1. Shut down the MySQL server and make sure that it stops without errors.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 2. Copy all InnoDB data files (ibdata files and .ibd files) into a safe place.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 3. Copy all the .frm files for InnoDB tables to a safe place.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 4. Copy all InnoDB log files (ib_logfile files) to a safe place.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 5. Copy your my.cnf configuration file or files to a safe place.&lt;BR /&gt;In addition to making binary backups as just described, you should also regularly make dumps of your tables with mysqldump…&lt;BR /&gt;&lt;A href="http://dev.mysql.com/doc/mysql-backup-excerpt/5.1/en/innodb-backup.html" rel="nofollow noopener noreferrer"&gt;http://dev.mysql.com/doc/mysql-backup-excerpt/5.1/en/innodb-backup.html&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2009 14:03:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-full-backup/m-p/24655#M12075</guid>
      <dc:creator>dranakan</dc:creator>
      <dc:date>2009-12-16T14:03:34Z</dc:date>
    </item>
  </channel>
</rss>

