Automates local config file update and port forward for connecting to a headless Crashplan server.
"dullaplan" is a portmanteau of Dullahan and Crashplan.
- Updates local config file so that the Crashplan GUI application connects to
the remote server via port forward instead of the local server
- Finds remote config file and extracts authentication token
- Backs up local config file
- Writes new local config file with remote authentication token and updated port number (to use SSH port forward)
- Creates SSH connection with port forward
- Restores local config file on exit
Execute
dullaplan.sh
(example below assumes macOS local and Linux remote):Example invocation:
sudo dullaplan.sh backupserver
Example output:
Parameters: remote_host: backupserver remote_config: /var/lib/crashplan/.ui_info remote_auth_token: abcdefgh-ijkl-mnop-qrst-uvwxyz012345 local_config: /Library/Application Support/CrashPlan/.ui_info local_backup: /Library/Application Support/CrashPlan/.ui_info.bak Creating SSH Tunnel... Close this connection to revert local config
Open Crashplan application
(Complete the tasks that require the GUI)
Close Crashplan application
Quit
dullaplan.sh
(ex.^C
) or close the terminal window it was launched in
Install Homebrew — The missing package manager for macOS
Add the TimidRobot "tap" and install dullaplan:
brew tap TimidRobot/tap brew install dullaplan
Alternatively, since dullaplan.sh
is a bash script without esoteric
dependencies, you can simply download it and ensure it is in your PATH
.
- Crashplan
- *nix Operating System with
- core utilities (
awk
,col
, andfind
) - GNU Bourne-Again Shell (
bash
) - OpenSSH (
ssh
) - Sudo (
sudo
)
- core utilities (
- LICENSE (Expat/MIT License)