Skip to main content

Backup Wizard customization

Comments

2 comments

  • Amber Layton
    I figured it out - if anyone else needs this functionality, replace this code:

    [% locale.maketext("Generate a Full Backup") %]

    [% INCLUDE "fullbackup-include.html.tt" %]

    With this code (tailor to your liking):
    [% IF hashref.file.uri() %]

    You cannot generate a backup while one exists on the server. Please delete the file(s) above from the File Manager before creating a new backup.

    [% ELSE %]

    [% locale.maketext("Generate a Full Backup") %]

    [% INCLUDE "fullbackup-include.html.tt" %]
    [% END %]

    0
  • cPanelMichael
    Hello @Amber Layton, Thank you for taking the time to post the solution here for other members to see. Let us know if you have any additional questions. Thanks!
    0

Please sign in to leave a comment.