I would love to have the possibility to directly refer to the latest backup like in "bup" where you can access the latest one by specifying "latest" as location.
Currently I use something list this:
borg list vps-borg:mt02-df-dbs.borg::$(borg list vps-borg:mt02-df-dbs.borg | tail -1 | awk '{ print $1 }')
With that change this would be:
borg list vps-borg:mt02-df-dbs.borg::latest
Of course latest could than not be an archive name anymore.
I would like if this also would support --prefix definitions and use the latest backup of an archive with that prefix.
P.S.: I know that all of this could be done with scripting. But that would be harder to handle all kinds of possible errors.
I would love to have the possibility to directly refer to the latest backup like in "bup" where you can access the latest one by specifying "latest" as location.
Currently I use something list this:
With that change this would be:
Of course
latestcould than not be an archive name anymore.I would like if this also would support --prefix definitions and use the latest backup of an archive with that prefix.
P.S.: I know that all of this could be done with scripting. But that would be harder to handle all kinds of possible errors.