Use Ubuntu server (16.04) for MacOS High Sierra TimeMachine backups












3














On disks formatted with APFS in MacOS 10.13 High Sierra, files can't be shared over AFP anymore (see this article on the Apple support site). As such, this guide here no longer works for making a TimeMachine backup location on an Ubuntu server.



Does anyone have any thoughts on how to set up the TimeMachine backup destination to be visible over SMB? Or some other possible solution?










share|improve this question




















  • 1




    I'm unable to test the theory at this moment, but I have read in the past if you create a sparsebundle image on your Ubuntu server, then point the time machine to it, it should work. See here for possible info. I cannot guarantee it works, but it's worth looking in to.
    – nullmeta
    Sep 4 '17 at 20:02
















3














On disks formatted with APFS in MacOS 10.13 High Sierra, files can't be shared over AFP anymore (see this article on the Apple support site). As such, this guide here no longer works for making a TimeMachine backup location on an Ubuntu server.



Does anyone have any thoughts on how to set up the TimeMachine backup destination to be visible over SMB? Or some other possible solution?










share|improve this question




















  • 1




    I'm unable to test the theory at this moment, but I have read in the past if you create a sparsebundle image on your Ubuntu server, then point the time machine to it, it should work. See here for possible info. I cannot guarantee it works, but it's worth looking in to.
    – nullmeta
    Sep 4 '17 at 20:02














3












3








3


0





On disks formatted with APFS in MacOS 10.13 High Sierra, files can't be shared over AFP anymore (see this article on the Apple support site). As such, this guide here no longer works for making a TimeMachine backup location on an Ubuntu server.



Does anyone have any thoughts on how to set up the TimeMachine backup destination to be visible over SMB? Or some other possible solution?










share|improve this question















On disks formatted with APFS in MacOS 10.13 High Sierra, files can't be shared over AFP anymore (see this article on the Apple support site). As such, this guide here no longer works for making a TimeMachine backup location on an Ubuntu server.



Does anyone have any thoughts on how to set up the TimeMachine backup destination to be visible over SMB? Or some other possible solution?







backup macosx smb






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 6 '17 at 5:50









jelmer

2,0201420




2,0201420










asked Sep 4 '17 at 12:17









Daniel Porteous

11615




11615








  • 1




    I'm unable to test the theory at this moment, but I have read in the past if you create a sparsebundle image on your Ubuntu server, then point the time machine to it, it should work. See here for possible info. I cannot guarantee it works, but it's worth looking in to.
    – nullmeta
    Sep 4 '17 at 20:02














  • 1




    I'm unable to test the theory at this moment, but I have read in the past if you create a sparsebundle image on your Ubuntu server, then point the time machine to it, it should work. See here for possible info. I cannot guarantee it works, but it's worth looking in to.
    – nullmeta
    Sep 4 '17 at 20:02








1




1




I'm unable to test the theory at this moment, but I have read in the past if you create a sparsebundle image on your Ubuntu server, then point the time machine to it, it should work. See here for possible info. I cannot guarantee it works, but it's worth looking in to.
– nullmeta
Sep 4 '17 at 20:02




I'm unable to test the theory at this moment, but I have read in the past if you create a sparsebundle image on your Ubuntu server, then point the time machine to it, it should work. See here for possible info. I cannot guarantee it works, but it's worth looking in to.
– nullmeta
Sep 4 '17 at 20:02










2 Answers
2






active

oldest

votes


















7














[Updated answer]




On disks formatted with APFS in MacOS 10.13 High Sierra, files can't be shared over AFP anymore [...]




This is a popular misconception - you can back up an APFS volume to a Time Machine using AFP via Netatalk. Confusion stems from ambiguous wording on https://support.apple.com/en-gb/HT208018 :




Any Time Machine share points must be shared over SMB instead of AFP. [emphasis added]




