TimeMachine

TimeMachine

Aplicación Docker from moritzf's Repository

Visión general

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.

Requisitos

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.

Argumentos en tiempo de ejecución

Red
br0
Concha
sh
Privilegiado
false
Parámetros adicionales
--hostname timemachine

Configuración de plantillas

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.

Objetivo
/opt/timemachine
Valor
/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.

Objetivo
VOLUME_SIZE_LIMIT
Por defecto
1 T
Valor
1 T
User NameVariable

sets the username time machine runs as

Objetivo
TM_USERNAME
Valor
timemachine
User PasswordVariable

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

Objetivo
PASSWORD
Por defecto
Z92efVNcokU26x
Valor
Z92efVNcokU26x
Advertised HostnameVariable

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

Objetivo
ADVERTISED_HOSTNAME
Valor
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

Objetivo
CUSTOM_SMB_CONF
Por defecto
false
Valor
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

Objetivo
CUSTOM_USER
Por defecto
false
Valor
false
Debug LevelVariable

sets the debug level for nmbd and smbd

Objetivo
DEBUG_LEVEL
Por defecto
1
Valor
1
Mimic ModelVariable

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

Objetivo
MIMIC_MODEL
Por defecto
TimeCapsule8,119
Valor
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.

Objetivo
EXTERNAL_CONF
Hide SharesVariable

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

Objetivo
HIDE_SHARES
Por defecto
no
Valor
no
Group NameVariable

sets the group name time machine runs as

Objetivo
TM_GROUPNAME
Por defecto
timemachine
Valor
timemachine
User UIDVariable

sets the UID of the Executing User (TM_USERNAME)

Objetivo
TM_UID
Por defecto
1000
Valor
1000
Set PermissionsVariable

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

Objetivo
SET_PERMISSIONS
Por defecto
false
Valor
false
SMB Inherit PermissionsVariable

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

Objetivo
SMB_INHERIT_PERMISSIONS
Por defecto
no
Valor
no
SMB fruit:nfs_acesVariable

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

Objetivo
SMB_NFS_ACES
Por defecto
yes
Valor
yes
SMB fruit:metadataVariable

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

Objetivo
SMB_METADATA
Por defecto
stream
Valor
stream
SMB PortVariable

sets the port that Samba will be available on

Objetivo
SMB_PORT
Por defecto
445
Valor
445
SMB vfs objectsVariable

value of vfs objects

Objetivo
SMB_VFS_OBJECTS
Por defecto
acl_xattr fruit streams_xattr
Valor
acl_xattr fruit streams_xattr
SMB Workgroup NameVariable

set the SMB workgroup name

Objetivo
WORKGROUP
Por defecto
WORKGROUP
Valor
WORKGROUP
Group GIDVariable

sets the GID of the TM_GROUPNAME group

Objetivo
TM_GID
Por defecto
1000
Valor
1000
Share NameVariable

sets the name of the timemachine share to.

Objetivo
SHARE_NAME
Por defecto
TimeMachine
Valor
TimeMachine

Categorías

Descargar estadísticas

5,854,960
Descargas totales
46,420
Este mes
38,979
Media / Mes

Descargas totales a lo largo del tiempo

Cargando gráfico...

Detalles

Repositorio
mbentley/timemachine
Última actualización2026-05-09
Visto por primera vez2022-05-25

Ejecute TimeMachine en Unraid.

TimeMachine se encuentra en Community Apps para Unraid OS. Explore Unraid para crear un servidor doméstico flexible, un NAS o un laboratorio doméstico.