10 lines
554 B
Bash
Executable File
10 lines
554 B
Bash
Executable File
#!/bin/bash
|
|
|
|
API_KEY=
|
|
URL1=https://phantom1.lan:53443
|
|
URL2=https://phantom2.lan:53443
|
|
|
|
curl --insecure --header "Authorization: Bearer $API_KEY" "$URL1/api/settings/backup?scopes=true&stats=true&zones=true&allowedZones=true&blockedZones=true&dnsSettings=true&logSettings=true&authConfig=true" -o technitium_1_backup.zip
|
|
curl --insecure --header "Authorization: Bearer $API_KEY" "$URL2/api/settings/backup?scopes=true&stats=true&zones=true&allowedZones=true&blockedZones=true&dnsSettings=true&logSettings=true&authConfig=true" -o technitium_2_backup.zip
|
|
|