File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,9 +72,6 @@ if [[ ! -f /var/lib/postgresql/9.3/main/initialized ]]; then
7272 if [[ ` envdir /etc/wal-e.d/env wal-e --terse backup-list | wc -l` -gt " 1" ]]; then
7373 echo " database: restoring from backup..."
7474 rm -rf /var/lib/postgresql/9.3/main
75- mkdir -p /var/lib/postgresql/9.3/main
76- # disable copy-on-write
77- chattr -R +C /var/lib/postgresql/9.3/main
7875 sudo -u postgres envdir /etc/wal-e.d/env wal-e backup-fetch /var/lib/postgresql/9.3/main LATEST
7976 chown -R postgres:postgres /var/lib/postgresql/9.3/main
8077 chmod 0700 /var/lib/postgresql/9.3/main
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ cd /tmp
3636git clone https://github.com/wal-e/wal-e.git
3737
3838cd /tmp/wal-e
39- git checkout c6f0d02
39+ git checkout dbf9783
4040
4141pip install .
4242
You can’t perform that action at this time.
0 commit comments