Finally resolved the issue,
Here are some challenges I faced and resolved.
- slave replication stopped (only the master was handling everything R&W)
- Master server is private and cannot be accessible to the public( master and slave are in private clouds)
- cannot take a dump and restore because the single table was around 300GB (because MySQL stores the tables in /tmp/shm/ before restoring .which in my case was only 80GB)
- master-slave servers don't have an active internet connection .( not able to install any packages.
And here's how I resolved it .
1 . tried adding routes to install packages. ( to install NFS -utils and percona xtrabackup )
only slave got an internet connection. master was still blocked .
installed packages in slave ( installed all packages in master manually around 35 packages )
4 created NFS in slave in / directory and mounted to master
5 performed percona xtrabackup and took backup in mounted folder in master .
6 moved the folder to /var/lib/mysql after backup and started mysql .
working fine.
If your data is changing always and large. Always percona xtrabackup should be your first choice .
Below is the doucument i followed for percona setup
https://www.percona.com/doc/percona-xtrabackup/2.4/backup_scenarios/full_backup.html