{"action":"opened","issue":{"url":"https://api.github.com/repos/docker-library/postgres/issues/83","labels_url":"https://api.github.com/repos/docker-library/postgres/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/docker-library/postgres/issues/83/comments","events_url":"https://api.github.com/repos/docker-library/postgres/issues/83/events","html_url":"https://github.com/docker-library/postgres/issues/83","id":102894163,"number":83,"title":"Add autopostgresqlbackup package","user":{"login":"ypid","id":1301158,"avatar_url":"https://avatars.githubusercontent.com/u/1301158?v=3","gravatar_id":"","url":"https://api.github.com/users/ypid","html_url":"https://github.com/ypid","followers_url":"https://api.github.com/users/ypid/followers","following_url":"https://api.github.com/users/ypid/following{/other_user}","gists_url":"https://api.github.com/users/ypid/gists{/gist_id}","starred_url":"https://api.github.com/users/ypid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ypid/subscriptions","organizations_url":"https://api.github.com/users/ypid/orgs","repos_url":"https://api.github.com/users/ypid/repos","events_url":"https://api.github.com/users/ypid/events{/privacy}","received_events_url":"https://api.github.com/users/ypid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-24T21:20:24Z","updated_at":"2015-08-24T21:20:24Z","closed_at":null,"body":"Hi\r\n\r\nWhat are your thoughts about including the autopostgresqlbackup package into the image? I just tried to run it (`docker exec -ti db autopostgresqlbackup`) and it works nicely.\r\nNothing should change by including it as autopostgresqlbackup is executed by cron which is not running in the postgres container.\r\n\r\n    root@48e4deef5553:/# dpkg -L autopostgresqlbackup\r\n    /.\r\n    /etc\r\n    /etc/default\r\n    /etc/default/autopostgresqlbackup\r\n    /etc/cron.daily\r\n    /etc/cron.daily/autopostgresqlbackup\r\n    /usr\r\n    /usr/sbin\r\n    /usr/sbin/autopostgresqlbackup\r\n    /usr/share\r\n    /usr/share/doc\r\n    /usr/share/doc/autopostgresqlbackup\r\n    /usr/share/doc/autopostgresqlbackup/copyright\r\n    /usr/share/doc/autopostgresqlbackup/changelog.Debian.gz\r\n    /usr/share/man\r\n    /usr/share/man/man8\r\n    /usr/share/man/man8/autopostgresqlbackup.8.gz\r\n    /var\r\n    /var/lib\r\n    /var/lib/autopostgresqlbackup\r\n\r\nOr are there other best practices for creating SQL dumps as backup?"}}