Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Provide better naming with backuptarget=/#32

Closed
assistcontrol wants to merge 2 commits intomasterfrom
nicerdirname
Closed

Provide better naming with backuptarget=/#32
assistcontrol wants to merge 2 commits intomasterfrom
nicerdirname

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.

1 participant