Linux & Time Machine

!!! Pro provoz je nutné být připojen přes Ethernet !!!
Jak zprovoznit zálohováni Applu na Linux?
Potřebujeme následující balíky :


[ebuild R ] net-fs/netatalk-2.0.5-r1 USE="cracklib cups pam ssl tcpd -debug -kerberos -krb4 -slp -xfs"
[ebuild R ] net-dns/avahi-0.6.24-r2 USE="dbus gdbm gtk ipv6 python mdnsresponder-compat test -autoipd -bookmarks -doc -howl-compat -mono -qt4"

* Nejsem si u toho baliku 100% jistý

[ebuild R ] sys-auth/nss-mdns-0.10upravit konfigurační soubory :

#vim /etc/sysctl.conf
net.ipv4.conf.default.rp_filter = 0
net.ipv4.conf.all.rp_filter = 0

#vi /etc/netatalk/afpd.conf
– -transall -uamlist uams_randnum.so,uams_dhx.so -nosavepassword -advertise_ssh

#vi /etc/netatalk/AppleVolumes.default
/mnt/apple/movies MOVIES allow:mstefl
/mnt/apple/itunes AUDIO allow:mstefl
/mnt/apple/pictures PICTURES allow:mstefl
~/ "$u" allow:mstefl cnidscheme:cdb
/home/mstefl/TimeMachine TimeMachine allow:mstefl cnidscheme:cdb options:usedots,upriv

#vi /etc/nsswitch.conf
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4 mdns

#vi /etc/netatalk/netatalk.conf

AFPD_MAX_CLIENTS=50
ATALK_NAME=`echo ${HOSTNAME}|cut -d. -f1`
ATALK_MAC_CHARSET='MAC_ROMAN'
ATALK_UNIX_CHARSET='LOCALE'
AFPD_GUEST=nobody
ATALKD_RUN=no
PAPD_RUN=no
CNID_METAD_RUN=yes
AFPD_RUN=yes
TIMELORD_RUN=no
A2BOOT_RUN=no
ATALK_BGROUND=no
export ATALK_MAC_CHARSET
export ATALK_UNIX_CHARSET

#vi /etc/netatalk/atalkd.conf
eth0

#vi /etc/avahi/services/afpd.services
<?xml version=”1.0″ standalone=’no’?><!–*-nxml-*–>
<!DOCTYPE service-group SYSTEM “avahi-service.dtd”>
<service-group>
<name replace-wildcards=”yes”>%h</name>
<service>
<type>_afpovertcp._tcp</type>
<port>548</port>
</service>
<service>
<type>_device-info._tcp</type>
<port>0</port>
<txt-record>model=Xserve</txt-record>
</service>
</service-group>

Dále v adresáři : /home/mstefl/TimeMachine

#touch .com.apple.timemachine.supported

A na Applu :
#sudo defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1

Pak pustit službu avahi-daemon a atalk a vše by mělo fungovat.

Link :
http://www.gentoo-wiki.info/
http://www.kremalicious.com/
http://www.gentoo-wiki.info/
http://en.gentoo-wiki.com/