sure thing , here are my bash scripts:
Host1 (ubuntu)
#!/bin/bash
export RESTIC_REPOSITORY='s3:https://s3.us-west-1.wasabisys.com/myrepo'
export AWS_ACCESS_KEY_ID=myaccessid
export AWS_SECRET_ACCESS_KEY=mysecretaccesskey
export RESTIC_PASSWORD=myresticpassword
restic -r s3:https://s3.us-west-1.wasabisys.com/myrepo init
restic -r s3:https://s3.us-west-1.wasabisys.com/myrepo backup /media/Photos/2017/2017-01-01/ --exclude .AppleDouble
restic -r s3:https://s3.us-west-1.wasabisys.com/myrepo snapshots
output
created restic repository 193a030f3f at s3:https://s3.us-west-1.wasabisys.com/myrepo
Please note that knowledge of your password is required to access
the repository. Losing your password means that your data is
irrecoverably lost.
password is correct
scan [/media/Photos/2017/2017-01-01]
scanned 1 directories, 8 files in 0:00
[0:25] 100.00% 46.418 MiB / 46.418 MiB 9 / 9 items 0 errors ETA 0:00
duration: 0:25
snapshot bb5bfea9 saved
password is correct
ID Date Host Tags Directory
----------------------------------------------------------------------
bb5bfea9 2018-11-24 14:50:20 jupiter /media/Photos/2017/2017-01-01
----------------------------------------------------------------------
1 snapshots
Host 2 (Raspbian)
#!/bin/bash
export RESTIC_REPOSITORY='s3:https://s3.us-west-1.wasabisys.com/myrepo'
export AWS_ACCESS_KEY_ID=myaccesskey
export AWS_SECRET_ACCESS_KEY=mysecretaccesskey
export RESTIC_PASSWORD=myresticpassword
restic -r s3:https://s3.us-west-1.wasabisys.com/myrepo init
restic -r s3:https://s3.us-west-1.wasabisys.com/myrepo snapshots
output
created restic backend c24b8999f0 at s3:https://s3.us-west-1.wasabisys.com/myrepo
Please note that knowledge of your password is required to access
the repository. Losing your password means that your data is
irrecoverably lost.
ID Date Host Tags Directory
----------------------------------------------------------------------