[DRE-commits] [diaspora-installer] 03/03: add template to warn about migrations

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Tue May 19 13:29:47 UTC 2015


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch master
in repository diaspora-installer.

commit 511d9ff05fb50a93513d90745e665aedb95eb9ca
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Fri May 15 09:51:28 2015 +0530

    add template to warn about migrations
---
 debian/diaspora-common.templates | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/debian/diaspora-common.templates b/debian/diaspora-common.templates
index fee26db..c48af3c 100644
--- a/debian/diaspora-common.templates
+++ b/debian/diaspora-common.templates
@@ -38,3 +38,13 @@ _Description: Enable https?
  You can disable https if you want to access Diaspora only locally, via
  Unicorn on port 3000. If you disable https, Nginx configuration will be
  skipped.
+ 
+ Template: diaspora-common/dbbackup
+Type: note
+_Description: Backup your database
+ This upgrade includes long running migrations that can take hours to complete
+ on large pods. It is adviced to take a backup of your database.
+ .
+ Commands to backup and restore database is given below.
+ su postgres pg_dump diaspora_production -f diaspora_production.sql
+ su postgres psql -d diaspora_production -f diaspora_production.sql

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/diaspora-installer.git



More information about the Pkg-ruby-extras-commits mailing list