mirror of
https://github.com/davestephens/ansible-nas
synced 2025-01-12 19:48:47 +00:00
Updated time machine documentation
This commit is contained in:
parent
90ca36857f
commit
199942380e
5 changed files with 15 additions and 7 deletions
|
@ -65,7 +65,7 @@ Ansible config and a bunch of Docker containers.
|
|||
* [Tautulli](http://tautulli.com/) - Monitor Your Plex Media Server
|
||||
* [Telegraf](https://github.com/influxdata/telegraf) - Metrics collection agent
|
||||
* [The Lounge](https://thelounge.chat) - Web based always-on IRC client
|
||||
* [TimeMachine](https://github.com/mbentley/docker-timemachine) - Mac backup server
|
||||
* [TimeMachine](https://github.com/awlx/samba-timemachine) - Samba-based mac backup server (see [upgrade note](https://davidstephens.uk/ansible-nas/upgrading/))
|
||||
* [Traefik](https://traefik.io/) - Web proxy and SSL certificate manager
|
||||
* [Transmission](https://transmissionbt.com/) - BitTorrent client (with OpenVPN if you have a supported VPN provider)
|
||||
* [Wallabag](https://wallabag.org/) - Save and classify articles. Read them later.
|
||||
|
|
|
@ -1,14 +1,20 @@
|
|||
# Time Machine
|
||||
|
||||
Apple docs: [https://support.apple.com/en-us/HT201250](https://support.apple.com/en-us/HT201250)
|
||||
Docker image: [https://github.com/mbentley/docker-timemachine](https://github.com/mbentley/docker-timemachine)
|
||||
Docker image: [https://github.com/awlx/samba-timemachine](https://github.com/awlx/samba-timemachine)
|
||||
|
||||
Time Machine is an application that allows you to backup files from your Mac.
|
||||
|
||||
Older versions of Time Machine relied on AFP (netatalk) shares. Apple has deprecated Time Machine over AFP in favor of SMB (Samba), and current versions of Ansible-NAS use a Samba-based Time Machine share. If you are upgrading from an older version of Ansible-NAS, you will need to re-select your Time Machine back up disk by opening Time Machine Preferences and Selecting your backup disk via the "Select Disk..." option. Your Mac will find the old backups on the share and use them.
|
||||
|
||||
## Usage
|
||||
|
||||
Set `timemachine_enabled: true` in your `group_vars/all.yml` file.
|
||||
|
||||
Enabling Time Machine will result in the installation of Avahi on the NAS system if it is not already installed. Avahi is required for Time Machine discovery. Avahi runs on the system, rather than in a container, as the same Avahi instance can be used to announce any number of services.
|
||||
|
||||
The Samba server included in the Time Machine docker container logs to `STDOUT`S and is compatible with [Docker's built-in logging infrastructure.](https://docs.docker.com/config/containers/logging/)
|
||||
|
||||
## Specific Configuration
|
||||
|
||||
<dl>
|
||||
|
@ -17,8 +23,7 @@ Set `timemachine_enabled: true` in your `group_vars/all.yml` file.
|
|||
<dt><strong>timemachine_volume_size_limit</strong></dt>
|
||||
<dd>The maximum amount of space Time Machine can use for the backups in units of MiB. Set it to 0 for no limit.</dd>
|
||||
<dt><strong>timemachine_share_name</strong></dt>
|
||||
<dd>The name of the share as it will appear in the Time Machine application. Default is 'TimeMachine'</dd>
|
||||
<dd>The name of the share as it will appear in the Time Machine application. Default is 'Data'</dd>
|
||||
<dt><strong>timemachine_password</strong></dt>
|
||||
<dd>The password used to access the share. Default is 'timemachine'</dd>
|
||||
<dt><strong>timemachine_log_level</strong></dt>
|
||||
<dd>The verbosity of the logs. 'Error' is the default.</dd>
|
||||
<dl>
|
|
@ -43,6 +43,7 @@ By default, applications can be found on the ports listed below.
|
|||
| Sonarr | 8989 | |
|
||||
| Tautulli | 8181 | |
|
||||
| The Lounge | 9000 | |
|
||||
| Time Machine | 10445 | SMB |
|
||||
| Traefik | 8083 | |
|
||||
| Transmission | 9091 | with VPN |
|
||||
| Transmission | 9092 | |
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# Upgrading
|
||||
|
||||
Pull the latest Ansible-NAS repo, merge any new config sections from `group_vars/all.yml.dist` into your `group_vars/all.yml`, then run the playbook.
|
||||
Pull the latest Ansible-NAS repo, merge any new config sections from `group_vars/all.yml.dist` into your `group_vars/all.yml`, then run the playbook.
|
||||
|
||||
Older versions of Time Machine included in Ansible-NAS relied on AFP (netatalk) shares. Apple has deprecated Time Machine over AFP in favor of SMB (Samba), and current versions of Ansible-NAS use a Samba-based Time Machine share. If you are upgrading from an older version of Ansible-NAS with the AFP-based Time Machine, you will need to re-select your Time Machine back up disk by opening Time Machine Preferences and Selecting your backup disk via the "Select Disk..." option. Your Mac will find the old backups on the share and use them.
|
|
@ -7,7 +7,7 @@
|
|||
- name: Time Machine Docker Container
|
||||
docker_container:
|
||||
name: timemachine
|
||||
image: ryanolf/samba-timemachine:latest
|
||||
image: awlnx/samba-timemachine:latest
|
||||
pull: true
|
||||
ports:
|
||||
- "{{ timemachine_port }}:445"
|
||||
|
|
Loading…
Reference in a new issue