{"action":"created","issue":{"url":"https://api.github.com/repos/digint/btrbk/issues/243","repository_url":"https://api.github.com/repos/digint/btrbk","labels_url":"https://api.github.com/repos/digint/btrbk/issues/243/labels{/name}","comments_url":"https://api.github.com/repos/digint/btrbk/issues/243/comments","events_url":"https://api.github.com/repos/digint/btrbk/issues/243/events","html_url":"https://github.com/digint/btrbk/issues/243","id":341458563,"node_id":"MDU6SXNzdWUzNDE0NTg1NjM=","number":243,"title":"btrbk + samba shadow_copy2 + windows clients","user":{"login":"KlausWichtig","id":41288456,"node_id":"MDQ6VXNlcjQxMjg4NDU2","avatar_url":"https://avatars3.githubusercontent.com/u/41288456?v=4","gravatar_id":"","url":"https://api.github.com/users/KlausWichtig","html_url":"https://github.com/KlausWichtig","followers_url":"https://api.github.com/users/KlausWichtig/followers","following_url":"https://api.github.com/users/KlausWichtig/following{/other_user}","gists_url":"https://api.github.com/users/KlausWichtig/gists{/gist_id}","starred_url":"https://api.github.com/users/KlausWichtig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KlausWichtig/subscriptions","organizations_url":"https://api.github.com/users/KlausWichtig/orgs","repos_url":"https://api.github.com/users/KlausWichtig/repos","events_url":"https://api.github.com/users/KlausWichtig/events{/privacy}","received_events_url":"https://api.github.com/users/KlausWichtig/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-07-16T10:07:32Z","updated_at":"2018-08-01T11:32:57Z","closed_at":null,"author_association":"NONE","body":"Hello together,\r\n\r\nI just startet a project containing a samba server on a btrfs filesystem. Because of the windows-users the server must be a shadow-copy system supported by Windows. The btrbk script is working fine and creates snapshots and backups, but the Windows clients can't see the shadow-copies.\r\n\r\nCurrent configuration:\r\nsubvolume in /samba/dateiserver/filespace - with the data for samba\r\nsubvolume in /samba/dateiserver/snapshots  - with the snapshots\r\n\r\nin btrbk.conf I am using:\r\ntimestamp_format long-iso\r\n\r\nbtrbk is saving the snapshots in the directory in the following format (e.g.):\r\nfilespace.20180710T090515+0200\r\n\r\nI tried the Help from another Issue in smb.conf:\r\nvfs objects=shadow_copy2\r\nshadow:snapdir=/samba/dateiserver/snapshots\r\nshadow:format=filespace.%Y%m%dT%H%M%S%z\r\n\r\nbut I can't see any shadow copies with Windows clients.\r\n\r\nI would be very happy about any help.\r\nThanks a lot\r\nKlaus"},"comment":{"url":"https://api.github.com/repos/digint/btrbk/issues/comments/409544582","html_url":"https://github.com/digint/btrbk/issues/243#issuecomment-409544582","issue_url":"https://api.github.com/repos/digint/btrbk/issues/243","id":409544582,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTU0NDU4Mg==","user":{"login":"KlausWichtig","id":41288456,"node_id":"MDQ6VXNlcjQxMjg4NDU2","avatar_url":"https://avatars3.githubusercontent.com/u/41288456?v=4","gravatar_id":"","url":"https://api.github.com/users/KlausWichtig","html_url":"https://github.com/KlausWichtig","followers_url":"https://api.github.com/users/KlausWichtig/followers","following_url":"https://api.github.com/users/KlausWichtig/following{/other_user}","gists_url":"https://api.github.com/users/KlausWichtig/gists{/gist_id}","starred_url":"https://api.github.com/users/KlausWichtig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KlausWichtig/subscriptions","organizations_url":"https://api.github.com/users/KlausWichtig/orgs","repos_url":"https://api.github.com/users/KlausWichtig/repos","events_url":"https://api.github.com/users/KlausWichtig/events{/privacy}","received_events_url":"https://api.github.com/users/KlausWichtig/received_events","type":"User","site_admin":false},"created_at":"2018-08-01T11:32:57Z","updated_at":"2018-08-01T11:32:57Z","author_association":"NONE","body":"Thank you for your support. Either there is a compability issue with time format or I am making a stupid mistake all the time. I am running Samba 4.7.6 with Ubuntu 18.04. There is no official upgrade for 4.8.3 available.\r\n\r\nbtrfs-subvolumes in /samba\r\n-------------------\r\nID 257 gen 534 top level 5 path dateiserver\r\nID 258 gen 545 top level 257 path dateiserver/filespace\r\nID 259 gen 545 top level 257 path dateiserver/snapshots\r\n\r\nbtrbk.conf (nearly the same as in Example: laptop with usb-disk for backups)\r\n-----------\r\nsnapshot_dir               snapshots\r\ntimestamp_format long-iso\r\nsnapshot_preserve_min   2d\r\nsnapshot_preserve       30d\r\ntarget_preserve_min     no\r\ntarget_preserve         20d 10w *m\r\nvolume /samba/dateiserver\r\nsubvolume filespace\r\n    target send-receive      /mnt/usb/backup\r\n\r\nsmb.conf\r\n----------\r\n[public]\r\ncomment=smbtest\r\npath=/samba/dateiserver/filespace\r\nbrowsable=yes\r\nwritable=yes\r\nguest ok=yes\r\nvfs objects=shadow_copy2\r\nshadow:snapdir=/samba/dateiserver/snapshots\r\n#shadow:basedir=/samba/dateiserver\r\nshadow:format=filespace.%Y%m%dT%H%M\r\nshadow:localtime=yes\r\nshadow:sort=desc\r\n\r\nThaks a lot\r\nKlaus"}}
{"actor":{"display_login":"KlausWichtig"}}