The post_snapshot Script

Last modified: June 2, 2022

Overview

The /usr/local/cpanel/scripts/post_snapshot script updates configurations on a system created from an image. This script automatically runs upon the first boot for images created using the snapshot_prep script.

Note:

In most cases, this script is run automatically.

For images created using the --no-post-service option for the snapshot_prep script, you must run this script manually.

Run the script

To run this script on the command line, use the following format:

/usr/local/cpanel/scripts/post_snapshot [options]

Options

Use the following options with this script:

Option Description Example
--help Display the script’s help documentation. --help



  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

The servers_queue Script

Valid for versions 82 through the latest version Last modified: June 21, 2021...

The auto-adjust-mysql-limits Script

Valid for versions 82 through the latest version Last modified: June 21, 2021...

The autossl_check Script

Valid for versions 82 through the latest version Last modified: May 13, 2020 Overview...

The backup Script

Valid for versions 82 through the latest version Last modified: May 13, 2020 Overview...

The backup_restore_manager Script

Valid for versions 82 through the latest version Last modified: July 28, 2022...