diff options
author | 2022-04-22 12:05:34 +0200 | |
---|---|---|
committer | 2022-04-22 12:05:34 +0200 | |
commit | 1f625b2e89b27c391a8c2f4aa9a82630f10abb92 (patch) | |
tree | 477d38b68d417f9577e89fd4baf74768a1b3ecc4 /docs/idevicebackup2.1 | |
parent | 7a0aedc97c66025d678afee66e735b6e3dcf0b9c (diff) | |
download | libimobiledevice-1f625b2e89b27c391a8c2f4aa9a82630f10abb92.tar.gz libimobiledevice-1f625b2e89b27c391a8c2f4aa9a82630f10abb92.tar.bz2 |
idevicebackup2: Allow passing backup password via environment variable
Diffstat (limited to 'docs/idevicebackup2.1')
-rw-r--r-- | docs/idevicebackup2.1 | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/docs/idevicebackup2.1 b/docs/idevicebackup2.1 index ba5ef53..74d1c68 100644 --- a/docs/idevicebackup2.1 +++ b/docs/idevicebackup2.1 | |||
@@ -62,7 +62,9 @@ remove items which are not being restored. | |||
62 | do not trigger re-installation of apps after restore. | 62 | do not trigger re-installation of apps after restore. |
63 | .TP | 63 | .TP |
64 | .B \t\-\-password PWD | 64 | .B \t\-\-password PWD |
65 | supply the password of the source backup. | 65 | supply the password for the encrypted source backup. If omitted, the password |
66 | will be requested in interactive mode (\f[B]\-i\f[]), or it can be passed using | ||
67 | the environment variable \f[B]BACKUP_PASSWORD\f[]. | ||
66 | .TP | 68 | .TP |
67 | .B info | 69 | .B info |
68 | show details about last completed backup of device. | 70 | show details about last completed backup of device. |
@@ -74,13 +76,23 @@ list files of last completed backup in CSV format. | |||
74 | unpack a completed backup in DIRECTORY/_unback_/ | 76 | unpack a completed backup in DIRECTORY/_unback_/ |
75 | .TP | 77 | .TP |
76 | .B encryption on|off [PWD] | 78 | .B encryption on|off [PWD] |
77 | enable or disable backup encryption. | 79 | enable or disable backup encryption. The password will be requested in |
80 | interactive mode (\f[B]\-i\f[]) if omitted, or it can be passed using the | ||
81 | environment variable \f[B]BACKUP_PASSWORD\f[]. | ||
78 | .TP | 82 | .TP |
79 | .B changepw [OLD NEW] | 83 | .B changepw [OLD NEW] |
80 | change backup password on target device. | 84 | change backup password on target device. The passwords will be requested in |
85 | interactive mode (\f[B]\-i\f[]) if omitted, or they can be passed using the | ||
86 | environment variables \f[B]BACKUP_PASSWORD\f[] (old password) and | ||
87 | \f[B]BACKUP_PASSWORD_NEW\f[] (new password) respectively. | ||
81 | .TP | 88 | .TP |
82 | .B cloud on|off | 89 | .B cloud on|off |
83 | enable or disable cloud use (requires iCloud account). | 90 | enable or disable cloud use (requires iCloud account). |
91 | .SH SECURITY CONSIDERATIONS | ||
92 | Passing passwords on the command line is not advised, since it might reveal | ||
93 | the backup password to other users via process list or command line history. | ||
94 | Use interactive mode (\f[B]\-i\f[]) or pass them via environment variable(s) | ||
95 | as mentioned in the description of the respective commands above. | ||
84 | .SH AUTHORS | 96 | .SH AUTHORS |
85 | Martin Szulecki | 97 | Martin Szulecki |
86 | 98 | ||