====== option 1 clone image ====== we have two option to backup production data 1) option is clone image of existing working machine when ever existing machine crash or data loss . we have to spin up new machine from clone image and then only can take required lost data's ====== option 2 rsync ====== {{:dimension_data_backup_upgrade.png|}} 2) we have to build a new machine inside dimension data 500G + reason why we need to create new machine If existing machine we touch large amount of data for backup like example 200G of data was shared by gluster if we accessing 200G for zip and daily basis backup . it will slow down existing production server performance ====== when we do rsync ====== a) first time only will sync entire 200G data to the backup machine after that daily will take only incremental files to the backup machine . It will be reduced the load 95% in gluster b) from the backup server will zip date stamp backup ===== proddb-slav01 data size ===== [root@proddb-slav01 ~]# du -sh /data00/sheets 1.5G /data00/sheets [root@proddb-slav01 ~]# du -sh /data00/site_backgrounds 33M /data00/site_backgrounds [root@proddb-slav01 ~]# du -sh /data00/styles 2.7M /data00/styles [root@proddb-slav01 ~]# du -sh /data00/assets 234G /data00/assets [root@proddb-slav01 ~]# du -sh /data00/images 1.2G /data00/images [root@proddb-slav01 ~]# du -sh /data00/site_logos 15M /data00/site_logos [root@proddb-slav01 ~]# du -sh /data00/templates 448M /data00/templates [root@proddb-slav01 ~]# du -sh /data00/sharedpub 24G /data00/sharedpub #solr index [root@proddb-slav01 solr]# du -sh /opt/solr/data/ 38M /opt/solr/data/ Total size now = 260 G ==== prodcollab data size ==== root@prodcollab01:~# du -sh /opt/streams 59G /opt/streams Total size now = 59 G ==== prodapp03 backup size ==== [root@prodapp03 releases]# du -sh 20170403044103 107M 20170403044103 [expprodl@prodapp03 config]$ du -sh /deploy/crossbow/shared/config 112K /deploy/crossbow/shared/config [expprodl@prodapp03 ~]$ du -sh /home/expprodl/ 59M /home/expprodl/ Total size now = 168M ==== prodapp04 backup size ==== [root@prodapp04 releases]# du -sh 20170403044103 107M 20170403044103 [expprodl@prodapp04 ~]$ du -sh /deploy/crossbow/shared/config 116K /deploy/crossbow/shared/config [expprodl@prodapp04 ~]$ du -sh /home/expprodl/ 296M /home/expprodl/ Total size now = 404M ==== proddb-slav01 DB backup size ==== [expprodl@proddb-slav01 backups]$ du -sh cbprod_new_201708010105.sql.gz 307M cbprod_new_201708010105.sql.gz Total size now = 307M === overall backup size roughly around 330G ===