{"action":"created","issue":{"url":"https://api.github.com/repos/borgbackup/borg/issues/1928","repository_url":"https://api.github.com/repos/borgbackup/borg","labels_url":"https://api.github.com/repos/borgbackup/borg/issues/1928/labels{/name}","comments_url":"https://api.github.com/repos/borgbackup/borg/issues/1928/comments","events_url":"https://api.github.com/repos/borgbackup/borg/issues/1928/events","html_url":"https://github.com/borgbackup/borg/issues/1928","id":193440643,"number":1928,"title":"Borg to compress partclone images","user":{"login":"wc-matteo","id":10562635,"avatar_url":"https://avatars.githubusercontent.com/u/10562635?v=3","gravatar_id":"","url":"https://api.github.com/users/wc-matteo","html_url":"https://github.com/wc-matteo","followers_url":"https://api.github.com/users/wc-matteo/followers","following_url":"https://api.github.com/users/wc-matteo/following{/other_user}","gists_url":"https://api.github.com/users/wc-matteo/gists{/gist_id}","starred_url":"https://api.github.com/users/wc-matteo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wc-matteo/subscriptions","organizations_url":"https://api.github.com/users/wc-matteo/orgs","repos_url":"https://api.github.com/users/wc-matteo/repos","events_url":"https://api.github.com/users/wc-matteo/events{/privacy}","received_events_url":"https://api.github.com/users/wc-matteo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-05T08:49:12Z","updated_at":"2016-12-05T10:00:12Z","closed_at":null,"body":"I'm trying to save space on server backups using borg but the savings are practically nonexistent...\r\n\r\nI use lvm to take a snapshot of the mounted root file system, partclone to create an image of the snapshot (to get a backup file which size is about that of the files in the root partition) and finally borg to compensate for the lack of differential/incremental features of partclone... alas borg doesn't seem to work with it.\r\n\r\nI read that VM snapshots were supported and I thought that this could be similar. I also tried to increase the number of chunks, to little benefit...\r\n\r\nDo you have any advice?"},"comment":{"url":"https://api.github.com/repos/borgbackup/borg/issues/comments/264812533","html_url":"https://github.com/borgbackup/borg/issues/1928#issuecomment-264812533","issue_url":"https://api.github.com/repos/borgbackup/borg/issues/1928","id":264812533,"user":{"login":"wc-matteo","id":10562635,"avatar_url":"https://avatars.githubusercontent.com/u/10562635?v=3","gravatar_id":"","url":"https://api.github.com/users/wc-matteo","html_url":"https://github.com/wc-matteo","followers_url":"https://api.github.com/users/wc-matteo/followers","following_url":"https://api.github.com/users/wc-matteo/following{/other_user}","gists_url":"https://api.github.com/users/wc-matteo/gists{/gist_id}","starred_url":"https://api.github.com/users/wc-matteo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wc-matteo/subscriptions","organizations_url":"https://api.github.com/users/wc-matteo/orgs","repos_url":"https://api.github.com/users/wc-matteo/repos","events_url":"https://api.github.com/users/wc-matteo/events{/privacy}","received_events_url":"https://api.github.com/users/wc-matteo/received_events","type":"User","site_admin":false},"created_at":"2016-12-05T10:00:12Z","updated_at":"2016-12-05T10:00:12Z","body":"Thanks!\r\n\r\n@enkore \r\n\r\nWould the chunks be completely different between runs if the images had just a tiny difference (e.g., at the beginning of the file)?\r\n\r\n***\r\n\r\n@RonnyPfannschmidt \r\n\r\n#### backup commands sample\r\n\r\n`lvcreate --size 1G -s -n root_2016-12-05_03-00 /dev/vg/root`\r\n\r\n`partclone.ext4 -c -s /dev/vg/root_2016-12-05_03-00 -o /mnt/backup/partclone/root_2016-12-05_03-00.img`\r\n\r\n`borg create --chunker-params=10,23,16,4095 /mnt/backup/borg::root_2016-12-05_03-00 /mnt/backup/partclone/root_2016-12-05_03-00.img`\r\n\r\n#### borg list\r\n\r\n```\r\nroot_2016-12-02_10-34                Fri, 2016-12-02 10:43:14\r\nroot_2016-12-03_03-00                Sat, 2016-12-03 03:09:44\r\nroot_2016-12-04_03-00                Sun, 2016-12-04 03:09:40\r\nroot_2016-12-05_03-00                Mon, 2016-12-05 03:09:41\r\n```\r\n#### borg info\r\n\r\n```\r\nName: root_2016-12-05_03-00\r\nUsername: root\r\nTime (start): Mon, 2016-12-05 03:09:41\r\nTime (end):   Mon, 2016-12-05 03:32:02\r\nCommand line: /usr/bin/borg create --chunker-params=10,23,16,4095 /mnt/backup/borg::root_2016-12-05_03-00 /mnt/backup/partclone/root_2016-12-05_03-00.img\r\nNumber of files: 1\r\n\r\n                       Original size      Compressed size    Deduplicated size\r\nThis archive:               20.08 GB             20.08 GB             19.86 GB\r\nAll archives:               78.14 GB             78.15 GB             77.49 GB\r\n\r\n                       Unique chunks         Total chunks\r\nChunk index:                  200475               223991\r\n```"}}
{"actor":{"display_login":"wc-matteo"}}