8 ms·
database: maste-slave uploads: rsync there's a ruby gem called backup (https://meskyanichi.github.io/backup/v4/ https://meskyanichi.github.io/backup/v4/) ;)
by l0f 12y ago
database: maste-slave
uploads: rsync
there's a ruby gem called backup (https://meskyanichi.github.io/backup/v4/ https://meskyanichi.github.io/backup/v4/) ;)
- agjmills 12y agoWith a master-slave DB configuration, surely you need 2n db machines in order to replicate the database?
- l0f 12y agoit's one server as master (write) and one as slave (read-only). you also must do backups, but using this approach it will be more safe than only backups. later, you can setup to when one server crashes [master or slave], automatically setup a new server and copy the data.