Created
March 5, 2011 00:07
-
-
Save jhannah/855947 to your computer and use it in GitHub Desktop.
mylvmbackup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install lvm2 | |
sudo apt-get install mylvmbackup | |
jhannah@li202-203:~/src$ sudo mylvmbackup --socket=/home/cm_satin/mysql-repl/mysql.sock | |
20110304 23:19:14 Info: Connecting to database... | |
20110304 23:19:14 Info: Running hook 'preflush' as perl module. | |
20110304 23:19:14 Info: Flushing tables with read lock... | |
20110304 23:19:14 Info: Taking position record into /tmp/mylvmbackup-backup-20110304_231914_mysql-hfUKiZ.pos... | |
20110304 23:19:14 Info: Running: lvcreate -s --size=5G --name=data_snapshot /dev/mysql/data | |
File descriptor 4 (socket:[113294]) leaked on lvcreate invocation. Parent PID 1669: /usr/bin/perl | |
Volume group "mysql" not found | |
20110304 23:19:14 Error: FAILED: taking LVM snapshot (exit status 5) | |
20110304 23:19:14 Info: Running hook 'logerr' as perl module. | |
20110304 23:19:14 Info: Unlocking tables... | |
20110304 23:19:14 Info: Disconnecting from database... | |
20110304 23:19:14 Info: Cleaning up... | |
No, I think I gave up on using lvmbackup and fell back to scp (stupid, but worked).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Were you able to resolve this?