{"issue":{"pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"state":"open","user":{"avatar_url":"https://secure.gravatar.com/avatar/9f06b6fefdb3bcf202cd0f51670be74d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"9f06b6fefdb3bcf202cd0f51670be74d","url":"https://api.github.com/users/joegoggins","login":"joegoggins","id":11918},"milestone":null,"assignee":null,"updated_at":"2011-10-27T15:32:54Z","labels":[],"closed_at":null,"comments":3,"url":"https://api.github.com/repos/meskyanichi/backup/issues/206","body":"This feature does not work, to replicate, see the following.\r\n\r\nWith this config:\r\n\r\n```ruby\r\n$mysql_config = {\r\n  :username => 'bla',\r\n  :password => 'bla',\r\n  :host => 'bla'\r\n}\r\nBackup::Configuration::Database::MySQL.defaults do |db|\r\n  db.username           = $mysql_config[:username]\r\n  db.password           = $mysql_config[:password]\r\n  db.host               = $mysql_config[:host]\r\n#   db.additional_options = ['--quick', '--single-transaction']\r\nend\r\nBackup::Model.new(\"mysql_a\".to_sym, \"Backup for db a\") do\r\n  database MySQL do |db|\r\n    db.name               = 'a'\r\n  end\r\n  store_with SCP do |server|\r\n  end\r\nend\r\nBackup::Model.new(\"mysql_b\".to_sym, \"Backup for db a\") do\r\n  database MySQL do |db|\r\n    db.name               = 'b'\r\n  end\r\n  store_with SCP do |server|\r\n  end\r\nend\r\n```\r\n\r\nand this command:\r\n\r\n    backup perform --triggers=mysql_* -c config.rb\r\n\r\nYou get:\r\n\r\n    uninitialized constant Backup::Database::Base::TRIGGER (NameError)\r\n  \r\nAt:\r\n\r\n    lib/backup/database/base.rb:21:in `prepare!': \r\n\r\n\r\nThis feature was built in reference to:\r\n\r\nhttps://github.com/meskyanichi/backup/pull/137\r\nhttps://github.com/meskyanichi/backup/issues/136\r\n\r\nI also confirmed the issue manifests agains the current head (5e848a873e9bfabbd8195c1fb53311bb9075c822)","html_url":"https://github.com/meskyanichi/backup/issues/206","number":206,"title":"Wildcard triggers do not work","id":2058828,"created_at":"2011-10-26T16:49:58Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/3b520db94a0d08263122648c6755e334?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"3b520db94a0d08263122648c6755e334","url":"https://api.github.com/users/meskyanichi","login":"meskyanichi","id":54708},"updated_at":"2011-10-27T15:32:53Z","url":"https://api.github.com/repos/meskyanichi/backup/issues/comments/2544987","body":"Working on this issue now.","id":2544987,"created_at":"2011-10-27T15:32:53Z"}}