Difference between revisions of "Amahi Time Machine"

From Amahi Wiki
Jump to: navigation, search
Line 11: Line 11:
 
By default, Apple's Time Machine software will grow the backup size to use all available disk space.  To artificially limit this, do the following.
 
By default, Apple's Time Machine software will grow the backup size to use all available disk space.  To artificially limit this, do the following.
  
* Edit the file /etc/netatalk/AppleVolumes.default: On the line that begins '/var/hda/files/amahi-time-machine', add 'volsizelimit:XXXX' AFTER 'options:tm', where XXXX is the artificial limit in MiB.
+
```Do not do this while a backup is running.```
* Execute, as root, 'service netatalk restart'
 
  
NOTE: do not do this while a backup is running. The way Apple's Time Machine software works requires more disk space than the size of the backup available.  It is usually best to put a volume size limit in place before the first backup is created.
+
* Edit the file /etc/netatalk/AppleVolumes.default: On the line that begins '/var/hda/files/amahi-time-machine', add 'volsizelimit:XXXX' AFTER the 'options:..' part separated by a apce, where XXXX is the artificial limit in MiB. Example for a ~600GB limit:
 +
          :DEFAULT: options:tm,upriv,usedots volsizelimit:600000
 +
* Execute this as root:
 +
          systemctl restart netatalk
 +
 
 +
The way Apple's Time Machine software works requires more disk space than the size of the backup available.  It is usually best to put a volume size limit in place before the first backup is created.
  
 
[[Image:TimeMachine.jpg]]
 
[[Image:TimeMachine.jpg]]

Revision as of 22:21, 4 September 2015

This page contains advanced hints and tips on using the Amahi Time Machine app. Unless otherwise stated, the commands listed on this page need to be run with root privileges and therefore extreme care should be taken.

Changing the Backup Location

  • Edit the file /etc/netatalk/AppleVolumes.default and replace this path /var/hda/files/amahi-time-machine by the path of the folder where the backups should go.
  • Execute, as root, 'service netatalk restart'

Note that Time Machine will ask for a user and a password. This user and password you provide must have write access to the folder you set up.

Limiting the Backup Volume Size

By default, Apple's Time Machine software will grow the backup size to use all available disk space. To artificially limit this, do the following.

```Do not do this while a backup is running.```

  • Edit the file /etc/netatalk/AppleVolumes.default: On the line that begins '/var/hda/files/amahi-time-machine', add 'volsizelimit:XXXX' AFTER the 'options:..' part separated by a apce, where XXXX is the artificial limit in MiB. Example for a ~600GB limit:
          :DEFAULT: options:tm,upriv,usedots volsizelimit:600000
  • Execute this as root:
          systemctl restart netatalk

The way Apple's Time Machine software works requires more disk space than the size of the backup available. It is usually best to put a volume size limit in place before the first backup is created.

TimeMachine.jpg

AmahiTimeMachineLogo.png