Skip to content

third party pkgacct --no-compress #45

@philstark

Description

@philstark

Last I checked, the third party pkgacct scripts did not support a --no-compress option.

I'm wondering how hard it would be to get that added - My thoughts:

pkgacct makes a tarball, compresses it
We transfer the gz archive
restorepkg uncompresses, then unpacks that tarball

If we had a --no-compress option, we could skip the gz/compression process. Swap scp for rsync with compression and we've got an efficiency boost:

pkgacct makes an uncompressed backup (folder? .tar?)
rsync brings over the archive, with stream compression
restorepkg restores the package.

Here, we take out the time required for an entire compression cycle, as essentially we are handling compression/decompression at the same time via rsync.

Additionally, I think this would help alleviate the problems we see sometimes when people have archives in their directories (yo dawg).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions