dbbu uses the [[http://docs.python.org/library/subprocess.html|subprocess module]] to ssh and execute commands on remote hosts (using Popen). It then pipes database dumps into files on the local filesystem.
+=== Host Configuration ===
+Create a user for backup purposes only:
+$ sudo useradd -d /home/bak -m bak
+Since dbbu will connect over ssh, you should add your backup machine's public key to bak's .ssh/authorized_keys file.
+Edit /etc/sudoers to allow bak to run specific commands without a password:
+Cmnd_Alias POSTGRES_CMDS = /usr/bin/psql, /usr/bin/pg_dump, /usr/bin/pg_dumpall
+bak ALL = (postgres) NOPASSWD: POSTGRES_CMDS
== dbbu's Configuration File ==