-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
package_create_backup
Description
Creates backup files in Packages/backups.
Syntax
void package_create_backup ([string $id])
Parameter $id
Expected type: String
Description: The ID to stick at the end of the backup package (see code). Default is 'backup'
Notes
- Called when installing, uninstalling or upgrading a mod
- Called from the packageInstall() function in Sources/Packages.php
- Only called if $modSettings['package_make_backups'] is true
- Creates a backup of your forum files in an archive with the name "YYYY-MM-DD_before_package.tar.gz" in the Packages/backups directory
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.037 seconds with 13 queries.
- Forum Search