Bug 1330302 - [RFE] Provide way to determine repo size
Summary: [RFE] Provide way to determine repo size
Keywords:
Status: CLOSED DUPLICATE of bug 1401663
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Repositories
Version: Unspecified
Hardware: Unspecified
OS: Unspecified
medium
medium vote
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-25 20:00 UTC by Stephen Wadeley
Modified: 2020-06-11 12:51 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-10-12 13:20:59 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Stephen Wadeley 2016-04-25 20:00:40 UTC
Description of problem:

The guides mention the need to allow space when making backups or exporting repos, but I have not found a way to easily determine the on-disk size of a repo.

Such a tool would be appreciated. 

Additional info:

One way to do this would be to add a no-op option to the `hammer repository export` command which tells you the space that would be required.

Another way would be if the `hammer repo list` could provide that info. Whether the info is calculated on the fly or read from a value updated at repo sync time should not matter to the user.

As hammer commands get info from the API I will file this bug against the API component.


Thank you

Comment 2 Bryan Kearney 2017-10-12 13:20:59 UTC

*** This bug has been marked as a duplicate of bug 1401663 ***


Note You need to log in before you can comment on or make changes to this bug.