toniblyx / alfresco-backup-and-recovery-tool

Alfresco BART is a tool written in shell script on top of Duplicity to do Alfresco backups and restore from a local file system, FTP, SCP or Amazon S3.
Apache License 2.0
96 stars 48 forks source link

Alfresco 5.0.a #9

Closed fohnbit closed 9 years ago

fohnbit commented 10 years ago

Hello!

Is it posible to use it with Community edition 5.0.a? I get the error: alfresco-bart.sh: 112: alfresco-bart.sh: function: not found alfresco-bart.sh: 118: [: solr: unexpected operator alfresco-bart.sh: 123: alfresco-bart.sh: Syntax error: "}" unexpected

Thank you!

toniblyx commented 9 years ago

Hi, it seems you have it misconfigured. Can you give me more information on your installation and environment?

aingham commented 9 years ago

Hi Toni,

From your question back to fohnbit, does this indicate that you'd expect the tool to work with Alfresco 5.0 community? We're currently looking at options for migrating a repository from 4.2 to a new 5.0 installation.

Many thanks for any help on this,

Andy

toniblyx commented 9 years ago

It works in 5.0 either Enterprise (One) or Community. The problem with fohnbit seems to be a config issue.

toniblyx commented 9 years ago

Hi aingham, this tool is not a migration tool, just a backup and recovery tool. What you need is not a migration but an upgrade. Or what do you really want to do with it (procedure)?

aingham commented 9 years ago

Hi Toni - Many thanks for getting back on this. We basically have a 4.2 alfresco community site and we're trying to get the repository off there and into a new 5.0 installation.

This project: https://github.com/atolcd/alfresco-share-import-export ....worked really well in doing the export and import, but the only problem was that the 'categories' didn't go across.

I then tried project: https://github.com/wabson/share-import-export ...which worked ok doing an export from 4.2, purging the site and then re-importing it, and the categories were included in this (it uses a json file to supplement the acp). However, when trying to import into 5.0 I'm hitting errors.

toniblyx commented 9 years ago

Not sure if this would be a bug in the share-import-export tool but you can ask to Will. In this case Alfresco-BART is not for migrations or upgrades but for backup before doing them for security and prevention.