{"action":"created","issue":{"url":"https://api.github.com/repos/humanmade/backupwordpress/issues/734","labels_url":"https://api.github.com/repos/humanmade/backupwordpress/issues/734/labels{/name}","comments_url":"https://api.github.com/repos/humanmade/backupwordpress/issues/734/comments","events_url":"https://api.github.com/repos/humanmade/backupwordpress/issues/734/events","html_url":"https://github.com/humanmade/backupwordpress/issues/734","id":57466722,"number":734,"title":"Multisite backup backs up the site as many times as there are sites","user":{"login":"pdewouters","id":30460,"avatar_url":"https://avatars.githubusercontent.com/u/30460?v=3","gravatar_id":"","url":"https://api.github.com/users/pdewouters","html_url":"https://github.com/pdewouters","followers_url":"https://api.github.com/users/pdewouters/followers","following_url":"https://api.github.com/users/pdewouters/following{/other_user}","gists_url":"https://api.github.com/users/pdewouters/gists{/gist_id}","starred_url":"https://api.github.com/users/pdewouters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdewouters/subscriptions","organizations_url":"https://api.github.com/users/pdewouters/orgs","repos_url":"https://api.github.com/users/pdewouters/repos","events_url":"https://api.github.com/users/pdewouters/events{/privacy}","received_events_url":"https://api.github.com/users/pdewouters/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/humanmade/backupwordpress/labels/Needs%20confirmation","name":"Needs confirmation","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"pdewouters","id":30460,"avatar_url":"https://avatars.githubusercontent.com/u/30460?v=3","gravatar_id":"","url":"https://api.github.com/users/pdewouters","html_url":"https://github.com/pdewouters","followers_url":"https://api.github.com/users/pdewouters/followers","following_url":"https://api.github.com/users/pdewouters/following{/other_user}","gists_url":"https://api.github.com/users/pdewouters/gists{/gist_id}","starred_url":"https://api.github.com/users/pdewouters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdewouters/subscriptions","organizations_url":"https://api.github.com/users/pdewouters/orgs","repos_url":"https://api.github.com/users/pdewouters/repos","events_url":"https://api.github.com/users/pdewouters/events{/privacy}","received_events_url":"https://api.github.com/users/pdewouters/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-02-12T14:29:28Z","updated_at":"2015-03-04T17:31:33Z","closed_at":null,"body":""},"comment":{"url":"https://api.github.com/repos/humanmade/backupwordpress/issues/comments/77204519","html_url":"https://github.com/humanmade/backupwordpress/issues/734#issuecomment-77204519","issue_url":"https://api.github.com/repos/humanmade/backupwordpress/issues/734","id":77204519,"user":{"login":"willmot","id":308507,"avatar_url":"https://avatars.githubusercontent.com/u/308507?v=3","gravatar_id":"","url":"https://api.github.com/users/willmot","html_url":"https://github.com/willmot","followers_url":"https://api.github.com/users/willmot/followers","following_url":"https://api.github.com/users/willmot/following{/other_user}","gists_url":"https://api.github.com/users/willmot/gists{/gist_id}","starred_url":"https://api.github.com/users/willmot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willmot/subscriptions","organizations_url":"https://api.github.com/users/willmot/orgs","repos_url":"https://api.github.com/users/willmot/repos","events_url":"https://api.github.com/users/willmot/events{/privacy}","received_events_url":"https://api.github.com/users/willmot/received_events","type":"User","site_admin":false},"created_at":"2015-03-04T17:31:33Z","updated_at":"2015-03-04T17:31:33Z","body":"Yeah in the above case the subsite would be included in the backup of the main site. That's not multisite though.\r\n\r\nI think the issue on multisite is that a set of schedules get created for each site and so you end up with a cron job running for each site. We should probably just wrap in an `is_main_site` check and only run on the main site."}}