Gracias Douglas.
Saludos Cordiales.
Hola Cristina,
scusami non parlo Spagnolo, girando sulla community ho notato che sei la più esperta su Alfresco Burt,
ho un installazione di Alfresco 5 su DB PostgreSQL - Linux Centos, vorrei usare Burt per fare il backup,
ho seguito la guida su Comunità Venzia,
ho trovato i file gpg dentro le cartelle: mnt/backup/solr4/config e mnt/backup/solr4/buckup
ma ho 3 problemi:
1 - se lancio il comando:
alfresco-bart.sh verify cs
=========================== BACKUP VERIFICATION FOR CONTENTSTORE ===============
Traceback (most recent call last):
File "/usr/bin/duplicity", line 1540, in <module>
with_tempdir(main)
File "/usr/bin/duplicity", line 1534, in with_tempdir
fn()
File "/usr/bin/duplicity", line 1385, in main
do_backup(action)
File "/usr/bin/duplicity", line 1464, in do_backup
verify(col_stats)
File "/usr/bin/duplicity", line 862, in verify
collated = diffdir.collate2iters(restore_get_patched_rop_iter(col_stats),
File "/usr/bin/duplicity", line 750, in restore_get_patched_rop_iter
backup_chain = col_stats.get_backup_chain_at_time(time)
File "/usr/lib64/python2.7/site-packages/duplicity/collections.py", line 971, in get_backup_chain_at_time
raise CollectionsError("No backup chains found")
CollectionsError: No backup chains found
2 - quando provo a fare il restore single file mi dice:
ONLY MYSQL IS SUPPORTED FOR SINGLE FILE RECOVERY YET. WAIT FOR NEXT VERSION
3 - se lancio il comando:./alfresco-bart.sh collection
./alfresco-bart.sh: line 746: : command not found
Alfresco-burt.sh
746 - $DUPLICITYBIN collection-status -v0 ${NOENCFLAG} --log-file=${ALFBRT_LOG_FILE} $DEST/$INDEXTYPE/backup; \
745 - if [ ${INDEXTYPE} == 'solr4' ]; then
The error you are facing with got fixed yesterday, as you can see here Extra backslash at line 745? · Issue #28 · toniblyx/alfresco-backup-and-recovery-tool · GitHub
./alfresco-bart.sh: line 746: : command not found
Please, download the new BART version and try again.
Aggiornamento fatto,
tutto OK
Grazie Douglas
Hi nat macri .
Inside the tutorial, please find the sentence "To deploy BART in our server, please follow these two steps:" There you'll find how to install the very last version on your local.
Let me know if you'll need further assistance.
Cris.
PS: Thanks Douglas C. R. Paes to reply him ;-)
Ciao Cristina,
ho scaricato ultima versione di Alfresco Burt,
ho seguito il tutorial: To deploy BART in our server, please follow these two steps:
rimane questo problema:
1 - se lancio il comando:
alfresco-bart.sh verify cs
=========================== BACKUP VERIFICATION FOR CONTENTSTORE ===============
Traceback (most recent call last):
File "/usr/bin/duplicity", line 1540, in <module>
with_tempdir(main)
File "/usr/bin/duplicity", line 1534, in with_tempdir
fn()
File "/usr/bin/duplicity", line 1385, in main
do_backup(action)
File "/usr/bin/duplicity", line 1464, in do_backup
verify(col_stats)
File "/usr/bin/duplicity", line 862, in verify
collated = diffdir.collate2iters(restore_get_patched_rop_iter(col_stats),
File "/usr/bin/duplicity", line 750, in restore_get_patched_rop_iter
backup_chain = col_stats.get_backup_chain_at_time(time)
File "/usr/lib64/python2.7/site-packages/duplicity/collections.py", line 971, in get_backup_chain_at_time
raise CollectionsError("No backup chains found")
CollectionsError: No backup chains found
I had a similar error and, in my case, the error was produced because the backup was not able to completed successfully (at certain moment, I had no enough space on my hard disk).
My suggestion to solve it:
- Be sure you have enough space on your hard disk (just to be save before start).
- Delete the content on your CS folder
- Try to launch a CS Backup
- Try again the command
Let us know the result.
Cris.
Ciao Cristina,
scusa se approfitto ancora del tuo tempo,
ho settato Cron: * 16 * * * root /opt/alfresco/scripts/alfresco-bart.sh backup > /dev/null 2>&1
il Bkp è partito correttamente alle 16
successivamente lanciando il comando: ./alfresco-bart.sh verify cs
=========================== BACKUP VERIFICATION FOR CONTENTSTORE ==========================
DONE!
Tutto sembra OK.
volevo simulare il restore di un file:
Choose a restore option:
1) Full restore
2) Set restore
3) Restore a single file of your Alfresco repository
4) Restore alfresco-global.properties from a given date
5) Restore other configuration file or directory
Enter an option [1|2|3|4|5] or CTRL+c to exit: 3
mi da il seguente messaggio:
./alfresco-bart.sh: line 605: /usr/bin/mysql: File o directory non esistente
./alfresco-bart.sh: line 611: /usr/bin/mysql: File o directory non esistente
DOMANDE
- il mio DB e PostgreSQL, forse il settaggio 3 funziona solo con mysql?
- visto che non funziona la prova con l'eliminazione di un solo file (3) e non posso resettare totalmente alfresco, come faccio a capire che il BKP è andato a buon fine?
Grazie
NAT
>> - il mio DB e PostgreSQL, forse il settaggio 3 funziona solo con mysql?
No. You can configure with Postgresql (or others) without problem. Go again in the tutorial and find the section "6. Database configuration properties (remember, in my case will be configured for postgresql)" and you have there and example about how to configure with postgresql :-)
>> - visto che non funziona la prova con l'eliminazione di un solo file (3) e non posso resettare totalmente alfresco, come faccio a capire che il BKP è andato a buon fine?
Try to start up your Alfresco instance and check if that file is already deleted. As far as I know is the only way to really "check" if everything is fine. Right, ?
Let me know your progress.
Cris.
ho seguito i tuoi consigli,
questo è il messaggioi
ONLY MYSQL IS SUPPORTED FOR SINGLE FILE RECOVERY YET. WAIT FOR NEXT VERSION
Discussions about Alfresco Content Services and Alfresco Process Services in Spanish
Related:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.