This repository provides a solution for securely backing up your Apple Photos from both macOS and iOS devices to an encrypted remote server. It leverages open-source tools like osxphotos, gocryptfs, SSHFS and SSH.
- macOS:
Automated export and backup of Apple Photos using local scripts,osxphotos, and encrypted remote storage via SSHFS andgocryptfs. - iOS:
Automated backup from iPhone using Apple Shortcuts, Scriptable, and secure transfer to a remote encrypted folder.
- Exports original photos and videos from the Apple Photos app, even with iCloud Advanced Data Protection and "Optimize Mac Storage" enabled.
- Uses osxphotos for export and gocryptfs for encryption.
- Automated periodic backups via
launchd. - See macOS/README.MD for detailed setup and usage instructions.
- Backs up photos from iPhone to a remote encrypted server using Apple Shortcuts and Scriptable.
- Secure passphrase handling via iOS keychain.
- Preserves metadata and directory structure.
- See iOS/README.MD for detailed setup and usage instructions.
This project is licensed under the MIT License.
You are free to use, modify, and distribute this software.
See the LICENSE file for details.
This software is provided "as is", without warranty of any kind. Use at your own risk.