wal-e backup issue

41 views
Skip to first unread message

RamRatan Kumar

unread,
Dec 1, 2016, 1:52:01 AM12/1/16
to wa...@googlegroups.com
Hi,
    I am Ramratan. I am using wal-e azure database backup. I used given wal-e database backup procedure but it is not working 

I am using following configuration 
in Postgres.conf file 

wal_level = archive                                                         
archive_mode = yes
archive_command = 'envdir /etc/wal-e.d/env /usr/local/bin/wal-e wal-push %p'
archive_timeout = 60

set up environment 
# WABS Setup
$ umask u=rwx,g=rx,o=
$ mkdir -p /etc/wal-e.d/env
$ echo "secret-key-content" > /etc/wal-e.d/env/WABS_ACCESS_KEY
$ echo "access-key" > /etc/wal-e.d/env/WABS_ACCOUNT_NAME
$ echo 'wabs://some-container/directory/or/whatever' > \
  /etc/wal-e.d/env/WALE_WABS_PREFIX
$ chown -R root:postgres /etc/wal-e.
and run this command for backup from azure
 envdir /etc/wal-e.d/env /usr/local/bin/wal-e backup-push /var/lib/postgresql/ 
It displaying following error
The backup was not completed successfully, but we have to wait anyway 
Reply all
Reply to author
Forward
0 new messages