Re: Forensic recovery deleted pgdump custom format file
От | David Guimaraes |
---|---|
Тема | Re: Forensic recovery deleted pgdump custom format file |
Дата | |
Msg-id | CAJNfudLhjWw-6=D6U9b-zAqDOF6DmGYEnNiGWHHXihfTCLqhgw@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Forensic recovery deleted pgdump custom format file (Michael Paquier <michael.paquier@gmail.com>) |
Ответы |
Re: Forensic recovery deleted pgdump custom format file
|
Список | pgsql-hackers |
<p dir="ltr">The backups were deleted. I need them to use pg_restore. <div class="gmail_quote">Em 13/07/2015 21:18, "MichaelPaquier" <<a href="mailto:michael.paquier@gmail.com">michael.paquier@gmail.com</a>> escreveu:<br type="attribution"/><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">OnTue, Jul 14, 2015 at 9:28 AM, David Guimaraes <<a href="mailto:skysbsb@gmail.com">skysbsb@gmail.com</a>>wrote:<br /> > So I decided to try to understand the file formatgenerated by<br /> > pgdump. Analyzing the source code of pgdump/recovery, i concluded a few<br /> > things:<br/> ><br /> > The header of the file always starts with "PGDMP" followed by pgdump version<br /> > numberused, followed by int size, offset, etc. followed by TOCs.<br /> ><br /> > My question is how to know the endof the file? Are there any signature that<br /> > I can use? Or would have to analyze the whole file?<br /><br /> Whyare you trying to reinvent the wheel? pg_restore is not available?<br /> --<br /> Michael<br /></blockquote></div>
В списке pgsql-hackers по дате отправления: