matryska

Members
  • Posts

    8
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

matryska's Achievements

Noob

Noob (1/14)

1

Reputation

  1. Hi, I have addressed both: https://forums.unraid.net/topic/76694-unassigned-time-machine/ You may need to modify it to suit your specific needs
  2. GOAL Setup UNRAID 6.6.6 for macOS 10.14 Time Machine backup over SMB to a dedicated Unassigned Devices disk that is not part of the array There have been some reports of difficulties enabling Time Machine backups: https://forums.unraid.net/topic/74972-time-machine-backups/ References: https://www.reddit.com/r/homelab/comments/83vkaz/howto_make_time_machine_backups_on_a_samba/ https://kirb.me/2018/03/24/using-samba-as-a-time-machine-network-server.html https://github.com/Robpol86/robpol86.com/commit/93307a2034a588fb5f38519aac7a890c21a2b4c4 SETUP DISK Main > Unassigned Devices Format as xfs Mounted as /dev/disks/Timecapsule Settings > Unassigned Devices Enable SMB sharing as desired SSH to server cp /etc/samba/unassigned-shares/Timecapsule.conf /dev/disks/Timecapsule/Timecapsule.conf nano /dev/disks/Timecapsule/Timecapsule.conf Add the following to the end of the file vfs objects = catia fruit streams_xattr fruit:time machine = yes fruit:model = MacPro fruit:advertise_fullsync = true fruit:aapl = yes Main > Unassigned Devices Edit script for disk in Unassigned Devices This will load our SMB configuration file and reload samba to enable these settings each time the disk is mounted regardless of auto or manual mount #!/bin/bash PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin ## Available variables: # AVAIL : available space # USED : used space # SIZE : partition size # SERIAL : disk serial number # ACTION : if mounting, ADD; if unmounting, UNMOUNT; if unmounted, REMOVE; if error, ERROR_MOUNT, ERROR_UNMOUNT # MOUNTPOINT : where the partition is mounted # FSTYPE : partition filesystem # LABEL : partition label # DEVICE : partition device, e.g /dev/sda1 # OWNER : "udev" if executed by UDEV, otherwise "user" # PROG_NAME : program name of this script # LOGFILE : log file for this script case $ACTION in 'ADD' ) cp /mnt/disks/Timecapsule/Timecapsule.conf /etc/samba/unassigned-shares/Timecapsule.conf /etc/rc.d/rc.samba /usr/local/emhttp/webGui/scripts/notify -e "Unraid Server Notice" -s "Unassigned Devices" -d "Device added" -i "normal" ;; 'UNMOUNT' ) /usr/local/emhttp/webGui/scripts/notify -e "Unraid Server Notice" -s "Unassigned Devices" -d "Device unmounting" -i "normal" ;; 'REMOVE' ) /usr/local/emhttp/webGui/scripts/notify -e "Unraid Server Notice" -s "Unassigned Devices" -d "Device can be removed" -i "normal" ;; 'ERROR_MOUNT' ) /usr/local/emhttp/webGui/scripts/notify -e "Unraid Server Notice" -s "Unassigned Devices" -d "Error mounting device" -i "normal" ;; 'ERROR_UNMOUNT' ) /usr/local/emhttp/webGui/scripts/notify -e "Unraid Server Notice" -s "Unassigned Devices" -d "Error unmounting device" -i "normal" ;; esac Unmount and mount disk again to get the disk correctly mounted as a Time Machine compatible share MACOS 10.14 SETUP Mount Timecapsule share via network Open System Preferences > Time Machine Select the newly available UNRAID share I have selected encrypted backup as the disk is unencrypted xfs Backup as desired Bob’s your uncle
  3. My apologies; I have compiled 0.7.3 and encryption was not present. However, compiling master has enabled encryption. I would strongly recommend doing this in a container or VM as installing openssl did have temporary system wide adverse effects (rsync, ssh no longer working due to different openssl version installed). These adverse effects do not persist after a reboot so it didn't matter for me on a pre-production machine. This required the following additional dependencies: openssl util-linux (for libblkid) attr libtirpc Note the libtirpc package is also required to be installed with installpkg alongside spl/zfs. 3 disk raidz has been verified to work with the following options: -o encryption=on -o keyformat=passphrase -o keylocation=prompt Check with: zfs get -r encryptionroot Many thanks
  4. It was merged into master on 15/8/17. https://github.com/zfsonlinux/zfs/pull/5769 I will have a look into compile flags, thanks. Edit: I had a look here https://blog.heckel.xyz/2017/01/08/zfs-encryption-openzfs-zfs-on-linux/#Compile-and-install (N.B. this article precedes the merge into master) When I have time I'll try a build with the following dependencies and let you know: libtool zlib1g-dev attr uuid-dev libblkid-dev libattr1-dev autoconf And try and load these modules: unicode/zunicode.ko spl/spl.ko nvpair/znvpair.ko zcommon/zcommon.ko icp/icp.ko zfs/zfs.ko
  5. Thank you very much for this plugin. It adds another dimension to the utility of unRAID. I was wondering if it is possible to support at rest encryption? I see that openzfs 0.7.2 is used which in theory should support at rest encryption, however I am unable to pass the following options to zpool create: -o encryption=on -o keyformat=passphrase -o keylocation=prompt Thanks again
  6. Hi sparkly, it's working now. Thank you for your hard work on all the different dockers, I'm having a lot of fun. Incidentally on setup I deleted "Host Port 1: 943 with description n/a", doubt that contributed to success.
  7. I've tried but I can't get this docker running. Below is the log [cont-init.d] 20-time: exited 0. [cont-init.d] 30-config: executing... [cont-init.d] 30-config: exited 0. [cont-init.d] 40-openvpn-init: executing... [cont-init.d] 40-openvpn-init: exited 0. [cont-init.d] 50-interface: executing... [color=red]ERROR: Could not read active profile name: profile/key _INTERNAL/run_api.active_profile not found in sqlite:////config/etc/db/config.db: util/options:79,db/confdb_admin:280,db/confdb:531,db/confdb:523,<string>:1,sagent/sagent_entry:38,db/confdb_admin:354,util/options:79,db/confdb_admin:280,db/confdb:531,db/confdb:523,util/error:61,util/error:44 ERROR: Could not read active profile name: profile/key _INTERNAL/run_api.active_profile not found in sqlite:////config/etc/db/config.db: util/options:79,db/confdb_admin:280,db/confdb:531,db/confdb:523,<string>:1,sagent/sagent_entry:38,db/confdb_admin:354,util/options:79,db/confdb_admin:280,db/confdb:531,db/confdb:523,util/error:61,util/error:44 ERROR: Could not read active profile name: profile/key _INTERNAL/run_api.active_profile not found in sqlite:////config/etc/db/config.db: util/options:79,db/confdb_admin:280,db/confdb:531,db/confdb:523,<string>:1,sagent/sagent_entry:38,db/confdb_admin:354,util/options:79,db/confdb_admin:280,db/confdb:531,db/confdb:523,util/error:61,util/error:44 ERROR: Could not read active profile name: profile/key _INTERNAL/run_api.active_profile not found in sqlite:////config/etc/db/config.db: util/options:79,db/confdb_admin:280,db/confdb:531,db/confdb:523,<string>:1,sagent/sagent_entry:38,db/confdb_admin:354,util/options:79,db/confdb_admin:280,db/confdb:531,db/confdb:523,util/error:61,util/error:44[/color] [cont-init.d] 50-interface: exited 1. [cont-init.d] done. [services.d] starting services [services.d] done. Would appreciate any advice. Edited to include that this is despite repeated installs by deleting container/image, rm -rf /mnt/cache/appdata/openvpn-as