Loomio

setup backup

Pirate Praveen PublicSeen by 21

We can replicate postgresql and use rsync to backup uploads.
Replication howto: https://www.digitalocean.com/community/tutorials/how-to-set-up-master-slave-replication-on-postgresql-on-an-ubuntu-12-04-vps

We can use backup.poddery.com (we recently set it up for full backup of poddery.com). Any volunteers?

Pirate Praveen

Also please post an update about the backup setup from diasp.in diaspora account.

I Sagar

Sorry for the delay , I will post about it after fixing replication.

Manu Krishnan T V

Just to confirm, are we using the NAT VPS I provided? If so, did you face any issues with the common ports not reaching the VPS?

I Sagar

Unable to telnet port 11234 which is used by postgresql .

I Sagar

I re-issued backup commands and replication is now working fine.

I Sagar

@praveenarimbrathod Also , using uptimerobot I dont think its possible to check psql replication . I think we need to run custom script at master server for checking status..

Pirate Praveen

With poddery.com, the slave server was going down unnoticed and breaking replication so added uptimerobot check to know if mysql slave is running. We can do a similar one here. Its not perfect monitoring, but better than not having any :) We can add more for sure.

I Sagar

In one case , I noticed that slave server was running at mayasura but with broken replication and I need to restart slave server to accept data segments from master server .
I think we need better solution for this case.

I Sagar

Still ,we haven't decided for the monitoring part . Zabbix is used at TBS for monitoring purposes which can solve our problem.

Pirate Praveen

If we can use the same zabbix instance, we can configure zabbix for monitoring.

I Sagar

@praveenarimbrathod Uploads aren't backed up yet.I think @tvm provided extra disk on mayasura. Will try to do it over weekend

Dhanesh B. Sabane

Do we need an action here? I'm ready to volunteer for the work. Will be needing some guidance though.