https://webmin.com/docs/modules/filesystem-backup/
BACKUP INFO
to enable dated backups
cannot find this option. Can someone please direct me? I’m looking to have my daily backups in the “/backups/virtualmin-backup-%m-%d-%Y.tar.gz” format. Thank you.
Should be gear Icon in top left of the backup module. But there are several backup modules so not sure which you are using. Webmin config backup, file system backup, virtualmin backup, cloudmin backup. All with different settings.
First be sure you have gottne the new verison of php installed
what I have installed:
/etc/php/7.4/apache2/php.ini | Configuration for mod_php | Manage Edit Manually |
---|---|---|
/etc/php/8.0/apache2/php.ini | Configuration for mod_php | Manage Edit Manually |
/etc/php/8.1/apache2/php.ini | Configuration for mod_php | Manage Edit Manually |
/etc/php/8.2/apache2/php.ini | Configuration for mod_php | Manage Edit Manually |
/etc/php/8.3/apache2/php.ini |
I am going for php 8.3
I have installed PHP 8.2, PHP 7.4 and PHP 5.6 on our Debian system. You can use the same for other PHP versions by changes commands accordingly.
Enable PHP 8.3 as Default Version
You need to set PHP 8.3 as your active PHP version for CLI and Apache2 both. You can do this by disabling Apache2 modules for all other installed PHP versions and configure CLI using the update-alternatives command.
Switch to PHP 8.3
Before switching to PHP 8.3, you have to deactivate the previously activated Apache module. The following commands will deactivate the already activated Apache module and then activate PHP 8.2 Apache module. Then the next commands will set PHP 8.2 as the default version for the command line interface (CLI).
Apache:
sudo a2dismod php* sudo a2enmod php8.3 sudo systemctl restart apache2
Command line interface:
sudo update-alternatives --set php /usr/bin/php8.3 sudo update-alternatives --set phar /usr/bin/phar8.3 sudo update-alternatives --set phar.phar /usr/bin/phar.phar8.3 how to insatll phpize phpconfig For recent versions of Debian/Ubuntu (Debian 9+ or Ubuntu 16.04+) install the php-dev dependency package, which will automatically install the correct version of php{x}-dev for your distribution: BEST WAY: sudo apt install php-dev IF YOU NEED OLDER VERSIONS apt-cache search php8.2 or sudo apt install php8.2-dev (gets config and phize both) +++++++++++++++++++++++++++++++++++++++++++ First I searched for php8.3: apt-cache search php8.3 then I found php8.3-dev and installed it: sudo apt install php8.3-dev This installed phpize8.3 in /usr/bin The last step is to set phpize to the new version with: sudo update-alternatives --set phpize /usr/bin/phpize8.3 Now phpize -v outputs: Configuring for: PHP Api Version: 20190902 Zend Module Api No: 20190902 Zend Extension Api No: 320190902 +++++++++++++++++++++++++++++ sudo update-alternatives --set phpize /usr/bin/phpize8.3 sudo update-alternatives --set php-config /usr/bin/php-config8.3
Note: The phpize8.3 and php-config8.3 command is available in php8.3-dev package. This is more useful for compiling PHP modules using pecl.
If you want a different version (eg: PHP 8.1 or PHP 8.0) to be configured as default, just replace 8.3 with the required version.