M
M
Maxim2011-12-07 13:02:18
Data synchronization
Maxim, 2011-12-07 13:02:18

Local and server synchronization

All development is carried out on a local server and every day you need to upload an update to the Internet.
And it is not very convenient to upload the database to the hosting every time, unzip the files, prescribe the database config.
Maybe there is some solution?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
cat_crash, 2011-12-07
@cat_crash

SVN + Dump Triggers

D
Denis Turenko, 2011-12-07
@Dennion

For my bike, I made a utility for users to manually and automatically synchronize the database from the local version of the site (and this is another utility from the same set).
In your case, you probably need to write a batch file that creates the archive locally, run ftp with a batch file, upload the archive there, you can unpack it via PhpConcept Library - Zip Module , and hang the image recovery database on cron or via Sypex Dumper .
Instead of a batch file, you can make an executable on the Roadsend Studio IDE if you know php - a very handy thing.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question