Support January 27, 2009
To control backups externally, Jungle Disk supports command line controls on our Desktop and Workgroup Editions. These controls can be use with items like Windows Scheduled Tasks, cron, etc. to launch Jungle Disk when a backup needs to occur.
Note: You need to have Jungle Disk 3.05 or newer in order to use Jungle Disk via Command Line.
The following command line options that can be processed on application startup:
| -h/--help | print this help |
| -v/--version | print version |
| -d | enable debugging |
| -V/--verbose | verbose mode (only valid with -f) |
| -b/--startbackups | start all backup jobs |
| -f | run in foreground (default is daemon) |
| --startbackup <name|guid> | start a single backup job |
| --listbackups | list all configured backups |
| --listbuckets/--listonlinedisks | list all configured buckets |
| -x/--exit | exit when idle for 1 minute |
| --exitdelay <minutes> | exit after X idle minutes |
| --config <filename> | use the specified configuration file |
| -o opt[,opt...] | additional FUSE mount options |
Mac Command Line Invocation: Because the actual binary is stored inside the JungleDiskMonitor.app bundle, you must call inside the bundle to pass command line parameters to it:
./JungleDiskMonitor.app/Contents/MacOS/JungleDiskMonitor --exitdelay 5
Note for Linux users: For Jungle Disk versions up to (and including) 2.61a, operations via the command line must be performed using a separate application. Exit "junglediskmonitor", and run "jungledisk" instead using the command-line options shown above. For a complete listing of linux command-line commands, run "jungledisk --help".
Examples:
jungledisk -d --config /etc/jungledisk-settings.xml
jungledisk /mnt/cloudstorage --config /etc/settings.xml
jungledisk -o allow_other
For Linux users with no GUI, you'll need to generate a configuration file from a GUI based machine first, then copy over the configuration file. You cannot generate a configuration file from command line at this time.
Configuration files are located in different locations based on your host operating system. For a list, see this article.
A full definition of the variables used in the configuration XML file can be located here.