Presentation is loading. Please wait.

Presentation is loading. Please wait.

@toniblyx at #SummitNow Alfresco Backup and Recovery Tool: a real world backup solution November 2013 Toni de la Fuente – Alfresco Senior Solutions Engineer.

Similar presentations


Presentation on theme: "@toniblyx at #SummitNow Alfresco Backup and Recovery Tool: a real world backup solution November 2013 Toni de la Fuente – Alfresco Senior Solutions Engineer."— Presentation transcript:

1 @toniblyx at #SummitNow Alfresco Backup and Recovery Tool: a real world backup solution November 2013 Toni de la Fuente – Alfresco Senior Solutions Engineer toni.delafuente@alfresco.com blyx.com - @toniblyx

2 @toniblyx at #SummitNow Who I am? @toniblyx Alfresco Senior Solutions Engineer, Americas Working with Alfresco for 6 years 3.5 years as part of the team Former Consultant & Security Auditor: ethical hacking, penetration tests. And writing at blyx.com since 2002blyx.com

3 @toniblyx at #SummitNow Agenda Foundation Concepts Alfresco Backup Overview Backup and Restore Alfresco with Alfresco BART

4 @toniblyx at #SummitNow White Paper Status: Draft On review

5 @toniblyx at #SummitNow Backup and Disaster Recovery Backup, Archiving, Disaster Recovery Why? Business impact RPO and RTO

6 @toniblyx at #SummitNow Backup and Disaster Recovery Methods Full, incremental, differential Techniques Cold, warm, hot Window, rotation, destination

7 @toniblyx at #SummitNow Geo Disaster Recovery DR Primary Backup Disaster Recovery preparedness: Daily content backups Backup servers on standby (active/passive) Regular backup and restore testing

8 @toniblyx at #SummitNow Backup Procedure and Methods What? Static Dynamic Order + Install + Config + Custom Cold Warm Hot

9 @toniblyx at #SummitNow Alfresco Backup Overview Components Scheduled jobs Other scheduled jobs to consider Physical Storage Relational Database File System Lucene or SOLR Installation, Config and logs files system.content.orphanCleanup.cronExpression=0 0 4 * * ? system.content.orphanProtectDays=14 system.content.eagerOrphanCleanup=false

10 @toniblyx at #SummitNow Restore Procedure - User Trashcan

11 @toniblyx at #SummitNow Restore Procedure – Sys Admin 1.Installation 2.Configuration 3.Customization 4.DB 5.Content Store 6.Indexes

12 @toniblyx at #SummitNow Disaster Recovery DR Active - Active Active - Passive

13 @toniblyx at #SummitNow Alfresco BART Description Features Concepts Installation Usage Disaster Recovery Demo TODO

14 @toniblyx at #SummitNow Alfresco BART - Description Alfresco Backups and Recovery Tool written in shell script on top of Duplicity (Linux servers). Local file system, FTP, SCP or Amazon S3. Indexes, data base, content store and deployment and configuration files. v0.2 at http://blyx.com/alfresco-barthttp://blyx.com/alfresco-bart

15 @toniblyx at #SummitNow mysqldump Oracle imp/exp pg_dump Backup Policies Indexes: Lucene / Solr Recovery commands & wizard Full / Incremental Backup Major DBs Supported S3, FTP, SCP, Local Custom Tape Volume Size Single File Recovery Geo Desaster Recovery Encryption Bash + properties Compress GnuPG librsync NcFTP Content Store Selector Aware Cluster Aware Log Reporting Alfresco BART - Features Duplicity Python Fabric Boto Pip

16 @toniblyx at #SummitNow Alfresco BART - Concepts Full, incremental Backup sets all index (backup & config) db Cs files Dates now, s, m, h, D, W, M or Y YYYY/MM/DD, YYYY-MM-DD, MM/DD/YYYY, or MM-DD-YYYY

17 @toniblyx at #SummitNow Alfresco BART - Installation Dependences python + duplicity + DB dump/export Create PGP key Copy files to Alfresco “scripts” dir Configure alfresco-bart.properties Add to crontab* "0 5 * * * /path/to/alfresco-bart.sh backup"

18 @toniblyx at #SummitNow Alfresco BART - Usage Modes of work: Backup: runs an incremental backup or a full if first time Restore: runs the restore, wizard if no arguments Verify: verifies the latest backup with current files Collection: shows all the backup sets in the archive sorted by date and type (full or inc) List:lists the files currently backed up in the archive

19 @toniblyx at #SummitNow Alfresco BART – Disaster Recovery Procedure 1.*Backup destination must be remote 2.Install and configure Alfresco BART as the source. 3.Copy the directory ~/.gnupg from de original server to the new one (if gpg encryption is used). 4.Run the recovery wizard or command as usual. 5.Enjoy restoring your disaster recovery environment.

20 @toniblyx at #SummitNow Demo – Let’s Rock & Roll \m/

21 @toniblyx at #SummitNow Alfresco BART - TODO Documentation Validators Postgresql and Oracle single repo file recovery Admin panel configuration Suggestions?

22 @toniblyx at #SummitNow #SummitNow FAQ Windows Support? Really large repositories? Alfresco versions supported

23 @toniblyx at #SummitNow #SummitNow Any questions?

24 @toniblyx at #SummitNow Conclusions Backup thing my not be the most amazing task but… it always could be worse!!

25 @toniblyx at #SummitNow if [ $you = applause ]; then echo “THANKS!”; fi Toni de la Fuente Alfresco Senior Solutions Engineer Blog: blyx.com Twitter: @ToniBlyx

26 @toniblyx at #SummitNow


Download ppt "@toniblyx at #SummitNow Alfresco Backup and Recovery Tool: a real world backup solution November 2013 Toni de la Fuente – Alfresco Senior Solutions Engineer."

Similar presentations


Ads by Google