Thanks for the reply. So where you say, “You’ll just need one prune operation for each storage”, does this mean one prune operation per “Storage URL” or “Storage Name”? See how the terminology is confusing?
I changed my script so that I run the prune command once a week:
+ /mnt/pool0/support/duplicacy/duplicacy_freebsd_x64_2.4.0 -log prune -all -exclusive -keep 0:30 -threads 15
But then I get confused again. I specify “-all” then in the output I see:
2020-03-14 15:04:37.631 INFO REPOSITORY_SET Repository set to /mnt/duplicacy/trainingandchecking
If I specify “-all” why is it defaulting to the first listed storage ID in the preferences file? Note: I have one preferences file outside of the storage being backed-up that contains the info for each “ID”
[
{
"name": "b2-trainingandchecking",
"id": "trainingandchecking",
"repository": "/mnt/duplicacy/trainingandchecking",
"storage": "b2://flypelican-freenas",
"encrypted": true,
"no_backup": false,
"no_restore": false,
"no_save_password": false,
"nobackup_file": "",
"keys": {
"b2_id": "xxxxxxxxxxxxxxx",
"b2_key": "xxxxxxxxxxxxxx",
"password": "xxxxxxxxxxxxxxxxxxx"
},
"filters": "/mnt/pool0/support/duplicacy/b2/filters"
},
{
"name": "b2-support",
"id": "support",
"repository": "/mnt/duplicacy/support",
"storage": "b2://flypelican-freenas",
"encrypted": true,
"no_backup": false,
"no_restore": false,
"no_save_password": false,
"nobackup_file": "",
"keys": {
"b2_id": "xxxxxxxxxxxxxxx",
"b2_key": "xxxxxxxxxxxxxx",
"password": "xxxxxxxxxxxxxxxxxxx"
},
"filters": "/mnt/pool0/support/duplicacy/b2/filters"
},
{
"name": "b2-camo",
"id": "camo",
"repository": "/mnt/duplicacy/camo",
"storage": "b2://flypelican-freenas",
"encrypted": true,
"no_backup": false,
"no_restore": false,
"no_save_password": false,
"nobackup_file": "",
"keys": {
"b2_id": "xxxxxxxxxxxxxxx",
"b2_key": "xxxxxxxxxxxxxx",
"password": "xxxxxxxxxxxxxxxxxxx"
},
"filters": "/mnt/pool0/support/duplicacy/b2/filters"
},
{
"name": "b2-pilots",
"id": "pilots",
"repository": "/mnt/duplicacy/pilots",
"storage": "b2://flypelican-freenas",
"encrypted": true,
"no_backup": false,
"no_restore": false,
"no_save_password": false,
"nobackup_file": "",
"keys": {
"b2_id": "xxxxxxxxxxxxxxx",
"b2_key": "xxxxxxxxxxxxxx",
"password": "xxxxxxxxxxxxxxxxxxx"
},
"filters": "/mnt/pool0/support/duplicacy/b2/filters"
},
{
"name": "b2-aocdocuments",
"id": "aocdocuments",
"repository": "/mnt/duplicacy/aocdocuments",
"storage": "b2://flypelican-freenas",
"encrypted": true,
"no_backup": false,
"no_restore": false,
"no_save_password": false,
"nobackup_file": "",
"keys": {
"b2_id": "xxxxxxxxxxxxxxx",
"b2_key": "xxxxxxxxxxxxxx",
"password": "xxxxxxxxxxxxxxxxxxx"
},
"filters": "/mnt/pool0/support/duplicacy/b2/filters"
},
{
"name": "b2-office",
"id": "office",
"repository": "/mnt/duplicacy/office",
"storage": "b2://flypelican-freenas",
"encrypted": true,
"no_backup": false,
"no_restore": false,
"no_save_password": false,
"nobackup_file": "",
"keys": {
"b2_id": "xxxxxxxxxxxxxxx",
"b2_key": "xxxxxxxxxxxxxx",
"password": "xxxxxxxxxxxxxxxxxxx"
},
"filters": "/mnt/pool0/support/duplicacy/b2/filters"
}
]