equalant of msdb in sql server

Started by sql2pgover 8 years ago6 messagesgeneral
Jump to latest
#1sql2pg
sekhar.career@gmail.com

sql server has msdb database which stores the history of backups taken.
is there any table in postgres which keep track of when the archive log
files are archived ?

#2Daniel Gustafsson
daniel@yesql.se
In reply to: sql2pg (#1)
Re: equalant of msdb in sql server

On 26 Nov 2017, at 17:54, chandra sekhar <sekhar.career@gmail.com> wrote:

sql server has msdb database which stores the history of backups taken.
is there any table in postgres which keep track of when the archive log files are archived ?

This is the mailinglist for the postgresql.org website, you are better off
asking general postgres related questions on pgsql-general@ (cc:ed here).

cheers ./daniel

#3Craig Ringer
craig@2ndquadrant.com
In reply to: Daniel Gustafsson (#2)
Re: equalant of msdb in sql server

On 27 November 2017 at 04:59, Daniel Gustafsson <daniel@yesql.se> wrote:

On 26 Nov 2017, at 17:54, chandra sekhar <sekhar.career@gmail.com>

wrote:

sql server has msdb database which stores the history of backups taken.
is there any table in postgres which keep track of when the archive log

files are archived ?

No, there isn't.

--
Craig Ringer http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

#4sql2pg
sekhar.career@gmail.com
In reply to: Craig Ringer (#3)
Re: equalant of msdb in sql server

What is the query to get list of the archive log files to capture start
date and time of each archive log

On Sun, Nov 26, 2017 at 5:31 PM Craig Ringer <craig@2ndquadrant.com> wrote:

Show quoted text

On 27 November 2017 at 04:59, Daniel Gustafsson <daniel@yesql.se> wrote:

On 26 Nov 2017, at 17:54, chandra sekhar <sekhar.career@gmail.com>

wrote:

sql server has msdb database which stores the history of backups taken.
is there any table in postgres which keep track of when the archive log

files are archived ?

No, there isn't.

--
Craig Ringer http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

#5Craig Ringer
craig@2ndquadrant.com
In reply to: sql2pg (#4)
Re: equalant of msdb in sql server

On 27 November 2017 at 12:10, chandra sekhar <sekhar.career@gmail.com>
wrote:

What is the query to get list of the archive log files to capture start
date and time of each archive log

There isn't one.

You may be looking for a tool like PgBarman or other archive and backup
managers.

--
Craig Ringer http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

#6John R Pierce
pierce@hogranch.com
In reply to: sql2pg (#4)
Re: equalant of msdb in sql server

On 11/26/2017 8:10 PM, chandra sekhar wrote:

What is the query to get list of the archive log files  to capture
start date and time of each archive log

ls -l nfsserver:/path/to/archive

--
john r pierce, recycling bits in santa cruz