On Tue, 19 Nov 2013, [email protected] wrote: > My idea was: > - update the installation from git, run make install etc. > - install the latest dbdump backup > - rsync /opt/invenio/var/data
If you want to have a full master->slave operational mode, i.e. you work on instance A only and from time to time you would like to propagate all updates to instance B so that it looks exactly like instance A (and you are willing to throw away anything that might have happened on B in the meantime), then you can have a look at `invenio-backup-site' and `invenio-restore-site' helper devscripts from invenio-devscripts: https://github.com/tiborsimko/invenio-devscripts#invenio-backup-site Note that we use these mostly for smaller development demo sites only. The primary use case is to be able to quickly revert to a previously know 100% working fresh Invenio demo site when one messes up big time with all records while hacking on a train without any Internet connection, say. If your production sites are big, then a similar technique could be still used, e.g. dump only DB tables and non-var-data files into a tarball, while using rsync for big `var/data'. Best regards -- Tibor Simko

