Support --timestamp and --comment for create
borg create allows for setting the archive timestamp with --timestamp, which is a very basic and useful option. Emborg doesn't seem to support it, except for possibly with raw command(s). It would be very useful if emborg create was able to pass the --timestamp flag.
A similar one is --comment, which also seems like one Emborg should recognize and allow, if it doesn't already.
I don't understand the need for --timestamp. Can you explain its use?
Presumably, you want --timestamp and --comment to be command line arguments of the emborg create command?
Presumably, you want --timestamp and --comment to be command line arguments of the emborg create command?
Yes, to be recognized by emborg create, taken into account and passed to borg create (which already supports them).
I don't understand the need for --timestamp. Can you explain its use?
- Importing older non-Borg backups, from any filesystem.
import-taris somewhat limited,create --timestampseems like a more versatile replacement. - Better control of archive timestamps, for example to make timestamp of the archive exactly the same as of a certain file in the archive (newest file of the archive, a selected log file, ...). And also better control of archive timezones, if needed.
- Having a useful low-level argument that can be useful in a manual repository recovery/rebuild.
Went through Borg 1.4 manpages and found more cases of missing arguments that seem crucial or very useful for Emborg users:
- Sparse-file-related: While
create --sparseis already supported (but missing from manpage/help/docs?),extract --sparseisn't. - While
delete --forceis supported, it's not clear whetherdelete --force --forceis as well. - While
delete --forceis supported,prune --forceandprune --force --forcearen't. - Cache-space-related:
create --no-cache-sync,check --save-space,delete --save-spaceandprune --save-space. mount -oandmount --consider-checkpointsinit --storage-quota
These are selected from many more Borg arguments, keeping in mind the KISS principle of Emborg.