To me it’s important to setup a backup job to automatically be able to run via cron ect.
I’ve read through the documentation in regards to automatically be able to save things such as the backup password, s3 credentials, ssh keys etc. It’s not very clear at all.
I’m able to do a workaround but it requires manually editing the .duplicacy/preferences file.
For example, if I want to backup to an sftp server even if I use keys, I always get prompted for the following:
Enter SSH password:
Enter the path of the private key file:
Enter storage password for sftp
This prevents you from automatically running backups.
My workaround is manually editing the .duplicacy/preferences file to change the keys line:
“keys”: {
“password”: “MySecretPassword”,
“ssh_key_file”: “/home/upssnowman/.ssh/id_rsa”
},
It works flawlessly but it’s a pain to manually add this to any backup I want to run.