cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco full backup and incremental backup

rock_tu
Champ on-the-rise
Champ on-the-rise
Hello All
I faced a vital problem,the problem about alfresco database,solr,file system,backup,I download a script,but during the backup,it's look like failed always,the error occur line 53 and line 55, the script in the incremental_backup file,Any one faces the some problem?Any one can give me a good idea?thank you very much!
What's more,I found that the full backup always fail,Some one know why?Any one can give me a good solution?thank you in advances!
7 REPLIES 7

marsbard
Champ in-the-making
Champ in-the-making
looks like the curl call is failing for some reason. You should post your error message.

Alternatively, there is a tool called BART which is gaining acceptance for backup and restore of Alfresco: https://addons.alfresco.com/addons/alfresco-bart-backup-and-recovery-tool

rock_tu
Champ on-the-rise
Champ on-the-rise
At first,thank you for your idea,I have done that you give me a method called BART,I have install the all requirements,but when I run the scripts,it's appear error,the error as following:,
ImportError: No module named lockfile
Traceback (most recent call last):
  File "/opt/duplicity/bin/duplicity", line 34, in <module>
    from lockfile import FileLock
ImportError: No module named lockfile
Traceback (most recent call last):
  File "/opt/duplicity/bin/duplicity", line 34, in <module>
    from lockfile import FileLock
ImportError: No module named lockfile
Traceback (most recent call last):
  File "/opt/duplicity/bin/duplicity", line 34, in <module>
    from lockfile import FileLock
ImportError: No module named lockfile
Traceback (most recent call last):
  File "/opt/duplicity/bin/duplicity", line 34, in <module>
    from lockfile import FileLock
ImportError: No module named lockfile
Traceback (most recent call last):
  File "/opt/duplicity/bin/duplicity", line 34, in <module>
    from lockfile import FileLock
ImportError: No module named lockfile
Traceback (most recent call last):
  File "/opt/duplicity/bin/duplicity", line 34, in <module>
    from lockfile import FileLock
ImportError: No module named lockfile
Traceback (most recent call last):
  File "/opt/duplicity/bin/duplicity", line 34, in <module>
    from lockfile import FileLock
ImportError: No module named lockfile
Traceback (most recent call last):
  File "/opt/duplicity/bin/duplicity", line 34, in <module>
    from lockfile import FileLock
ImportError: No module named lockfile
Do you faced the error,when your backup the alfresco,could you give me a good idea?thank you very much
what's more,the version of Python is 3.3.5,thanks again!

rock_tu
Champ on-the-rise
Champ on-the-rise
Hello marsbard
At first,thank you very much for your opinion,I have done that you give me a idea,called BART,But when I run the scripts,it occurs some error,the error as following:
Traceback (most recent call last):
  File "/opt/duplicity/bin/duplicity", line 34, in <module>
    from lockfile import FileLock
ImportError: No module named lockfile
Traceback (most recent call last):
  File "/opt/duplicity/bin/duplicity", line 34, in <module>
    from lockfile import FileLock
ImportError: No module named lockfile
Traceback (most recent call last):
  File "/opt/duplicity/bin/duplicity", line 34, in <module>
    from lockfile import FileLock
ImportError: No module named lockfile
Traceback (most recent call last):
  File "/opt/duplicity/bin/duplicity", line 34, in <module>
    from lockfile import FileLock
ImportError: No module named lockfile
Traceback (most recent call last):
  File "/opt/duplicity/bin/duplicity", line 34, in <module>
    from lockfile import FileLock
ImportError: No module named lockfile
Traceback (most recent call last):
  File "/opt/duplicity/bin/duplicity", line 34, in <module>
    from lockfile import FileLock
ImportError: No module named lockfile
Traceback (most recent call last):
  File "/opt/duplicity/bin/duplicity", line 34, in <module>
    from lockfile import FileLock
ImportError: No module named lockfile
Traceback (most recent call last):
  File "/opt/duplicity/bin/duplicity", line 34, in <module>
    from lockfile import FileLock
ImportError: No module named lockfile
Traceback (most recent call last):
  File "/opt/duplicity/bin/duplicity", line 34, in <module>
    from lockfile import FileLock
ImportError: No module named lockfile
Traceback (most recent call last):
  File "/opt/duplicity/bin/duplicity", line 34, in <module>
    from lockfile import FileLock
ImportError: No module named lockfile
Traceback (most recent call last):
  File "/opt/duplicity/bin/duplicity", line 34, in <module>
    from lockfile import FileLock
ImportError: No module named lockfile

Do you has been faced the problem ?the version of Python is 3.3.5,I have try done it for Python version 3.4,but is has some error,Could you tell me why?could you give me a good idea?thank you again!!

rock_tu
Champ on-the-rise
Champ on-the-rise
Hello marsbard
At first thank you for your opinion,I have done that you give me a idea called BART,But when I run the scripts,it appears some error,the error as following:
Traceback (most recent call last):
  File "/opt/duplicity/bin/duplicity", line 34, in <module>
    from lockfile import FileLock
