Skip to content

gaetanmuck/icloud_cold_backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iCloud Cold Backup

GitHub Downloads (all assets, all releases)

A python script to save icloud content on a hard drive. Only apply modifications from last execution.

Supported:

  • iCloud Drive
  • iCloud Photos

Usage

Environment Variables

APPLE_ID

Create an environment variable named "APPLE_ID" with the Apple identifier you need to save the iCloud from.

APPLE_PWD

Create an environment variable named "APPLE_PWD" with the password associated to the Apple account. This password will only be used to connect to iCloud API. Do not trust me, check the code!

BACKUP_PATH

Create an environment variable named "BACKUP_PATH" for the place where you want your backup to be stored. eg: you have a Hard Drive Disk you want to use for this purpose named "HDD", then it should be: BACKUP_PATH=/Volumes/HDD

Dependencies

Getting started

  1. Clone the repository: git clone https://github.com/gaetanmuck/icloud_cold_backup.git (suppose you did that here: ~)
  2. Install dependencies: pip install gmpykit pyicloud
  3. Set all three environment variables
  4. Create an alias in your RC file: echo "alias backup='python3 ~/icloud_cold_backup/backup.py'" >> ~/.zshrc (suppose you use ZSH)
  5. Restart your Terminal (or run source ~/.zshrc)
  6. Run backup

Thanks

If you find value in this script and would like to show your support, you can Buy Me A Coffee, it would be grateful.

About

A python script to save icloud content on a hard drive

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages