Recommend this page to a friend! |
Classes of Dmitry Mamontov | PHP Backup to WebDav Server | README.md | Download |
|
Download
PHP Backup to WebDav ServerThis 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. Requirements
Currently it supports clouds
Installation1) Install composer 2) Follow in the project folder:
In config If before your project is not used
Example of work
Example of adding support for WebDav cloud
|