{"action":"created","issue":{"url":"https://api.github.com/repos/hgourvest/node-firebird/issues/96","repository_url":"https://api.github.com/repos/hgourvest/node-firebird","labels_url":"https://api.github.com/repos/hgourvest/node-firebird/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/hgourvest/node-firebird/issues/96/comments","events_url":"https://api.github.com/repos/hgourvest/node-firebird/issues/96/events","html_url":"https://github.com/hgourvest/node-firebird/issues/96","id":156831389,"number":96,"title":"TypeError: svc.backup is not a function","user":{"login":"VZiemer","id":12877383,"avatar_url":"https://avatars.githubusercontent.com/u/12877383?v=3","gravatar_id":"","url":"https://api.github.com/users/VZiemer","html_url":"https://github.com/VZiemer","followers_url":"https://api.github.com/users/VZiemer/followers","following_url":"https://api.github.com/users/VZiemer/following{/other_user}","gists_url":"https://api.github.com/users/VZiemer/gists{/gist_id}","starred_url":"https://api.github.com/users/VZiemer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VZiemer/subscriptions","organizations_url":"https://api.github.com/users/VZiemer/orgs","repos_url":"https://api.github.com/users/VZiemer/repos","events_url":"https://api.github.com/users/VZiemer/events{/privacy}","received_events_url":"https://api.github.com/users/VZiemer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-25T19:30:55Z","updated_at":"2016-05-30T14:26:12Z","closed_at":null,"body":"  Firebird.attach(options, function(err, svc) {\r\n      if (err)\r\n          return;\r\n      svc.backup(\r\n          {\r\n              database:'test.fdb',\r\n              files: [\r\n                      {\r\n                       filename:'test.fbk',\r\n                       sizefile:'0'\r\n                      }\r\n                     ]\r\n          },\r\n          function(err, data) {\r\n              console.log(data);\r\n          });\r\n    });\r\n\r\nwhen I use the example this error occurs:\r\n\r\nApplication has thrown an uncaught exception and is terminated:\r\nTypeError: svc.backup is not a function\r\nnode-firebird version 0.7.2.\r\n\r\nwhich the parameter should I pass the svc?\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/hgourvest/node-firebird/issues/comments/222503731","html_url":"https://github.com/hgourvest/node-firebird/issues/96#issuecomment-222503731","issue_url":"https://api.github.com/repos/hgourvest/node-firebird/issues/96","id":222503731,"user":{"login":"igarcez","id":6891905,"avatar_url":"https://avatars.githubusercontent.com/u/6891905?v=3","gravatar_id":"","url":"https://api.github.com/users/igarcez","html_url":"https://github.com/igarcez","followers_url":"https://api.github.com/users/igarcez/followers","following_url":"https://api.github.com/users/igarcez/following{/other_user}","gists_url":"https://api.github.com/users/igarcez/gists{/gist_id}","starred_url":"https://api.github.com/users/igarcez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igarcez/subscriptions","organizations_url":"https://api.github.com/users/igarcez/orgs","repos_url":"https://api.github.com/users/igarcez/repos","events_url":"https://api.github.com/users/igarcez/events{/privacy}","received_events_url":"https://api.github.com/users/igarcez/received_events","type":"User","site_admin":false},"created_at":"2016-05-30T14:26:12Z","updated_at":"2016-05-30T14:26:12Z","body":"try to add to the attach options manager = true"}}
{"actor":{"display_login":"igarcez"}}