"file has vanished" - is this a serious warning during backup?

9,091 views
Skip to first unread message

Collin Peters

unread,
May 7, 2013, 10:13:31 AM5/7/13
to pgba...@googlegroups.com
Every once in awhile the full backup command returns this rsync warning. Is this anything to worry about?

file has vanished: "/var/lib/postgresql/9.1/main/
pg_subtrans/13D9"
rsync warning: some files vanished before they could be transferred (code 24) at main.c(1526) [generator=3.0.7]

/Collin

Gabriele Bartolini

unread,
May 7, 2013, 11:05:26 AM5/7/13
to pgba...@googlegroups.com, Collin Peters
Il 07/05/13 16:13, Collin Peters ha scritto:
Every once in awhile the full backup command returns this rsync warning. Is this anything to worry about?

file has vanished: "/var/lib/postgresql/9.1/main/
pg_subtrans/13D9"
rsync warning: some files vanished before they could be transferred (code 24) at main.c(1526) [generator=3.0.7]
This is perfectly fine. It means that some pages have been modified from the start of the backup. WAL files will include those changes.

Nothing to worry about! ;)

Ciao,
Gabriele
-- 
 Gabriele Bartolini - 2ndQuadrant Italia
 PostgreSQL Training, Services and Support
 gabriele....@2ndQuadrant.it | www.2ndQuadrant.it

Stanley Hui

unread,
Dec 10, 2013, 10:06:54 PM12/10/13
to pgba...@googlegroups.com
Hi guys,

I got this issue when backing up postgres DB by rsync too.
Could i exclude "pg_subtrans" directory from backup plan? will backup be valid if i create a new empty pg_subtrans directory?

Thanks,
Stan

Giulio Calacoci

unread,
Dec 11, 2013, 4:48:17 AM12/11/13
to pgba...@googlegroups.com
Hi Stanley,

As Gabriele said in response to Colin's question, it' perfectly fine, and is nothing to worry about, if something changes in the pg_subtrans directory
during a backup procedure.

Excluding that folder from a backup plan will invalidate the backup.
I suggest you to read the PITR documentation
( http://www.postgresql.org/docs/9.3/static/continuous-archiving.html ), that should solve all your doubts about
integrity of a backup and backup procedures

Ciao.
Giulio
--
--
You received this message because you are subscribed to the "Barman for PostgreSQL" group.
To post to this group, send email to pgba...@googlegroups.com
To unsubscribe from this group, send email to
pgbarman+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/pgbarman?hl=en?hl=en-GB
 
---
You received this message because you are subscribed to the Google Groups "Barman, Backup and Recovery Manager for PostgreSQL" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pgbarman+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


-- 
 Giulio Calacoci - 2ndQuadrant Italia
 PostgreSQL Training, Services and Support
 giulio....@2ndQuadrant.it | www.2ndQuadrant.it 

Stanley Hui

unread,
Dec 12, 2013, 9:34:03 PM12/12/13
to pgba...@googlegroups.com

Hi Giulio,

Thanks for your advice, I have solved my issue by ignoring return code 24.

Thanks,
Stan

You received this message because you are subscribed to a topic in the Google Groups "Barman, Backup and Recovery Manager for PostgreSQL" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pgbarman/zQxg6pOXkZ8/unsubscribe.
To unsubscribe from this group and all of its topics, send an email to pgbarman+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages