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

Backup Virtual Servers - Readability improvement in the script output text #918

Open
shoulders opened this issue Oct 8, 2024 · 8 comments

Comments

@shoulders
Copy link

shoulders commented Oct 8, 2024

SYSTEM INFORMATION
OS type and version Ubuntu Linux 22.04.5
Usermin version 2.102
Virtualmin version 7.20.2 Pro
Theme version 21.20.7
Apache version 2.4.52
Package updates 2 package updates are available

Background

When you backup virtual servers you get an output on screen telling you what is going on.

The issue

  1. Although the backup all works I feel that the output text could be a little clearer so the end users can see what is going on easier, in particular the separation between the virtual servers.
  2. When you add a virtualmin system config this section does not have a header
  3. Creating final backup archive section should be made clearer
  4. When you add a virtualmin system config the summary at the end does not indicate the config has been backed up

image

Proposed Solutions

  1. Bold the Creating backup for virtual server example.com ..
  2. Add a heading to the Virtualmin system config section in bold.
  3. Creating final backup archive should be bolded
  4. Add some text to the summary at the bottom indicating the Virtualmin system config has been added.
  5. (optional) further separate the summary section with a bolded header

image

@iliajie
Copy link
Collaborator

iliajie commented Oct 8, 2024

Hello,

Thanks for your suggestions!

  1. Add a heading to the Virtualmin system config section in bold.

Thanks for pointing this out!

Yes, this is a bug and should be fixed! We need to wait for Jamie's comment on this though!

  1. Bold the Creating backup for virtual server example.com ..
  2. Creating final backup archive should be bolded
  3. Add some text to the summary at the bottom indicating the Virtualmin system config has been added.
  4. (optional) further separate the summary section with a bolded header

Well, this isn't something common for Virtualmin, and I personally don't like how it looks.

@jcameron
Copy link
Collaborator

jcameron commented Oct 9, 2024

Thanks, I've checked in a fix for that missing heading.

As for the other suggestions, I don't really like bolding as it would be inconsistent with the rest of Virtualmin.

Also, doesn't the summary already say that Virtualmin settings were backed up?

@shoulders
Copy link
Author

shoulders commented Oct 9, 2024

Thanks, I've checked in a fix for that missing heading.

Brilliant + thanks

As for the other suggestions, I don't really like bolding as it would be inconsistent with the rest of Virtualmin.

Fair enough

Also, doesn't the summary already say that Virtualmin settings were backed up?

  • I just ran backing up only the system settings and you are right, but it is not clear. It should be on a separate line and also have the word system in it.
  • I assumed this was somethin to do with owner accounts because you can have less of those than virtual servers

image

additional

Personally I think the summary line that is there is not very clear.

  • If a server backups up successfully, Can they still have errors? perhaps you don't need to add this unless there is errors?
  • 10 servers --> 10 Virtual servers
  • I added the word system to the virtualmin system configuration line so people know it is referring to the system configs and not account owner configs.
  • It is important to put both these on their own line because there are different and might not always be present.
  • I changes the order to: Virtual Servers, System
  • are configurations and settings not the same thing or, configurations are made up of settings? So I removed the word settings.

I think it would be better if it reads like:

10 Virtual servers backed up successfully.
8 Virtualmin system configurations backed up successfully.

@iliajie
Copy link
Collaborator

iliajie commented Oct 9, 2024

I think it would be better if it reads like:

10 Virtual servers backed up successfully.
8 Virtualmin system configurations backed up successfully.

Jamie, why were 10 virtual servers backed up successfully, but only 8 Virtualmin configuration settings?

@shoulders
Copy link
Author

Jamie, why were 10 virtual servers backed up successfully, but only 8 Virtualmin configuration settings?

Exactly why I was confused. the 8 Virtualmin configuration settings refer to the 8 areas of virtualmin system configs that are backed up. However there are more than 8.

image

webmin pushed a commit that referenced this issue Oct 9, 2024
@jcameron
Copy link
Collaborator

jcameron commented Oct 9, 2024

. Exactly why I was confused. the 8 Virtualmin configuration settings refer to the 8 areas of virtualmin system configs that are backed up. However there are more than 8.

Ok that's a bug which I've just checked in a fix for

@shoulders
Copy link
Author

@jcameron I see you

  • have added a title for the virtualmin system config section
  • you have corrected the virtualmin system config section count

Thanks

Some points still to be addressed (on item 4)

  • If a server backups up successfully, Can they still have errors? perhaps you don't need to add this unless there is errors?
  • 10 servers --> 10 Virtual servers
    • They are not servers, they are named as virtual server througout Virtualmin so this should be consistent.
  • add the word system into the 8 Virtualmin configurations backed up successfully. summary line
    • I added the word system to the virtualmin system configuration line so people know it is referring to the system configs and not account owner configs.
  • put both the success notifications on separate lines.
    • It is important to put both these on their own line because they are different and might not always be present.
  • I set the order for the lines: Virtual Servers, System
    • This reads the best
  • Are configurations and settings not the same thing or, configurations are made up of settings?
    • I removed the word settings as I think it reads better.

This will give the following example and I think it reads better and more logical with these small changes:

10 Virtual servers backed up successfully.
8 Virtualmin system configurations backed up successfully.

@jcameron
Copy link
Collaborator

Thanks, I'll implement these suggestions!

webmin pushed a commit that referenced this issue Oct 11, 2024
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

No branches or pull requests

3 participants