Yes and Yes.
Duplicacy follows the git/hg command model. To initialize the repository (the backup to be backed up), run the init command:
duplicacy init repository_id storage_url -e
The -e option turns on the encryption.To backup:
duplicacy backup
To restore: duplicacy restore -r revision_number [files]