codema.in
Wed 23 Mar 2016 8:41AM

setup backup

PP Pirate Praveen Public Seen by 669

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?

PP

Pirate Praveen Wed 8 Jun 2016 4:13PM

@isaagar we can use backup.poddery.com. I'll share you access shortly.

IS

I Sagar Wed 8 Jun 2016 4:14PM

@praveenarimbrathod ok

PP

Pirate Praveen Wed 8 Jun 2016 4:21PM

@isaagar follow these steps http://fosscommunity.in/index.php?title=Poddery#Setting_up_Backup and first create a similar plan for diasp.in at https://gitlab.com/piratemovin/diasp.in/wikis/home

  1. How much disk space is used now? Add disk used by db and uploads.
  2. We'll need to attach a new disk to backup.poddery.com and mount it like we do for poddery.com (get yourself familiar with LVM. How to create logical volumes and extend it)

Let me know if you have any questions.

IS

I Sagar Wed 8 Jun 2016 5:14PM

@praveenarimbrathod i will start and let you know if any problem occurs

PP

Pirate Praveen Mon 29 Aug 2016 5:57AM

@isaagar where are we on it?

With the recent hard disk crash, we narrowly escaped losing data. We have to complete this urgently. @jayaura this is a prerequisite for updating diaspora. Can you help isaagar?

DU

Deleted account Mon 29 Aug 2016 12:54PM

@praveenarimbrathod sure, please add @isaagar to diasp.in room

PP

Pirate Praveen Mon 29 Aug 2016 3:41PM

@jayaura I think @isaagar is in his hometown without good internet access. @rajudv do you know where is isaagar now? You can go through the link above and try setting up replication of postgres between two vms.

PP

Pirate Praveen Wed 7 Sep 2016 5:42PM

diasp.in has postgresql 9.3 and backup.fosscommunity.in (debian jessie) has postgresql 9.4. @vik @amardeepsingh can we have postgresql 9.4 backported to namaste?

PP

Pirate Praveen Thu 8 Sep 2016 10:57AM

I am creating an lxc container of hamara namaste locally. Here is the steps, if you want to try it https://gitlab.com/piratemovin/diasp.in/wikis/HamaraSetup

PP

Pirate Praveen Fri 9 Sep 2016 1:16PM

After a few trial and error, I got the hamara container to run. The problem was getting hamara-keyring package inside the rootfs. Now I have started backporting postgresql-9.4 from jessie.

Load More