This caught out a number of people (including me). The HT208018 support article is trying to say: you can't do fileserving of files from an APFS volume to other Macs using AFP and further, you can't use a Mac APFS volume as the destination for a Time Machine backup (see https://apple.stackexchange.com/a/299720 for a detailed explanation).



Having said all the above, you can also use Time Machine with an SMB server (such as Samba) if the SMB server advertises the correct options (see below). At the time of writing (1 Oct 2017) you're in for a mildly rocky ride when trying to use Samba because you have to do a custom compile of Samba in the near-term (it will likely be next year that an appropriate pre-built Samba turns up by default in the periodic release Linux distributions).



[Update 2]



The patches have gone in and will likely be part of the Samba 4.8 release (currently that future release is too new to have a date on https://wiki.samba.org/index.php/Samba_Release_Planning ).



[Update 3]



The changes are now part of Samba 4.8 and above.



[Original text below]



The short of it is keep an eye on https://github.com/samba-team/samba/pull/64 and the mailing list thread related to it over on https://lists.samba.org/archive/samba-technical/2017-September/thread.html#122882 because something like it will have to go in for Time Machine to work with Samba without extra manual configuration on the Mac.



It's unclear how much Apple care about Samba these days (which started occurring when they stopped shipping it with MacOS after the Samba project switched to be GPLv3) so I'm afraid delays are to be expected. Let's see how it goes - kevinanderson1, omor1 and Ralph seem to be making progress so good luck to them!






share|improve this answer























  • Thanks for the comprehensive response about the status of this issue. I've upvoted, but I won't yet accept, since I'm hoping someone will come along with some kind of updated step-by-step guide for other people in the future with this problem.
    – Daniel Porteous
    Oct 25 '17 at 10:16










  • @DanielPorteous the question is - will you accept this answer if no one gets around to doing that ;-)
    – Anon
    Oct 26 '17 at 5:57



















0














There are instructions at:



https://drkbl.com/ubuntu-18-samba-time-machine



It involves getting Samba 4.8 or higher (4.9.3 is current as of 30 Nov 2018) and compiling it locally. I'm on Ubuntu 16.04 LTS and had to add a few updates (lmdb, gnutls) before I got it to compile, but that was simple with brew. I followed the directions but still can't see the share from my Mac. :-(






share|improve this answer





















    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f952619%2fuse-ubuntu-server-16-04-for-macos-high-sierra-timemachine-backups%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    7














    [Updated answer]




    On disks formatted with APFS in MacOS 10.13 High Sierra, files can't be shared over AFP anymore [...]




    This is a popular misconception - you can back up an APFS volume to a Time Machine using AFP via Netatalk. Confusion stems from ambiguous wording on https://support.apple.com/en-gb/HT208018 :




    Any Time Machine share points must be shared over SMB instead of AFP. [emphasis added]




    This caught out a number of people (including me). The HT208018 support article is trying to say: you can't do fileserving of files from an APFS volume to other Macs using AFP and further, you can't use a Mac APFS volume as the destination for a Time Machine backup (see https://apple.stackexchange.com/a/299720 for a detailed explanation).



    Having said all the above, you can also use Time Machine with an SMB server (such as Samba) if the SMB server advertises the correct options (see below). At the time of writing (1 Oct 2017) you're in for a mildly rocky ride when trying to use Samba because you have to do a custom compile of Samba in the near-term (it will likely be next year that an appropriate pre-built Samba turns up by default in the periodic release Linux distributions).



    [Update 2]



    The patches have gone in and will likely be part of the Samba 4.8 release (currently that future release is too new to have a date on https://wiki.samba.org/index.php/Samba_Release_Planning ).



    [Update 3]



    The changes are now part of Samba 4.8 and above.



    [Original text below]



    The short of it is keep an eye on https://github.com/samba-team/samba/pull/64 and the mailing list thread related to it over on https://lists.samba.org/archive/samba-technical/2017-September/thread.html#122882 because something like it will have to go in for Time Machine to work with Samba without extra manual configuration on the Mac.



    It's unclear how much Apple care about Samba these days (which started occurring when they stopped shipping it with MacOS after the Samba project switched to be GPLv3) so I'm afraid delays are to be expected. Let's see how it goes - kevinanderson1, omor1 and Ralph seem to be making progress so good luck to them!






    share|improve this answer























    • Thanks for the comprehensive response about the status of this issue. I've upvoted, but I won't yet accept, since I'm hoping someone will come along with some kind of updated step-by-step guide for other people in the future with this problem.
      – Daniel Porteous
      Oct 25 '17 at 10:16










    • @DanielPorteous the question is - will you accept this answer if no one gets around to doing that ;-)
      – Anon
      Oct 26 '17 at 5:57
















    7














    [Updated answer]




    On disks formatted with APFS in MacOS 10.13 High Sierra, files can't be shared over AFP anymore [...]




    This is a popular misconception - you can back up an APFS volume to a Time Machine using AFP via Netatalk. Confusion stems from ambiguous wording on https://support.apple.com/en-gb/HT208018 :




    Any Time Machine share points must be shared over SMB instead of AFP. [emphasis added]




    This caught out a number of people (including me). The HT208018 support article is trying to say: you can't do fileserving of files from an APFS volume to other Macs using AFP and further, you can't use a Mac APFS volume as the destination for a Time Machine backup (see https://apple.stackexchange.com/a/299720 for a detailed explanation).



    Having said all the above, you can also use Time Machine with an SMB server (such as Samba) if the SMB server advertises the correct options (see below). At the time of writing (1 Oct 2017) you're in for a mildly rocky ride when trying to use Samba because you have to do a custom compile of Samba in the near-term (it will likely be next year that an appropriate pre-built Samba turns up by default in the periodic release Linux distributions).



    [Update 2]



    The patches have gone in and will likely be part of the Samba 4.8 release (currently that future release is too new to have a date on https://wiki.samba.org/index.php/Samba_Release_Planning ).



    [Update 3]



    The changes are now part of Samba 4.8 and above.



    [Original text below]



    The short of it is keep an eye on https://github.com/samba-team/samba/pull/64 and the mailing list thread related to it over on https://lists.samba.org/archive/samba-technical/2017-September/thread.html#122882 because something like it will have to go in for Time Machine to work with Samba without extra manual configuration on the Mac.



    It's unclear how much Apple care about Samba these days (which started occurring when they stopped shipping it with MacOS after the Samba project switched to be GPLv3) so I'm afraid delays are to be expected. Let's see how it goes - kevinanderson1, omor1 and Ralph seem to be making progress so good luck to them!






    share|improve this answer























    • Thanks for the comprehensive response about the status of this issue. I've upvoted, but I won't yet accept, since I'm hoping someone will come along with some kind of updated step-by-step guide for other people in the future with this problem.
      – Daniel Porteous
      Oct 25 '17 at 10:16










    • @DanielPorteous the question is - will you accept this answer if no one gets around to doing that ;-)
      – Anon
      Oct 26 '17 at 5:57














    7












    7








    7






    [Updated answer]




    On disks formatted with APFS in MacOS 10.13 High Sierra, files can't be shared over AFP anymore [...]




    This is a popular misconception - you can back up an APFS volume to a Time Machine using AFP via Netatalk. Confusion stems from ambiguous wording on https://support.apple.com/en-gb/HT208018 :




    Any Time Machine share points must be shared over SMB instead of AFP. [emphasis added]




    This caught out a number of people (including me). The HT208018 support article is trying to say: you can't do fileserving of files from an APFS volume to other Macs using AFP and further, you can't use a Mac APFS volume as the destination for a Time Machine backup (see https://apple.stackexchange.com/a/299720 for a detailed explanation).



    Having said all the above, you can also use Time Machine with an SMB server (such as Samba) if the SMB server advertises the correct options (see below). At the time of writing (1 Oct 2017) you're in for a mildly rocky ride when trying to use Samba because you have to do a custom compile of Samba in the near-term (it will likely be next year that an appropriate pre-built Samba turns up by default in the periodic release Linux distributions).



    [Update 2]



    The patches have gone in and will likely be part of the Samba 4.8 release (currently that future release is too new to have a date on https://wiki.samba.org/index.php/Samba_Release_Planning ).



    [Update 3]



    The changes are now part of Samba 4.8 and above.



    [Original text below]



    The short of it is keep an eye on https://github.com/samba-team/samba/pull/64 and the mailing list thread related to it over on https://lists.samba.org/archive/samba-technical/2017-September/thread.html#122882 because something like it will have to go in for Time Machine to work with Samba without extra manual configuration on the Mac.



    It's unclear how much Apple care about Samba these days (which started occurring when they stopped shipping it with MacOS after the Samba project switched to be GPLv3) so I'm afraid delays are to be expected. Let's see how it goes - kevinanderson1, omor1 and Ralph seem to be making progress so good luck to them!






    share|improve this answer














    [Updated answer]




    On disks formatted with APFS in MacOS 10.13 High Sierra, files can't be shared over AFP anymore [...]




    This is a popular misconception - you can back up an APFS volume to a Time Machine using AFP via Netatalk. Confusion stems from ambiguous wording on https://support.apple.com/en-gb/HT208018 :




    Any Time Machine share points must be shared over SMB instead of AFP. [emphasis added]




    This caught out a number of people (including me). The HT208018 support article is trying to say: you can't do fileserving of files from an APFS volume to other Macs using AFP and further, you can't use a Mac APFS volume as the destination for a Time Machine backup (see https://apple.stackexchange.com/a/299720 for a detailed explanation).



    Having said all the above, you can also use Time Machine with an SMB server (such as Samba) if the SMB server advertises the correct options (see below). At the time of writing (1 Oct 2017) you're in for a mildly rocky ride when trying to use Samba because you have to do a custom compile of Samba in the near-term (it will likely be next year that an appropriate pre-built Samba turns up by default in the periodic release Linux distributions).



    [Update 2]



    The patches have gone in and will likely be part of the Samba 4.8 release (currently that future release is too new to have a date on https://wiki.samba.org/index.php/Samba_Release_Planning ).



    [Update 3]



    The changes are now part of Samba 4.8 and above.



    [Original text below]



    The short of it is keep an eye on https://github.com/samba-team/samba/pull/64 and the mailing list thread related to it over on https://lists.samba.org/archive/samba-technical/2017-September/thread.html#122882 because something like it will have to go in for Time Machine to work with Samba without extra manual configuration on the Mac.



    It's unclear how much Apple care about Samba these days (which started occurring when they stopped shipping it with MacOS after the Samba project switched to be GPLv3) so I'm afraid delays are to be expected. Let's see how it goes - kevinanderson1, omor1 and Ralph seem to be making progress so good luck to them!







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Apr 7 '18 at 14:03









    Community

    1




    1










    answered Sep 24 '17 at 13:56









    Anon

    1776




    1776












    • Thanks for the comprehensive response about the status of this issue. I've upvoted, but I won't yet accept, since I'm hoping someone will come along with some kind of updated step-by-step guide for other people in the future with this problem.
      – Daniel Porteous
      Oct 25 '17 at 10:16










    • @DanielPorteous the question is - will you accept this answer if no one gets around to doing that ;-)
      – Anon
      Oct 26 '17 at 5:57


















    • Thanks for the comprehensive response about the status of this issue. I've upvoted, but I won't yet accept, since I'm hoping someone will come along with some kind of updated step-by-step guide for other people in the future with this problem.
      – Daniel Porteous
      Oct 25 '17 at 10:16










    • @DanielPorteous the question is - will you accept this answer if no one gets around to doing that ;-)
      – Anon
      Oct 26 '17 at 5:57
















    Thanks for the comprehensive response about the status of this issue. I've upvoted, but I won't yet accept, since I'm hoping someone will come along with some kind of updated step-by-step guide for other people in the future with this problem.
    – Daniel Porteous
    Oct 25 '17 at 10:16




    Thanks for the comprehensive response about the status of this issue. I've upvoted, but I won't yet accept, since I'm hoping someone will come along with some kind of updated step-by-step guide for other people in the future with this problem.
    – Daniel Porteous
    Oct 25 '17 at 10:16












    @DanielPorteous the question is - will you accept this answer if no one gets around to doing that ;-)
    – Anon
    Oct 26 '17 at 5:57




    @DanielPorteous the question is - will you accept this answer if no one gets around to doing that ;-)
    – Anon
    Oct 26 '17 at 5:57













    0














    There are instructions at:



    https://drkbl.com/ubuntu-18-samba-time-machine



    It involves getting Samba 4.8 or higher (4.9.3 is current as of 30 Nov 2018) and compiling it locally. I'm on Ubuntu 16.04 LTS and had to add a few updates (lmdb, gnutls) before I got it to compile, but that was simple with brew. I followed the directions but still can't see the share from my Mac. :-(






    share|improve this answer


























      0














      There are instructions at:



      https://drkbl.com/ubuntu-18-samba-time-machine



      It involves getting Samba 4.8 or higher (4.9.3 is current as of 30 Nov 2018) and compiling it locally. I'm on Ubuntu 16.04 LTS and had to add a few updates (lmdb, gnutls) before I got it to compile, but that was simple with brew. I followed the directions but still can't see the share from my Mac. :-(






      share|improve this answer
























        0












        0








        0






        There are instructions at:



        https://drkbl.com/ubuntu-18-samba-time-machine



        It involves getting Samba 4.8 or higher (4.9.3 is current as of 30 Nov 2018) and compiling it locally. I'm on Ubuntu 16.04 LTS and had to add a few updates (lmdb, gnutls) before I got it to compile, but that was simple with brew. I followed the directions but still can't see the share from my Mac. :-(






        share|improve this answer












        There are instructions at:



        https://drkbl.com/ubuntu-18-samba-time-machine



        It involves getting Samba 4.8 or higher (4.9.3 is current as of 30 Nov 2018) and compiling it locally. I'm on Ubuntu 16.04 LTS and had to add a few updates (lmdb, gnutls) before I got it to compile, but that was simple with brew. I followed the directions but still can't see the share from my Mac. :-(







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 30 '18 at 21:53









        Michael Wallis

        1




        1






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f952619%2fuse-ubuntu-server-16-04-for-macos-high-sierra-timemachine-backups%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            mysqli_query(): Empty query in /home/lucindabrummitt/public_html/blog/wp-includes/wp-db.php on line 1924

            How to change which sound is reproduced for terminal bell?

            Can I use Tabulator js library in my java Spring + Thymeleaf project?