Skip to content

Commit

Permalink
Release for PGConf.EU 2015.
Browse files Browse the repository at this point in the history
  • Loading branch information
dwsteele committed Oct 29, 2015
1 parent 569fc7a commit 445122a
Show file tree
Hide file tree
Showing 7 changed files with 218 additions and 183 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
demo/db
demo/repo
demo/diff
demo/.vagrant
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
Title: Heavy Duty Backup with PgBackRest
Title: Efficiently Backing up Terabytes of Data with pgBackRest

Abstract:

PgBackRest is open source software developed to perform efficient backup on PostgreSQL databases that measure in tens of terabytes and greater. It supports per file checksums, compression, partial/failed backup resume, high-performance parallel transfer, asynchronous archiving, tablespaces, expiration, full/differential/incremental, local/remote operation via SSH, hard-linking, restore, and more. PgBackRest is written in Perl and does not depend on rsync or tar but instead performs its own deltas which gives it maximum flexibility. This talk by the author will introduce the features, give sample configurations, and talk about design philosophy.
pgBackRest is open source software developed to perform efficient backup on PostgreSQL databases that measure in tens of terabytes and greater. It supports per file checksums, compression, partial/failed backup resume, high-performance parallel transfer, asynchronous archiving, tablespaces, expiration, full/differential/incremental, local/remote operation via SSH, hard-linking, restore, and more. pgBackRest is written in Perl and does not depend on rsync or tar but instead performs its own deltas which gives it maximum flexibility. This talk by the author will introduce the features, give sample configurations, and discuss design philosophy.

Bio:

David Steele is Senior Data Architect at Crunchy Data Solutions, the PostgreSQL company for secure enterprises. He has been actively developing with PostgreSQL since 1999.
David Steele is Senior Data Architect at Crunchy Data Solutions, the PostgreSQL company for secure enterprises. He has been actively developing with PostgreSQL since 1999.

David loves taking on big data challenges. Until recently he was Data Architect at Resonate, an online media company using PostgreSQL to drive its transactional and data warehousing databases. Before that, he helped drive global mobile text messaging at Sybase365.

David's current project is pgBackRest, which will be the subject of his talk.
40 changes: 40 additions & 0 deletions demo/Vagrantfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
Vagrant.configure(2) do |config|
config.vm.box = "boxcutter/ubuntu1404"

config.vm.provider :virtualbox do |vb|
vb.name = "backrest-demo-ubuntu-14.04"
end

# Provision the VM
config.vm.provision "shell", inline: <<-SHELL
# Install db
echo 'deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main 9.5' >> /etc/apt/sources.list.d/pgdg.list
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo apt-get update
apt-get install -y postgresql-9.4
pg_dropcluster --stop 9.4 main
# Install pgBackRest
wget -q -O - https://github.com/pgmasters/backrest/archive/release/0.85.tar.gz | tar zxv -C ~
cp -r ~/backrest-release-0.85/lib/BackRest /usr/lib/perl5
find /usr/lib/perl5/BackRest -type f -exec chmod 644 {} +
find /usr/lib/perl5/BackRest -type d -exec chmod 755 {} +
cp ~/backrest-release-0.85/bin/pg_backrest /usr/bin/pg_backrest
chmod 755 /usr/bin/pg_backrest
# Make default log directory writable to vagrant
mkdir /var/run/postgresql
chmod 777 /var/run/postgresql
touch /etc/pg_backrest.conf
chown vagrant:vagrant /etc/pg_backrest.conf
# Install required Perl modules
apt-get -y --force-yes install libdbd-pg-perl libdbi-perl libnet-daemon-perl libplrpc-perl libterm-readkey-perl
SHELL

# Don't share the default vagrant folder
config.vm.synced_folder ".", "/vagrant", disabled: true

# Mount demo path for testing
config.vm.synced_folder ".", "/demo"
end
Loading

0 comments on commit 445122a

Please sign in to comment.