Re: Selective backup script

From: "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Selective backup script
Date: 2011-11-21 22:27:38
Message-ID: b4dbb781eef1b3e0044fc88ac4c687d9@biglumber.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

> Might there be a way to tag those databases somehow so the backup
> script knows to skip them? I'd rather not hard code the list in
> the script.

Give them a unique connection limit, higher than max_connections,
e.g. ALTER DATABASE testdb1 CONNECTION LIMIT 9218;

Not as intuitive as a comment, but a lot more visible that something
is different about the database.

- --
Greg Sabino Mullane greg(at)turnstep(dot)com
End Point Corporation http://www.endpoint.com/
PGP Key: 0x14964AC8 201111211715
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----

iEYEAREDAAYFAk7K0CwACgkQvJuQZxSWSshN5wCgsejmvDEzo3yBz3MBRy9OGYKI
BYMAoPLDjEXOJOLh5HSWtCLHhhfNu1Zn
=AP/0
-----END PGP SIGNATURE-----

In response to

Browse pgsql-general by date

  From Date Subject
Next Message david.sahagian 2011-11-21 22:56:42 successive select statements
Previous Message jeffrey 2011-11-21 22:23:05 Select duplicated values