odarriba/docker-timemachine

add disk mounting manual, please

a-x- opened this issue · 3 comments

a-x- commented

as I understand, we have to use hfsplus formatted partition

so approximated manual might be like this:

sudo apt-get install hfsplus hfsutils hfsprogs

sudo mkdir /mnt/timemachine # provide your path to mount point

# remove/create a partition
# fdisk howto: https://www.tldp.org/HOWTO/Partition/fdisk_partitioning.html
sudo fdisk /dev/sda 

sudo mkfs.hfsplus /dev/sda1 # specify your partition

blkid # find partuuid

# add to /etc/fstab:
/dev/disk/by-partuuid/be54d979-02 /mnt/timemachine hfsplus rw,force,exec,auto,users 0 2

sudo mount -a # check fstab before reboot
a-x- commented

also, can you share your way to setup the /timemachine?

a-x- commented

this dramatically decreases setup complexity for novices

Hello,

You don't have to format your partition with HFS+, you just need an standard EXT3/4 partition with support for extra flags, which is the default configuration.

I´m using in my own home an EXT4 partition without issues. Which errors are you facing using an standard format with this container?