zeldor.biz

Linux, programming and more

Copyright © 2023
Log in

Time Machine Backup to Samba

August 16, 2012 by Igor Drobot 4 Comments

Time Machine is a backup utility developed by Apple. It is included in Mac OS X since MAC OS X version 10.5 alias “Leopard”. The software is designed to work with the Time Capsule as well as other internal or external drives.

Only with this trick that I describe below is it possible to create backups to remote shares like samba.

We need to create a image for the backup:

Start: Launchpad -> Other -> Disk Utility

Create a HFS+ disk image with Disk Utility:

Copy the fresh created image MacBookBackup.sparsebundle to your samba share, and double click on it to mount.

Tell Time Machine to use the mounted volume MacBookBackup:

1
sudo tmutil setdestination /Volumes/MacBookBackup

sudo tmutil setdestination /Volumes/MacBookBackup

Now you can start Time Machine and select backup disk:

First backup run:

Filed Under: Linux Tagged With: backup, Samba, security, Time Machine

Categories

Archives

Tags

apache2 Apple arduino ARM Automation backup bash Cisco Cluster Corosync Database Debian Debian squeeze DIY DNS Fedora FTP Fun Icinga Ipv6 KVM Linux LVM MAC OS X Monitoring MySQL Nagios Nginx openSUSE OpenVPN PHP Proxy Python python3 qemu RAID rsync Samba security ssh Ubuntu virtualization Windows Windows 7 Wordpress

Comments

  1. TRON says

    October 17, 2013 at 01:59

    @Adam:
    Just create a growing Imagefile + you can eaven create it directly on a mounted smbshare :)

  2. Adam says

    March 21, 2013 at 04:47

    Thanks a lot for this, working fine on 10.8.3 and a Linux Samba server. I was limited, however, by my local disk space when creating the image. It’d be nice to be able to make a larger image since I put it on a larger volume anyways.

  3. xawos says

    March 18, 2013 at 23:54

    Yes, i’ve tried, and it works flawlessly on mountain lion 10.8.2
    No, i’m sorry, it’s a hackintosh =) iATKOS ML2
    Great tip, thank you for sharing

  4. zeldor says

    December 7, 2012 at 14:49

    Yes, it is possible to run this on OS X Mountain Lion =)

Leave a Reply

Your email address will not be published. Required fields are marked *