Re: [ADMIN] Does Postgres ever write to tables without file systemtimestamps getting updated?

Поиск
Список
Период
Сортировка
Искать
От
scott ribe
Тема
Re: [ADMIN] Does Postgres ever write to tables without file systemtimestamps getting updated?
Дата
Msg-id
FA191DE9-AE01-4E11-AD83-3E141D03743A@elevated-dev.com
Ответ на
Список
Дерево обсуждения
[ADMIN] Does Postgres ever write to tables without file system timestamps getting updated? Thorsten Schöning <tschoening@am-soft.de>
Re: [ADMIN] Does Postgres ever write to tables without file systemtimestamps getting updated? Albe Laurenz <laurenz.albe@wien.gv.at>
Re: [ADMIN] Does Postgres ever write to tables without file systemtimestamps getting updated? scott ribe <scott_ribe@elevated-dev.com>
Re: [ADMIN] Does Postgres ever write to tables without file system timestamps getting updated? Thorsten Schöning <tschoening@am-soft.de>
Re: [ADMIN] Does Postgres ever write to tables without file system timestamps getting updated? Thorsten Schöning <tschoening@am-soft.de>
Re: [ADMIN] Does Postgres ever write to tables without file system timestamps getting updated? Sergey Burladyan <eshkinkot@gmail.com>
Re: [ADMIN] Does Postgres ever write to tables without file system timestamps getting updated? Thorsten Schöning <tschoening@am-soft.de>
Re: [ADMIN] Does Postgres ever write to tables without file systemtimestamps getting updated? scott ribe <scott_ribe@elevated-dev.com>
Re: [ADMIN] Does Postgres ever write to tables without file system timestamps getting updated? Thorsten Schöning <tschoening@am-soft.de>
Re: [ADMIN] Does Postgres ever write to tables without file systemtimestamps getting updated? David Steele <david@pgmasters.net>
Re: [ADMIN] Does Postgres ever write to tables without file systemtimestamps getting updated? scott ribe <scott_ribe@elevated-dev.com>
Re: [ADMIN] Does Postgres ever write to tables without file systemtimestamps getting updated? Stephen Frost <sfrost@snowman.net>
On Jun 6, 2017, at 7:32 AM, Thorsten Schöning  wrote:
> 
> Obviously I wasn't clear enough: Postgres is not running and my
> problem is with files and their timestamps in the past. So regarding
> the timestamps the files didn't change for weeks and the files have
> the same size and timestamp in the source and my backup. But if I
> calculate hash sums of those files the results may differ, so rsync
> using checksums will back them up, although the files claim that they
> haven't changed for days/weeks.

You were clear, it's too early in the morning here.

You seem to be assuming that the files were changed close to the time you found the problem; as far as I can tell that's not actually true, they could have been changed back at the time of the file timestamps, and could have been out-of-sync for a while, right?

My suggestion to use pg_start_backup is irrelevant to the exact problem you're describing. The documentation for it does describe a good way to get a file-based backup, without stopping the server, and you might want to check into that. You could also look at pg_base_backup.

--
Scott Ribe
scott_ribe@elevated-dev.com
(303) 722-0567


В списке pgsql-admin по дате отправления
От: Sergey Burladyan
Дата:
От: Thorsten Schöning
Дата:
FAQ