Req #70950 [NEW]: Make SQLite3 Online Backup API available
From: dexen dot devries at gmail dot com
Operating system:
PHP version: 5.6.15
Package: SQLite related
Bug Type: Feature/Change Request
Bug description:Make SQLite3 Online Backup API available
Description:
------------
SQLite3 provides Online Backup API (https://www.sqlite.org/backup.html)
for copying databases in safe way. Please expose the API through the
SQLite3 extension.
Test script:
---------------
$source = SQLite3('original.sqlite');
$dest = SQLite3('backup.sqlite');
# equivalent of C sqlite3_backup_init()
$backup = new SQLite3Backup($dest, $source);
# equivalent of C sqlite3_backup_step()
$backup->step($npages = -1);
# equivalent of C sqlite3_backup_finish
$backup->finish();
echo 'backup complete.';
Expected result:
----------------
backup complete.
Actual result:
--------------
class SQLite3Backup does not exist
--
Edit bug report at https://bugs.php.net/bug.php?id=70950&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=70950&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=70950&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=70950&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=70950&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=70950&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=70950&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=70950&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=70950&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=70950&r=support
Expected behavior: https://bugs.php.net/fix.php?id=70950&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=70950&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=70950&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=70950&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70950&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=70950&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=70950&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=70950&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=70950&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=70950&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=70950&r=mysqlcfg
Thread (3 messages)
- dexen dot devries at gmail dot com