TimeMachine

TimeMachine

Docker-Anwendung from moritzf's Repository

Übersicht

This application provides a Samba based Time Machine network share. It can be configured to support multiple or single users and restrict the maximum size used for Time Machine backups.

Anforderungen

You will need to set the filesystem permissions on disk. By default, the timemachine user is 1000:1000.

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.

Laufzeit-Argumente

Netzwerk
br0
Shell
sh
Privilegiert
false
Extra Params
--hostname timemachine

Konfiguration der Vorlage

Time Machine Backup DataPathrw

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.

Ziel
/opt/timemachine
Wert
/mnt/user/timemachine/
Size LimitVariable

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.

Ziel
VOLUME_SIZE_LIMIT
Standard
1 T
Wert
1 T
User NameVariable

sets the username time machine runs as

Ziel
TM_USERNAME
Wert
timemachine
User PasswordVariable

sets the password for the timemachine user. The default value is Z92efVNcokU26x.

Ziel
PASSWORD
Standard
Z92efVNcokU26x
Wert
Z92efVNcokU26x
Advertised HostnameVariable

Avahi will advertise the smb services at this hostname instead of the local hostname

Ziel
ADVERTISED_HOSTNAME
Wert
timemachine
Use Custom SMB ConfigurationVariable

indicates that you are going to bind mount a custom config to /etc/samba/smb.conf if set to true

Ziel
CUSTOM_SMB_CONF
Standard
false
Wert
false
Custom UserVariable

indicates that you are going to bind mount /etc/password, /etc/group, and /etc/shadow; and create data directories if set to true

Ziel
CUSTOM_USER
Standard
false
Wert
false
Debug LevelVariable

sets the debug level for nmbd and smbd

Ziel
DEBUG_LEVEL
Standard
1
Wert
1
Mimic ModelVariable

sets the value of time machine to mimic (e.g. TimeCapsule8,119 or TimeCapsule6,116)

Ziel
MIMIC_MODEL
Standard
TimeCapsule8,119
Wert
TimeCapsule8,119
External Configuration DirectoryVariable

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.

Ziel
EXTERNAL_CONF
Hide SharesVariable

set to yes if you would like only the share(s) a user can access to appear

Ziel
HIDE_SHARES
Standard
no
Wert
no
Group NameVariable

sets the group name time machine runs as

Ziel
TM_GROUPNAME
Standard
timemachine
Wert
timemachine
User UIDVariable

sets the UID of the Executing User (TM_USERNAME)

Ziel
TM_UID
Standard
1000
Wert
1000
Set PermissionsVariable

set to true to have the entrypoint set ownership and permission on the /opt/ in the container

Ziel
SET_PERMISSIONS
Standard
false
Wert
false
SMB Inherit PermissionsVariable

if yes, permissions for new files will be forced to match the parent folder

Ziel
SMB_INHERIT_PERMISSIONS
Standard
no
Wert
no
SMB fruit:nfs_acesVariable

value of fruit:nfs_aces; support for querying and modifying the UNIX mode of directory entries via NFS ACEs

Ziel
SMB_NFS_ACES
Standard
yes
Wert
yes
SMB fruit:metadataVariable

value of fruit:metadata; controls where the OS X metadata stream is stored

Ziel
SMB_METADATA
Standard
stream
Wert
stream
SMB PortVariable

sets the port that Samba will be available on

Ziel
SMB_PORT
Standard
445
Wert
445
SMB vfs objectsVariable

value of vfs objects

Ziel
SMB_VFS_OBJECTS
Standard
acl_xattr fruit streams_xattr
Wert
acl_xattr fruit streams_xattr
SMB Workgroup NameVariable

set the SMB workgroup name

Ziel
WORKGROUP
Standard
WORKGROUP
Wert
WORKGROUP
Group GIDVariable

sets the GID of the TM_GROUPNAME group

Ziel
TM_GID
Standard
1000
Wert
1000
Share NameVariable

sets the name of the timemachine share to.

Ziel
SHARE_NAME
Standard
TimeMachine
Wert
TimeMachine

Kategorien

Statistik herunterladen

5,854,960
Downloads insgesamt
46,420
Dieser Monat
38,979
Durchschnittlich / Monat

Gesamte Downloads im Laufe der Zeit

Tabelle laden...

Einzelheiten

Repository
mbentley/timemachine
Zuletzt aktualisiert2026-05-09
Erstmals gesehen2022-05-25

Führen Sie TimeMachine auf Unraid aus.

TimeMachine ist gelistet in Community Apps für Unraid OS. Erkunden Sie Unraid, um einen flexiblen Heimserver, ein NAS oder ein Heimlabor aufzubauen.