Ah, ok, great, my poor linux skills at play.
Next question, how can I invoke the CLI using exactly what the web would do?
I can see in the log what options are used, but the authentication parameters are not logged, so when I run the CLI using the options from the log, my setup asks for the B2 auth parameters.
I assume the web is pointing the CLI at the config files, but I don’t see it being logged.
E.g. from log:
Running backup command from /cache/localhost/1 to back up /backuproot/media
Options: [-log backup -storage B2-Media -stats]
202019-09-12 02:00:01.941 INFO REPOSITORY_SET Repository set to /backuproot/back2012019-09-12 02:00:01.941 INFO STORAGE_SET Storage set to b2://ptr727-Duplicacy-Server-1-Bac20192019-09-12 02:00:47.471 INFO BACKUP_START Last backup at revision 6 found
2019-09-12 02:00:47.472 INFO BACKUP_INDEXING Indexing /backuproot/backup
2019-09-12 02:00:47.472 INFO SNAPSHOT_FILTER Parsing filter file /cache/localhost/0/.duplicacy/filters
2019-09-12 02:00:47.472 INFO SNAPSHOT_FILTER Loaded 0 include/exclude pattern20192019-09-12 02:06:27.802 INFO LIST_ATTRIBUTES Discarding file attributes
2019-09-12 02:25:14.940 INFO BACKUP_END Backup for /backuproot/backup at revision 7 completed
2019-09-12 02:25:14.940 INFO BACKUP_STATS Files: 1627102 total, 1254G bytes; 0 new, 0 bytes
2019-09-12 02:25:14.940 INFO BACKUP_STATS File chunks: 296908 total, 1254G bytes; 0 new, 0 bytes, 0 bytes uploaded
2019-09-12 02:25:14.940 INFO BACKUP_STATS Metadata chunks: 165 total, 872,072K bytes; 0 new, 0 bytes, 0 bytes uploaded
2019-09-12 02:25:14.940 INFO BACKUP_STATS All chunks: 297073 total, 1255G bytes; 0 new, 0 bytes, 0 bytes uploaded
2019-09-12 02:25:14.940 INFO BACKUP_STATS Total running time: 00:25:10
From my CLI:
/ # cd /cache/localhost/1
/cache/localhost/1 # /config/bin/duplicacy_linux_x64_2.2.3 -log backup -storage B2-Media -stats -enum-only
2019-09-12 15:57:41.151 INFO REPOSITORY_SET Repository set to /backuproot/media
2019-09-12 15:57:41.151 INFO STORAGE_SET Storage set to b2://ptr727-Duplicacy-Server-1-Media
Enter Backblaze account or application id:
How would I let the CLI use the preconfigured storage auth data from the config files?