{"action":"created","issue":{"url":"https://api.github.com/repos/masc3d/btrfs-sxbackup/issues/3","labels_url":"https://api.github.com/repos/masc3d/btrfs-sxbackup/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/masc3d/btrfs-sxbackup/issues/3/comments","events_url":"https://api.github.com/repos/masc3d/btrfs-sxbackup/issues/3/events","html_url":"https://github.com/masc3d/btrfs-sxbackup/issues/3","id":56135562,"number":3,"title":"btrfs receive returned non-zero exit status 1","user":{"login":"dev-zero","id":11307,"avatar_url":"https://avatars.githubusercontent.com/u/11307?v=3","gravatar_id":"","url":"https://api.github.com/users/dev-zero","html_url":"https://github.com/dev-zero","followers_url":"https://api.github.com/users/dev-zero/followers","following_url":"https://api.github.com/users/dev-zero/following{/other_user}","gists_url":"https://api.github.com/users/dev-zero/gists{/gist_id}","starred_url":"https://api.github.com/users/dev-zero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dev-zero/subscriptions","organizations_url":"https://api.github.com/users/dev-zero/orgs","repos_url":"https://api.github.com/users/dev-zero/repos","events_url":"https://api.github.com/users/dev-zero/events{/privacy}","received_events_url":"https://api.github.com/users/dev-zero/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-01-31T19:12:33Z","updated_at":"2015-01-31T20:14:41Z","closed_at":null,"body":"I get the following for every run after the first:\r\n\r\n```\r\n# btrfs-sxbackup --source-container-subvolume .sxbackup ssh://root@myhost.example.com:/home /var/backup/myhost.home\r\nINFO btrfs-sxbackup v0.4.6\r\nINFO Source :: Url [ssh://root@myhost.example.com:/home] snapshot container subvolume [/home/.sxbackup] keep [10]\r\nINFO Destination :: Url [/var/backup/myhost.home] snapshot container subvolume [/var/backup/myhost.home/] keep [10]\r\nINFO Preparing environment\r\nINFO Source :: Retrieving snapshot names\r\nINFO Destination :: Retrieving snapshot names\r\nINFO Source :: Creating snapshot\r\nINFO Transferring snapshot\r\nERROR Command '['bash', '-c', 'btrfs receive /var/backup/myhost.home']' returned non-zero exit status 1\r\nERROR Traceback (most recent call last):\r\n  File \"/usr/lib64/python3.3/site-packages/btrfs_sxbackup/__main__.py\", line 100, in <module>\r\n    backup.run()\r\n  File \"/usr/lib64/python3.3/site-packages/btrfs_sxbackup/Backup.py\", line 436, in run\r\n    raise subprocess.CalledProcessError(receive_returncode, receive_command, None)\r\nsubprocess.CalledProcessError: Command '['bash', '-c', 'btrfs receive /var/backup/myhost.home']' returned non-zero exit status 1\r\n```\r\n\r\nThis is with the following versions:\r\n\r\n* btrfs-sxbackup head 11996a1bcc\r\n* btrfs-progs: 3.18, kernel: 3.18.2 (receiver)\r\n* btrfs-progs: 3.17.3, kernel: 3.17.3 (sender)\r\n* python: 3.4.1\r\n\r\nthe source is a simple subvolume (`/home`), the dest is a subvolume of a subvolume (`/var/backup/myhost.home`, `/var/backup`)"},"comment":{"url":"https://api.github.com/repos/masc3d/btrfs-sxbackup/issues/comments/72334268","html_url":"https://github.com/masc3d/btrfs-sxbackup/issues/3#issuecomment-72334268","issue_url":"https://api.github.com/repos/masc3d/btrfs-sxbackup/issues/3","id":72334268,"user":{"login":"dev-zero","id":11307,"avatar_url":"https://avatars.githubusercontent.com/u/11307?v=3","gravatar_id":"","url":"https://api.github.com/users/dev-zero","html_url":"https://github.com/dev-zero","followers_url":"https://api.github.com/users/dev-zero/followers","following_url":"https://api.github.com/users/dev-zero/following{/other_user}","gists_url":"https://api.github.com/users/dev-zero/gists{/gist_id}","starred_url":"https://api.github.com/users/dev-zero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dev-zero/subscriptions","organizations_url":"https://api.github.com/users/dev-zero/orgs","repos_url":"https://api.github.com/users/dev-zero/repos","events_url":"https://api.github.com/users/dev-zero/events{/privacy}","received_events_url":"https://api.github.com/users/dev-zero/received_events","type":"User","site_admin":false},"created_at":"2015-01-31T20:14:41Z","updated_at":"2015-01-31T20:14:41Z","body":"`mkfs.btrfs` and I didn't change the default subvolume.\r\nPlease note: `/var/backup` is a subvolume in my case. Did you test it with such a scenario?"}}