Re: [Spacewalk-list] postgres DB backup question

2018-02-28 Thread Robert Paschedag
cewalk is the only database I have. > > >Nicole > > >From: spacewalk-list-boun...@redhat.com > on behalf of Brian Long > >Sent: Tuesday, February 27, 2018 10:49 AM >To: spacewalk-list@redhat.com >Subject: Re: [Spacewalk-list] postgres DB backup questio

Re: [Spacewalk-list] postgres DB backup question

2018-02-28 Thread Nicole Beck
un...@redhat.com on behalf of Brian Long Sent: Tuesday, February 27, 2018 10:49 AM To: spacewalk-list@redhat.com Subject: Re: [Spacewalk-list] postgres DB backup question I use the "db-control" program to handle an online (DB running) backup. db-control online-backup /local/backups/sat

Re: [Spacewalk-list] postgres DB backup question

2018-02-27 Thread Brian Long
I use the "db-control" program to handle an online (DB running) backup. db-control online-backup /local/backups/satellite-pgsql.$DATE 1>/dev/null /Brian/ On Mon, Feb 26, 2018 at 1:23 PM, Nicole Beck wrote: > Hello! > > I’m trying to backup my postgress DB using the Spacewalk install > documenta

Re: [Spacewalk-list] postgres DB backup question

2018-02-27 Thread Florian Panzer - ratiokontakt GmbH
Am 27.02.2018 um 14:37 schrieb Paschedag, Robert: > This is how I backup my spacewalk db > > [...] Over here we roll like so: [root@spacewalk ~]# cat /usr/local/bin/spacewalk-db-backup.sh #!/bin/bash /usr/bin/spacewalk-dump-schema --to=postgresql | gzip > /postgresqlbackups/dump-$(date +%s).

Re: [Spacewalk-list] postgres DB backup question

2018-02-27 Thread Paschedag, Robert
e. Robert -Ursprüngliche Nachricht- Von: spacewalk-list-boun...@redhat.com [mailto:spacewalk-list-boun...@redhat.com] Im Auftrag von Robert Paschedag Gesendet: Montag, 26. Februar 2018 20:57 An: spacewalk-list@redhat.com; Nicole Beck ; 'spacewalk-list@redhat.com' Betreff: Re: [Spacewa

Re: [Spacewalk-list] postgres DB backup question

2018-02-26 Thread Robert Paschedag
Am 26. Februar 2018 19:23:52 MEZ schrieb Nicole Beck : >Hello! >I'm trying to backup my postgress DB using the Spacewalk install >documentation at >https://github.com/spacewalkproject/spacewalk/wiki/SpacewalkBackup, and >it fails with the errors below. If I try it without spacewalk running, >it gi

[Spacewalk-list] postgres DB backup question

2018-02-26 Thread Nicole Beck
Hello! I'm trying to backup my postgress DB using the Spacewalk install documentation at https://github.com/spacewalkproject/spacewalk/wiki/SpacewalkBackup, and it fails with the errors below. If I try it without spacewalk running, it gives an error and creates an empty backup file. If I try it