Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List more archive metadata #8422

Merged

Commits on Sep 26, 2024

  1. repo-list --short: only print archive IDs

    Needed to change this because listing just the
    archive names is pretty useless if names are not
    unique.
    
    The short list is likely mostly used by scripts to
    iterate over all archives, so outputting IDs is
    better.
    ThomasWaldmann committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    1b68053 View commit details
    Browse the repository at this point in the history
  2. repo-list: add hostname/username/comment to default format, reorder, …

    …adjust
    
    borg 1.x encouraged users to put everything into the archive name:
    - name of the dataset
    - timestamp (usually used to make the archive name unique)
    - maybe also hostname (when backing up to same repo from multiple hosts)
    - maybe also username (when backing up to same repo from multiple users)
    
    borg2 now discourages users from putting the timestamp into the name,
    because we rather want same name within a series of archives - thus,
    the field width for the name can be narrower.
    
    the ID of the archive is now the only unique identifier, thus it is
    moved to the leftmost place.
    256bits (64 hex digits) was a bit much and as borg can also deal with
    abbreviated IDs, we only show 32bits (8 hex digits) by default.
    
    the ID is followed by the timestamp (also quite "interesting", because
    it usually differs for different archives).
    
    then following are: archive name, user name, host name - these might be
    always the same if there is only one series of archives in a repo.
    
    use 2 blanks separating the fields for better readability.
    ThomasWaldmann committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    9b3a002 View commit details
    Browse the repository at this point in the history