I am currently running macOS 10.12 and I was trying to find how to use Duplicati in the terminal command line interface. I still haven’t found it yet.
I have found the following file that hints about command line usage:
I tried running this using:
I then received the following output:
Invalid type Microsoft.WindowsAzure.Storage.Blob.BlobEncryptionPolicy for instance field Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions:<EncryptionPolicy>k__BackingField Invalid type Microsoft.WindowsAzure.Storage.Queue.QueueEncryptionPolicy for instance field Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptions:<EncryptionPolicy>k__BackingField Invalid type Microsoft.WindowsAzure.Storage.Table.TableEncryptionPolicy for instance field Microsoft.WindowsAzure.Storage.Table.TableRequestOptions:<EncryptionPolicy>k__BackingField See duplicati.commandline.exe help <topic> for more information. General: example, changelog Commands: backup, find, restore, delete, compact, test, compare, purge Reparing: repair, affected, list-broken-files, purge-broken-files Debugging: debug, logging, create-report, test-filters, system-info, send-mail Targets: aftp, amzcd, azure, b2, box, cloudfiles, dropbox, ftp, file, googledrive, gcs, hubic, jottacloud, mega, onedrive, openstack, s3, ssh, od4b, mssp, tahoe, webdav Modules: aes, gpg, zip, 7z, console-password-input, mssql-options, hyperv-options, http-options, sendhttp, sendmail, runscript, sendxmpp, check-mono-ssl Formats: date, time, size, encryption, compression Advanced: mail, advanced, returncodes, filter, <option> http://www.duplicati.com/ Version: - 22.214.171.124_beta_2017-08-01
That output suggests running
duplicati.commandline.exe help <topic> but I am not running a Windows machine.
bash /Applications/Duplicati.app/Contents/MacOS/duplicati-cli help gives the same message.
It did work, however, when I used
bash /Applications/Duplicati.app/Contents/MacOS/duplicati-cli help example.
I currently have Duplicati normally running and backing up stuff, but I would like to use a command to be able to see the progress log through the terminal interface.
I also think it would be helpful to include the command line usage on GitHub. What do you think?