Y
Y
Yuri Yerusalimsky2016-01-31 00:31:12
PHP
Yuri Yerusalimsky, 2016-01-31 00:31:12

What PHP script for a full site backup (files + database to archive) should be used?

Yes, you can transfer files via FTP or compress site files into an archive using CPanel hosting, and make an sql database dump via phpMyAdmin ... BUT! Is there a way to automate this process? Is there a script that only needs to point to the site directory, for example, dropping it to the root and giving data from the database so that the script itself does all the necessary operations and compresses the data into a single archive at the output? For some reason, I'm sure that this should be a very convenient way to backup.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2016-01-31
@werber

bash+cron+mysqldump+server in neighboring country, preferably two.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question