PitchHut
Log in / Sign up
iCloud Backup
33 views
Effortlessly back up your iCloud Drive and Photos.
Pitch

iCloud Backup is a streamlined tool for automatically downloading your iCloud Drive and Photos to your local filesystem. With a simple command, safeguard your valuable data against unexpected account lockouts. Whether you're using Node.js or Docker, setting up a reliable backup has never been easier.

Description

iCloud Backup

Are you concerned about losing access to your precious data stored in iCloud? The iCloud Backup tool is here to safeguard your files by automatically downloading your iCloud Drive and Photos directly to your local filesystem. It's an essential solution for anyone who values data security and wants to mitigate the risks of being locked out of their account.

Key Features

  • Automated Downloads: Effortlessly back up your iCloud Drive and Photos, ensuring you never lose your important files.

  • Organized Directory Structure: The tool creates a clear directory setup that makes it easy to locate your backed-up files:

    .
    └── Drive
        └── <...>
    └── Photos
        └── All Photos
            └── <.png|.jpg|.mov|...>
    

How It Works

Using iCloud Backup is straightforward. Simply execute the following commands depending on your preferred environment:

Using Node.js

If you have Node.js installed, you can run:

```bash
$ npx -y icloud-backup \
  --username "john.doe@gmail.com" \
  --password "abcd efgh ijkl mnop" \
  --filepath "~/Backups/iCloud/" \
  --services "drive,photos"
```

> **Note:** On your first run, you will need to manually enter your two-factor authentication (2FA) code. For ongoing protection, consider scheduling this tool using a cron job for automated backups.

Using Docker

iCloud Backup also supports Docker, allowing you to run it in a container:

```bash
$ docker run -it \
  --env ICLOUD_BACKUP_USERNAME="john.doe@gmail.com" \
  --env ICLOUD_BACKUP_PASSWORD="abcd efgh ijkl mnop" \
  --env ICLOUD_BACKUP_FILEPATH="/backups" \
  --volume="~/Backups/iCloud/:/backups/" \
  ghcr.io/weejewel/icloud-backup
```

> **Tip:** If automating backups with a cron job, remember to remove `-it` from the command after the initial run.

Acknowledgments

Most of the heavy lifting is accomplished by @foxt via icloud.js. Consider showing your appreciation by sponsoring their work!

Explore More

For users looking for a similar solution to back up Google Mail, Calendar, and Contacts, check out Google Backup.

Take control of your data and protect it today with iCloud Backup!