Ken
unread,Feb 8, 2012, 4:02:52 PM2/8/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pg_rman
bash-4.1$ /usr/pgsql-9.1/bin/pg_rman backup -B /home/postgres/bak
INFO: database backup start
NOTICE: pg_stop_backup complete, all required WAL segments have been
archived
bash-4.1$ /usr/pgsql-9.1/bin/pg_rman validate -B /home/postgres/bak
bash-4.1$ /usr/pgsql-9.1/bin/pg_rman backup -b i -B /home/postgres/bak
INFO: database backup start
ERROR: There is indeed a full backup but it is not validated.So I
can't take any incremental backup.Please validate it and retry.
NOTICE: pg_stop_backup complete, all required WAL segments have been
archived
bash-4.1$ /usr/pgsql-9.1/bin/pg_rman show -B /home/postgres/bak
============================================================================
Start Time Total Data WAL Log Backup
Status
============================================================================
I'm puzzled by this behavior...for some reason, pg_rman doesn't know
there are any backups.
the timeline_history file is blank
The subdirectory 20120208 contains files that look like backups.
This is a new postgresql 9.1 server with a database with tables, but
no data in the tables yet. I just wanted to test whether it can
backup/restore an empty database and restore the DB schema...