TimeMachine
Docker 应用程序 from moritzf's Repository
概述
要求
Granting Permissions to write to the directory can be achieved by executing the following command on the host (Unraid): sudo chown -R 1000:1000 /mnt/user/timemachine/
The backing data store for your persistent time machine data must support extended file attributes (xattr). Usually for shares in the Unraid Array this is not a problem. Remote file systems, such as NFS, will very likely not support xattrs. This image will check and try to set xattrs to a test file in /opt/${TM_USERNAME} to warn the user if they are not supported but this will not prevent the image from running.
Also note that if you change the User Name (TM_USERNAME) value that it will change the data path for backup data inside of the container from /opt/timemachine to /opt/value-of-TM_USERNAME.
运行时参数
- 网络
br0- 外壳
sh- 特权
- false
- 额外参数
--hostname timemachine
模板配置
Directory to store the time machine backups. If you change the User Name (TM_USERNAME) value that it will change the data path from /opt/timemachine to /opt/value-of-TM_USERNAME.
- 目标
- /opt/timemachine
- 价值
- /mnt/user/timemachine/
Limits the reported disksize, thus preventing Time Machine from using the whole real disk space for backup. The option takes a number plus an optional unit (e.g. 1 T for 1 Terrabyte). IMPORTANT: This is an approximated calculation that only takes into account the contents of Time Machine sparsebundle images. Therefore you MUST NOT use this volume to store other content when using this option, because it would NOT be accounted. The calculation works by reading the band size from the Info.plist XML file of the sparsebundle, reading the bands/ directory counting the number of band files, and then multiplying one with the other.
- 目标
- VOLUME_SIZE_LIMIT
- 默认值
- 1 T
- 价值
- 1 T
sets the username time machine runs as
- 目标
- TM_USERNAME
- 价值
- timemachine
sets the password for the timemachine user. The default value is Z92efVNcokU26x.
- 目标
- PASSWORD
- 默认值
- Z92efVNcokU26x
- 价值
- Z92efVNcokU26x
Avahi will advertise the smb services at this hostname instead of the local hostname
- 目标
- ADVERTISED_HOSTNAME
- 价值
- timemachine
indicates that you are going to bind mount a custom config to /etc/samba/smb.conf if set to true
- 目标
- CUSTOM_SMB_CONF
- 默认值
- false
- 价值
- false
indicates that you are going to bind mount /etc/password, /etc/group, and /etc/shadow; and create data directories if set to true
- 目标
- CUSTOM_USER
- 默认值
- false
- 价值
- false
sets the debug level for nmbd and smbd
- 目标
- DEBUG_LEVEL
- 默认值
- 1
- 价值
- 1
sets the value of time machine to mimic (e.g. TimeCapsule8,119 or TimeCapsule6,116)
- 目标
- MIMIC_MODEL
- 默认值
- TimeCapsule8,119
- 价值
- TimeCapsule8,119
specifies a directory in which individual variable files, ending in .conf. In order to add multiple users who have their own shares, you will need to create a file for each user and put them in a directory.
- 目标
- EXTERNAL_CONF
set to yes if you would like only the share(s) a user can access to appear
- 目标
- HIDE_SHARES
- 默认值
- no
- 价值
- no
sets the group name time machine runs as
- 目标
- TM_GROUPNAME
- 默认值
- timemachine
- 价值
- timemachine
sets the UID of the Executing User (TM_USERNAME)
- 目标
- TM_UID
- 默认值
- 1000
- 价值
- 1000
set to true to have the entrypoint set ownership and permission on the /opt/ in the container
- 目标
- SET_PERMISSIONS
- 默认值
- false
- 价值
- false
if yes, permissions for new files will be forced to match the parent folder
- 目标
- SMB_INHERIT_PERMISSIONS
- 默认值
- no
- 价值
- no
value of fruit:nfs_aces; support for querying and modifying the UNIX mode of directory entries via NFS ACEs
- 目标
- SMB_NFS_ACES
- 默认值
- yes
- 价值
- yes
value of fruit:metadata; controls where the OS X metadata stream is stored
- 目标
- SMB_METADATA
- 默认值
- stream
- 价值
- stream
sets the port that Samba will be available on
- 目标
- SMB_PORT
- 默认值
- 445
- 价值
- 445
value of vfs objects
- 目标
- SMB_VFS_OBJECTS
- 默认值
- acl_xattr fruit streams_xattr
- 价值
- acl_xattr fruit streams_xattr
set the SMB workgroup name
- 目标
- WORKGROUP
- 默认值
- WORKGROUP
- 价值
- WORKGROUP
sets the GID of the TM_GROUPNAME group
- 目标
- TM_GID
- 默认值
- 1000
- 价值
- 1000
sets the name of the timemachine share to.
- 目标
- SHARE_NAME
- 默认值
- TimeMachine
- 价值
- TimeMachine
类别
下载统计数据
长期下载总量
详细信息
在Unraid 上运行 TimeMachine 。
TimeMachine 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。