21 Aug
2014
21 Aug
'14
4:52 p.m.
👍
Am 21.08.2014 um 16:51 schrieb Benoit Lambert Benoit.Lambert@ntl.nt.net:
Can I move entire DB to another disk?
Like this? :
- Stop the daemons
- Rename the DB folder "mv /var/lib/mysql /var/lib/mysql-tmp"
- Recreate the folder "mkdir /var/lib/mysql"
- Mount the new disk to the new folder "mount -t ext4 /dev/sdb1 /var/lib/mysql" (put in fstab after)
- Copy the files from the old folder to the new folder (cp mysql-tmp/* mysql/)
- Restart the daemons.
And voila???
Thanks,
Benoit _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium