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

Provide better naming with backuptarget=/ #32

Closed
wants to merge 2 commits into from

Conversation

assistcontrol
Copy link
Collaborator

I know They say not to just backup /, sometimes it is the most efficient way to go about it (i.e. many datasets that live in /). Archives produced from backuptarget=/ have weird titles. This commit smooths that over.

Instead of hostname-type-date- (or hostname-type-date-.), simply drop the -target entirely (hostname-type-date).

Instead of hostname-type-date- (or hostname-type-date-.), simply
drop the -target entirely (hostname-type-date).
assistcontrol added a commit that referenced this pull request Jun 14, 2019
There is another PR (#32) that deals with this. Let this PR just
be about configurable limits.
assistcontrol added a commit that referenced this pull request Jun 14, 2019
When backing up /, the archive names were not ideal:
/       -> hostname-daily-date-
. or /. -> hostname-daily-date-.

This commit pulls archive naming into a function to ensure the
archive names are consistent, and will turn /, ., and /. into
  hostname-daily-date
@assistcontrol assistcontrol deleted the nicerdirname branch June 14, 2019 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant