--
--
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.
Damon
Giulio
attention of those will actually make the decision of what architecture we go with.
My task at present is just to get it working so I give it a try!
Regards
Austen
Actually thinking about it my question is:
Regards
Austen
Il 10/12/2013 11:34, Austen Birchall ha scritto:
> Thanks for the reply. At the moment as I am evalating Barman I have
> been tasked to look at all options so I am interested in how/if Barman
> can operate on a single host. In addition due to the way our hardware
> is set out having the backups & database on the 'same' host is not
> really as issue for us, a bigger issue would be the network traffic
> than remote backups of large database would cause (even with
> bandwidth_limit set). my obvious idea would be to setup ssh for
> barman & postgres users on the same host - train01 here - is the
> correct/recommended way to proceed?
> Austen
Hi Austen,
Will this work?
Yes.
It Is possible to use localhost as backup server, as you said, you only
need to setup ssh for barman and postgres users, and barman will work.
Is this Correct/Recommended?
No.
I mean, using a database server and a backup server on the same machine
is risky.
If the machine has a single disk (so far you talked about logical
volumes not disks) with a hardware failure you will lose data from
postgres and backup data.
If you have server with multiple disks, simply your single point of
failure is the O.S.
If the O.S. of your server hangs, you are going to lose 2 services:
Database server and Backup server, and this is no good.
Den tisdagen den 10:e december 2013 kl. 12:38:27 UTC+1 skrev Giulio Calacoci:Il 10/12/2013 11:34, Austen Birchall ha scritto:
> Thanks for the reply. At the moment as I am evalating Barman I have
> been tasked to look at all options so I am interested in how/if Barman
> can operate on a single host. In addition due to the way our hardware
> is set out having the backups & database on the 'same' host is not
> really as issue for us, a bigger issue would be the network traffic
> than remote backups of large database would cause (even with
> bandwidth_limit set). my obvious idea would be to setup ssh for
> barman & postgres users on the same host - train01 here - is the
> correct/recommended way to proceed?
> Austen
Hi Austen,
Will this work?
Yes.
It Is possible to use localhost as backup server, as you said, you only
need to setup ssh for barman and postgres users, and barman will work.
Is this Correct/Recommended?
No.
Is there any downside of using postgres as the barman user in a local backup scenario like this?
I mean, using a database server and a backup server on the same machine
is risky.
If the machine has a single disk (so far you talked about logical
volumes not disks) with a hardware failure you will lose data from
postgres and backup data.
If you have server with multiple disks, simply your single point of
failure is the O.S.
If the O.S. of your server hangs, you are going to lose 2 services:
Database server and Backup server, and this is no good.
Well, If your backup filesystem is an remote filesystem, like an NFS share or Glusterfs volume, you would not have the OS as a single point of failure.
I guess it depends on what is available to you as well. I like to reuse as much of my infrastructure as possible, but of course without taking chances.And I think a local backup setup is easier to deploy and manage than keeping a seperate backup server around for that purpose. If your backup target filesystem is secure and reliable enough, then I don't see an issue with a local setup. Or am I wrong?