1. Go to this page and download the library: Download sylvainjule/backups library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
// site/config.php
return [
// backups will be copied in assets/my-secretly-public-backups
'sylvainjule.backups.publicFolder' => 'my-secretly-public-backups',
];
// site/config.php
return [
// if filled, backups will be created here
'sylvainjule.backups.path' => '{{ kirby.root("site") }}/my-custom-folder',
// if filled, backups will be copied here for downloading (in this case, it will take precedence over the publicFolder option)
'sylvainjule.backups.publicPath' => '{{ kirby.root("assets") }}/my-custom-folder',
'sylvainjule.backups.publicUrl' => '{{ kirby.url("assets") }}/my-custom-folder',
];