DataBase Sync
Database Downsync (i.e Prod to Uat)
This category contains codes and approaches for any kind of synchronization.
Check the directories(source-destination)Check the directories(target-destination) First, take a backup of the destionation files with. -zip -r files ‘folder name put date) ‘the folder’s name’ First, take a backup of the source files with.-zip -r files ‘folder name put date) ‘the folder’s name’ Rsync -avc source path /. Space / target path/ Make sure to replace
Code sync if you want code sync Duplicate the target branch Go to repo settings Cancel the protection on the main repo Delete it Go to main branch Ducplicate the main branch as the target branch Bingo – successful code sync