Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Setting a timemachine on a ubuntu

  1. #1
    Join Date
    Oct 2006
    Location
    Argentina
    Beans
    251
    Distro
    Ubuntu 13.10 Saucy Salamander

    Setting a timemachine on a ubuntu

    Hey everybody.

    I just installed my brand new headless ubuntu to use as a nas at home.

    I tried to configure a timemachine for my mac following this: http://kremalicious.com/ubuntu-as-ma...achine-volume/
    and http://ubuntuforums.org/showthread.p...ht=timemachine

    Heres the set up I am using: I have a dedicated 80gb disk for time machine:
    Formated as Ext4, mounted at /mnt/TimeMachine mounted at boot.

    sudo gedit /etc/netatalk/AppleVolumes.default
    I have:
    Code:
    # By default all users have access to their home directories.
    ~/			"Home Directory"
    
    /mnt/TimeMachine/TimeMachine "TimeMachine" allow:username1,username2 cnidscheme:cdb options:tm
    # End of File
    But I get this when I connect from my mac:

    And I get no option to use it as my time machine disk from my mac.


    Any help would be much appreciated.

  2. #2
    Join Date
    Oct 2006
    Location
    Argentina
    Beans
    251
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Setting a timemachine on a ubuntu

    Good advances:

    I modified this file:
    AppleVolumes.default

    # By default all users have access to their home directories.
    ~/ "Home Directory"

    /mnt/TimeMachine "TimeMachine" allow:aleza cnidscheme:cdb options:tm
    # End of File


    Now I have this:



    I got time machine to see the disk:


    I got this error, I am thinking if there something wrong with the partition and the rights on it?


    Any ideas?

  3. #3
    Join Date
    Mar 2012
    Beans
    24

    Re: Setting a timemachine on a ubuntu


  4. #4
    Join Date
    Oct 2006
    Location
    Argentina
    Beans
    251
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Setting a timemachine on a ubuntu

    Thanks, I could not make it on ow to fix it, from your thread.

    Every tutorial uses a folder, and I am trying to use a dedicated disk for it. I don't know if the partition extension is correct, and what rights should I set on the disk.

    Thanks anyway!

  5. #5
    Join Date
    Oct 2006
    Location
    Argentina
    Beans
    251
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Setting a timemachine on a ubuntu

    Managed to advance now:

    Now I get this error when Mounting the shared disk in my apple:

    And this error when I do a time machine backup:

    I feel like I am getting really close, and Please don't tell me I won't get 100% compatibility here since is not a mac official thing.

    Thanks everyone.

  6. #6
    Join Date
    Mar 2012
    Beans
    24

    Re: Setting a timemachine on a ubuntu

    What comes to first message, change : cnidscheme:dbd. You had it above : cnidscheme: cbd. Second error relates to AFP, Apple FilIng Protocol. Which version of Netatalk you have and what you have in afpd.conf file ? Should be something like:
    Code:
    - -tcp -noddp -uamlist uams_dhx.so,uams_dhx2_passwd.so -nosavepassword

  7. #7
    Join Date
    Oct 2006
    Location
    Argentina
    Beans
    251
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Setting a timemachine on a ubuntu

    Quote Originally Posted by pinjan View Post
    What comes to first message, change : cnidscheme:dbd. You had it above : cnidscheme: cbd. Second error relates to AFP, Apple FilIng Protocol. Which version of Netatalk you have and what you have in afpd.conf file ? Should be something like:
    Code:
    - -tcp -noddp -uamlist uams_dhx.so,uams_dhx2_passwd.so -nosavepassword
    PInjan: Thanks a lot, my netatalk version is 2.2.1.1

    I changed the cnidscheme: bcd to cnidscheme:dbd in the AppleVolumes.default, heres how it is now.

    # The line below sets some DEFAULT, starting with Netatalk 2.1.
    EFAULT: options:upriv,usedots

    # By default all users have access to their home directories.
    ~/ "Home Directory"

    #Disco80
    /mnt/TimeMachine "TimeMachine" allow:aleza cnidscheme:dbd options:upriv
    # End of File

    And I changed my line to
    My line at the bottom of afpd.conf is: - -tcp -noddp -uamlist uams_randnum.so,uams_dhx.so,uams_dhx2.so -nosavepassword

    ....now time machine does not even sees the disk.
    Last edited by alek66; August 12th, 2012 at 05:40 PM.

  8. #8
    Join Date
    Mar 2012
    Beans
    24

    Re: Setting a timemachine on a ubuntu

    I checked my afpd.conf file and I have there following:

    Code:
    - -transall '-uamlist uams_dhx.so,uams_dhx2_passwd.so
    Sorry for mistake !

    I have same version of netatalk than you are having

  9. #9
    Join Date
    Mar 2012
    Beans
    24

    Re: Setting a timemachine on a ubuntu

    My AppleVolumes.default:

    Code:
    # The line below sets some DEFAULT, starting with Netatalk 2.1.
    :DEFAULT: options:upriv,usedots
    
    # By default all users have access to their home directories.
    ~/                      "Home Directory"
    ~/ "$u" allow:backupwriter cnidscheme:cdb
    /home/username/Backup/TimeMachine "TM" allow:username options:usedots,upriv,tm ea:ad
    /mnt/TimeMachine "TimeMachine" allow:username cnidscheme:cdb options:tm,usedots
    
    # End of File
    Where username is my username naturally Hopefully this helps.

  10. #10
    Join Date
    Oct 2006
    Location
    Argentina
    Beans
    251
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Setting a timemachine on a ubuntu

    Quote Originally Posted by pinjan View Post
    My AppleVolumes.default:

    Code:
    # The line below sets some DEFAULT, starting with Netatalk 2.1.
    :DEFAULT: options:upriv,usedots
    
    # By default all users have access to their home directories.
    ~/                      "Home Directory"
    ~/ "$u" allow:backupwriter cnidscheme:cdb
    /home/username/Backup/TimeMachine "TM" allow:username options:usedots,upriv,tm ea:ad
    /mnt/TimeMachine "TimeMachine" allow:username cnidscheme:cdb options:tm,usedots
    
    # End of File
    Where username is my username naturally Hopefully this helps.
    Which one of the time machines is the one you use? I see two,

    After some errors of the CBD scheme, it started to do the bkp.

    I will let you know after it finished, on how it went.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •