{"action":"closed","issue":{"url":"https://api.github.com/repos/Kloadut/dokku-md-plugin/issues/21","labels_url":"https://api.github.com/repos/Kloadut/dokku-md-plugin/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/Kloadut/dokku-md-plugin/issues/21/comments","events_url":"https://api.github.com/repos/Kloadut/dokku-md-plugin/issues/21/events","html_url":"https://github.com/Kloadut/dokku-md-plugin/issues/21","id":31638109,"number":21,"title":"Copying Databases - feature request","user":{"login":"crisward","id":3109157,"avatar_url":"https://avatars.githubusercontent.com/u/3109157?v=3","gravatar_id":"","url":"https://api.github.com/users/crisward","html_url":"https://github.com/crisward","followers_url":"https://api.github.com/users/crisward/followers","following_url":"https://api.github.com/users/crisward/following{/other_user}","gists_url":"https://api.github.com/users/crisward/gists{/gist_id}","starred_url":"https://api.github.com/users/crisward/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crisward/subscriptions","organizations_url":"https://api.github.com/users/crisward/orgs","repos_url":"https://api.github.com/users/crisward/repos","events_url":"https://api.github.com/users/crisward/events{/privacy}","received_events_url":"https://api.github.com/users/crisward/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-04-16T12:45:00Z","updated_at":"2015-01-08T09:09:02Z","closed_at":"2015-01-08T09:09:02Z","body":"When moving databases from server to server I like to pipe them over ssh i.e.\r\n\r\n    ssh -C {ssh.user}@{remote_host} mysqldump -u {remote_dbuser} --password={remote_dbpassword} {remote_dbname} | mysql -u {local_dbuser} --password={local_dbpassword} -D {local_dbname}\r\n\r\nIt would be really cool if I could pipe from the mariadb command - i.e.\r\n\r\n    ssh -C dokku@SERVER1 mariadb:dump db1 | ssh -C dokku@SERVER2 mariadb:console db1 \r\n\r\n"}}