| От | Steve Holdoway |
|---|---|
| Тема | Re: Backup to Tape Incomplete |
| Дата | |
| Msg-id | 20080227162750.5638b0e8.steve.holdoway@firetrust.com обсуждение |
| Ответ на | Re: Backup to Tape Incomplete ("Phillip Smith" <phillip.smith@weatherbeeta.com.au>) |
| Ответы |
Re: Backup to Tape Incomplete
|
| Список | pgsql-admin |
On Wed, 27 Feb 2008 13:48:38 +1100 "Phillip Smith" <phillip.smith@weatherbeeta.com.au> wrote: > > Coming in the middle of this thread, so slap me if I'm off base here. > > tar will accept standard in as: > > > > tar -cf - > > > > the '-f -' says take input. > > That would be to write to stdout :) I can't figure out how to accept from > stdin :( > > -f is where the send the output, either a file, a device (such as tape) or > stdout (aka '-') Not quite. tar cf - will pipe to stdout, but tar xf - will pipe from stdin. For the OP's problem, I'd try piping through dd as a file buffer, and run sync on completion. Is there a /dev/rst0, likeon some of the old unixes ( doesn't look like it after checking my CentOS 4 server)? The difference was that rst0 wasunbuffered, and st0 was buffered. Either way, the sync may help. Worth a try (: Steve.
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера