|
SQLite3::backupBackup one database to another database Description
public bool SQLite3::backup(SQLite3
$destination , string $sourceDatabase = "main", string $destinationDatabase = "main")SQLite3::backup copies the contents of one database into another, overwriting the contents of the destination database. It is useful either for creating backups of databases or for copying in-memory databases to or from persistent files. Tip
As of SQLite 3.27.0 (2019-02-07), it is also possible to use the statement
Parameters
Return Values
Returns ExamplesExample #1 Backup an existing database
|