oetiker / znapzend

zfs backup with remote capabilities and mbuffer integration.
www.znapzend.org
GNU General Public License v3.0
608 stars 138 forks source link

znapzendzetup edit: ignore unchanged backup setup #417

Closed Harvie closed 3 years ago

Harvie commented 5 years ago

If i open backup plan, eg: znapzendzetup edit tank. Then i don't edit anything and close the editor, it will still show following:

Do you want to save this backup set [y/N]? 
NOTE: if you have modified your configuration, send a HUP signal
(pkill -HUP znapzend) to your znapzend daemon for it to notice the change.

I think it should rather say something like:

Backup set was not edited, not doing anything.

It would be similar to crontab:

# crontab -e
No modification made
#

or git:

$ git commit -a
Aborting commit due to empty commit message.
$
stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Harvie commented 3 years ago

bump

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.