In regards to:
Remounting MySQL under a new mount point
What would be the best way to backup MySQL data before moving the mount point? Can this be done with MySQL running? Would a simple rsync off to another server work?
In regards to:
Remounting MySQL under a new mount point
What would be the best way to backup MySQL data before moving the mount point? Can this be done with MySQL running? Would a simple rsync off to another server work?
/etc/init.d/mysql stop
tar czf /var/backups/mysql-2012-10-25.tar.gz /var/lib/mysql
Percona XtraBackup can be used to take online hot (non-blocking) backups of your database.
You can also backup your mysql database directory using rsync just add -a option in your command to preserve owner & permission.
rsync -arvz source destination.