Commit 5c888df 1 parent 74c4568 commit 5c888df Copy full SHA for 5c888df
File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 4
4
[ ![ Build & Publish NPM Package] ( https://github.com/WeeJeWel/node-icloud-backup/actions/workflows/npm-publish.yml/badge.svg )] ( https://github.com/WeeJeWel/node-icloud-backup/actions/workflows/npm-publish.yml )
5
5
[ ![ Build & Publish Docker Image] ( https://github.com/WeeJeWel/node-icloud-backup/actions/workflows/ghcr-publish.yml/badge.svg )] ( https://github.com/WeeJeWel/node-icloud-backup/actions/workflows/ghcr-publish.yml )
6
6
7
- This module automatically downloads your iCloud Drive to the filesystem.
7
+ This module automatically downloads your iCloud Drive to the local filesystem.
8
8
9
9
This tool will output the following directory structure:
10
10
11
11
```
12
12
.
13
- ├── Drive
13
+ └── Drive
14
+ └── <...>
14
15
```
15
16
16
17
## Why?
@@ -32,14 +33,16 @@ $ npx -y icloud-backup \
32
33
--filepath " ~/Backups/iCloud/"
33
34
```
34
35
36
+ > The first time you will need to enter your 2FA code manually.
37
+
35
38
> Hint: You can schedule this in a cronjob for automated backups.
36
39
37
40
#### Docker
38
41
39
42
If you prefer Docker, this is an example how to run:
40
43
41
44
``` bash
42
- $ docker run \
45
+ $ docker run -it \
43
46
--env ICLOUD_BACKUP_USERNAME=" john.doe@gmail.com" \
44
47
--env ICLOUD_BACKUP_PASSWORD=" abcd efgh ijkl mnop" \
45
48
--env ICLOUD_BACKUP_FILEPATH=" /backups" \
You can’t perform that action at this time.
0 commit comments