PHP code example of pubvana / backups

1. Go to this page and download the library: Download pubvana/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/ */

    

pubvana / backups example snippets


'plugins' => [
    'pubvana/backups' => [
        'enabled'  => true,
        'priority' => 50,
    ],
],
bash
php runway backups:create
php runway backups:create --trigger pre-update --user admin
php runway backups:restore 2026-05-15_221300-full.zip
php runway backups:restore 2026-05-15_221300-full.zip --user admin