ImportError: No module named lockfile
Traceback (most recent call last):
  File "/opt/duplicity/bin/duplicity", line 34, in <module>
    from lockfile import FileLock
ImportError: No module named lockfile
Traceback (most recent call last):
  File "/opt/duplicity/bin/duplicity", line 34, in <module>
    from lockfile import FileLock
ImportError: No module named lockfile
Traceback (most recent call last):
  File "/opt/duplicity/bin/duplicity", line 34, in <module>
    from lockfile import FileLock
ImportError: No module named lockfile
Traceback (most recent call last):
  File "/opt/duplicity/bin/duplicity", line 34, in <module>
    from lockfile import FileLock
ImportError: No module named lockfile
Traceback (most recent call last):
  File "/opt/duplicity/bin/duplicity", line 34, in <module>
    from lockfile import FileLock
ImportError: No module named lockfile
Traceback (most recent call last):
  File "/opt/duplicity/bin/duplicity", line 34, in <module>
    from lockfile import FileLock
ImportError: No module named lockfile
Traceback (most recent call last):
  File "/opt/duplicity/bin/duplicity", line 34, in <module>
    from lockfile import FileLock
ImportError: No module named lockfile
Traceback (most recent call last):
  File "/opt/duplicity/bin/duplicity", line 34, in <module>
    from lockfile import FileLock
ImportError: No module named lockfile
Traceback (most recent call last):
  File "/opt/duplicity/bin/duplicity", line 34, in <module>
    from lockfile import FileLock
ImportError: No module named lockfile
Traceback (most recent call last):
  File "/opt/duplicity/bin/duplicity", line 34, in <module>
    from lockfile import FileLock
ImportError: No module named lockfile
I have confused for a long time,do you faced the error yet?could you give me a idea?thank you again,the version of Python is 3.3.5

rock_tu
Champ on-the-rise
Champ on-the-rise
Hello marsbard
At first,thenk you for your idea,I have done that called BART,But when I running the script ./alfresco-bart.sh backup,I found some error,the error as following:
Traceback (most recent call last):
  File "/opt/duplicity/bin/duplicity", line 34, in <module>
    from lockfile import FileLock
ImportError: No module named lockfile
Traceback (most recent call last):
  File "/opt/duplicity/bin/duplicity", line 34, in <module>
    from lockfile import FileLock
ImportError: No module named lockfile
Traceback (most recent call last):
  File "/opt/duplicity/bin/duplicity", line 34, in <module>
    from lockfile import FileLock
ImportError: No module named lockfile
Traceback (most recent call last):
  File "/opt/duplicity/bin/duplicity", line 34, in <module>
    from lockfile import FileLock
ImportError: No module named lockfile
Traceback (most recent call last):
  File "/opt/duplicity/bin/duplicity", line 34, in <module>
    from lockfile import FileLock
ImportError: No module named lockfile
Traceback (most recent call last):
  File "/opt/duplicity/bin/duplicity", line 34, in <module>
    from lockfile import FileLock
ImportError: No module named lockfile
Traceback (most recent call last):
  File "/opt/duplicity/bin/duplicity", line 34, in <module>
    from lockfile import FileLock
ImportError: No module named lockfile
Traceback (most recent call last):
  File "/opt/duplicity/bin/duplicity", line 34, in <module>
    from lockfile import FileLock
ImportError: No module named lockfile
Traceback (most recent call last):
  File "/opt/duplicity/bin/duplicity", line 34, in <module>
    from lockfile import FileLock
ImportError: No module named lockfile
Traceback (most recent call last):
  File "/opt/duplicity/bin/duplicity", line 34, in <module>
    from lockfile import FileLock
ImportError: No module named lockfile
Traceback (most recent call last):
  File "/opt/duplicity/bin/duplicity", line 34, in <module>
    from lockfile import FileLock
ImportError: No module named lockfile

Do you have ever faced the some problem?,Could you give me a idea,thanks a lot!

rock_tu
Champ on-the-rise
Champ on-the-rise
Hello marsbard
You are right,the curl call is fuiling,the error message as following
./alfresco_incremental_backup.sh -i
sending incremental file list
2014-05-29/

sent 46 bytes received 16 bytes 124.00 bytes/sec
total size is 0 speedup is 0.00
curl: (58) Unable to load client cert -8018.
curl: (58) Unable to load client cert -8018.
Do you know why?could you give me a solution?thanks a lot!

rock_tu
Champ on-the-rise
Champ on-the-rise
Hello marsbard
You are right,the curl call is fuiling,the error message as following
./alfresco_incremental_backup.sh -i
sending incremental file list
2014-05-29/

sent 46 bytes  received 16 bytes  124.00 bytes/sec
total size is 0  speedup is 0.00
curl: (58) Unable to load client cert -8018.
curl: (58) Unable to load client cert -8018.
Do you know why?could you give me a solution?thanks a lot!