https://github.com/cub0n/timemachine-to-backintime
Apple Time Machine to BackInTime
https://github.com/cub0n/timemachine-to-backintime
apple backintime backup bash-script linux timemachine
Last synced: about 2 months ago
JSON representation
Apple Time Machine to BackInTime
- Host: GitHub
- URL: https://github.com/cub0n/timemachine-to-backintime
- Owner: Cub0n
- License: mit
- Created: 2022-10-01T10:09:18.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-12T11:08:30.000Z (over 3 years ago)
- Last Synced: 2025-05-18T11:08:55.019Z (about 1 year ago)
- Topics: apple, backintime, backup, bash-script, linux, timemachine
- Language: Shell
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Apples TimeMachine Backups to BackInTime
## Tools used
* Linux machine
* Apple computer
* sshfs
* rsync
## Pre-Work
An apple computer is needed to read the backup from the (external) harddrive.
Linux is not able to read Apples (encrypted) file system properly, so we have to remount it for Linux.
## Steps to reproduce
* On Linux machine mount the remote Apple Time Machine Volume with sshfs (https://github.com/libfuse/sshfs)
```bash
sshfs user@machine:/Volumes/BACKUP /media/MOUNT_POINT
```
* The Apple Time Machine Backup is now mounted on the Linux machine. SSHFS does not support hardlinks, so we rebuild them with rsync's *link-dest*
* Adjust SRC and DST variable in shell script.
* Make script executable
```bash
chmod 700 transformToBackInTime.sh
```
* Check if some more files from Apple TimeMachine has to be excluded (see exclude.txt)
* **Always test the script with rsync's --dry-run parameter**
* Run script
## Inspired by
https://gist.github.com/tyzhnenko/d17b3cdc7ec6edf4164d788b552c1513#file-tmclone-sh
## Open Issue
* How to consolidate Backups, also see https://github.com/bit-team/backintime/issues/1235
* Synchronization to BackInTime is only possible with one machine name