Teadmistebaas
The backups_create_metadata Script Prindi artikkel
Overview:
The /usr/local/cpanel/scripts/backups_create_metadata
script allows a user to create metadata files for all account backup types.
Note:
The script will generate metadata for all directories under the
/home/username
directory, except for the /mail
and /.cpanel
directories.
Run the script
To use the /usr/local/cpanel/scripts/backups_create_metadata
script, run the following command as the root
user:
/usr/local/cpanel/scripts/backups_create_metadata
Options
Note:
You must provide at least one option to execute this script.
Use the following options for the /usr/local/cpanel/scripts/backups_create_metadata
script:
Options | Description | Example |
---|---|---|
--all |
Creates metadata files for all backups.
Note:
You cannot combine the
--all option with other options. |
/scripts/backups_create_metadata --all |
--backup=[backup filename] |
Creates metadata files for the specified backup file. Combine this option with the --user option to create metadata for the specified user in the specified backup directory. |
|
--fix_corrupt |
Scans the metadata databases for corrupt files, then repairs them. Combine this option with the --schedule_rebuild option to rebuild the metadata in a background task. |
|
--schedule_rebuild |
Same as the --all option, but runs the script in the background.Combine this option with the --fix_corrupt option to rebuild the metadata in a background task. |
|
--user=[user] |
Creates metadata files for the specified user. Combine this option with the --backup=[backup filename] option to create metadata for the specified user in the specified backup directory. |
|
--vacuum |
Defragments the metadata SQL database and frees unused space.
Note:
|
/scripts/backups_create_metadata --vacuum |
Kas see vastus oli kasulik?
Seotud artiklid
WHM Scripts
Overview: The cPanel & WHM installation process adds important scripts to your server’s...
Overview: The cPanel & WHM installation process adds important scripts to your server’s...
The dbmaptool Script
Overview: You can use the /usr/local/cpanel/bin/dbmaptool script to grant ownership of databases...
Overview: You can use the /usr/local/cpanel/bin/dbmaptool script to grant ownership of databases...
The servers_queue Script
Overview: This script allows you to manage the task queue system. The task queue system allows...
Overview: This script allows you to manage the task queue system. The task queue system allows...
The auto-adjust-mysql-limits Script
Overview: The /usr/local/cpanel/scripts/auto-adjust-mysql-limits script updates MySQL®...
Overview: The /usr/local/cpanel/scripts/auto-adjust-mysql-limits script updates MySQL®...
The autossl_check Script
Overview: The /usr/local/cpanel/bin/autossl_check script allows you to manually check the SSL...
Overview: The /usr/local/cpanel/bin/autossl_check script allows you to manually check the SSL...