-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
218 additions
and
183 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
demo/db | ||
demo/repo | ||
demo/diff | ||
demo/.vagrant |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.