|Classes of Dmitry Mamontov||>||PHP Backup to WebDav Server||>||README.md||>||Download|
PHP Backup to WebDav Server
This package can backup files and a database to a WebDav server.
It takes the path of a given local directory and creates a PHAR archive with the files of the directory.
The base class can also connect to a given database using PDO and generate a backup file with SQL statements to recreate the database. The generated SQL file is also added to the PHAR archive.
The PHAR archive is compressed and transferred to a given remote server using the WebDAV protocol.
The package comes with several sub-classes specialized in configuring the connection to different WebDAV servers.
Currently it supports clouds
1) Install composer
2) Follow in the project folder:
If before your project is not used
Example of work
Example of adding support for WebDav cloud