[% USE Services; USE ServerRoles; SET CPANEL.CPVAR.headerimg = "../images/tools.gif"; SET CPANEL.CPVAR.dprefix = "../"; SET under_quota = execute( 'Quota', 'get_quota_info' ).data.under_quota_overall; SET can_backup_db = CPANEL.feature("mysql") && Services.is_service_provided("mysql"); %] [% WRAPPER '_assets/master.html.tt' app_key = 'backup_wizard' include_legacy_stylesheets = 0 include_legacy_scripts = 1 include_cjt = 1 page_stylesheets = ["css2-min/backup.css"] -%]
[% IF !CPANEL.feature('backup') %] [% ELSE %]

[% locale.maketext('Steps:') %]

  1. [% locale.maketext("Back Up or Restore") %]
  2. [% locale.maketext("Full or Partial Backup") %]
  3. [% locale.maketext("Download") %]

[% locale.maketext("Back Up") %]

[% locale.maketext("This feature allows you to download a compressed copy of all or part of your website.") %]

[% locale.maketext("The system will include the following items in the backup file:") %]

    [% IF ServerRoles.is_role_enabled('FileStorage') -%]
  • [% locale.maketext("The home directory.") %]
  • [% END -%] [% IF can_backup_db %]
  • [% locale.maketext("Databases.") %]
  • [% END %] [% IF ServerRoles.is_role_enabled('MailReceive') -%] [% IF CPANEL.feature("forwarders") %]
  • [% locale.maketext("Email forwarder configurations.") %]
  • [% END %] [% IF CPANEL.feature("blockers") %]
  • [% locale.maketext("Email filter configurations.") %]
  • [% END %] [% END -%]

[% locale.maketext("Back Up") %]

[% locale.maketext("Restore") %]

[% IF !under_quota %] [% END %]

[% locale.maketext("This feature allows you to upload an existing partial backup file in order to restore parts of your website.") %]

[% locale.maketext("The system will restore the following items if they exist in the backup file:") %]

    [% IF ServerRoles.is_role_enabled('FileStorage') -%]
  • [% locale.maketext("The home directory.") %]
  • [% END -%] [% IF can_backup_db %]
  • [% locale.maketext("Databases.") %]
  • [% END %] [% IF ServerRoles.is_role_enabled('MailReceive') -%] [% IF CPANEL.feature("forwarders") %]
  • [% locale.maketext("Email forwarder configurations.") %]
  • [% END %] [% IF CPANEL.feature("blockers") %]
  • [% locale.maketext("Email filter configurations.") %]
  • [% END %] [% END -%]

[% locale.maketext("Restore") %]

[% END %]
[% END %]