barman$barman recover main 20130417T153929 /opt/postgres
when I execute the above command, I faced this error message, here is the log information.
2013-04-17 15:55:01,255 barman.backup INFO: Processed file /var/lib/barman/main/incoming/00000001000000000000001A
2013-04-17 15:55:39,857 barman.backup INFO: Starting local restore for server main using backup 20130417T153929
2013-04-17 15:55:39,858 barman.backup INFO: Destination directory: /opt/postgres/
2013-04-17 15:55:39,858 barman.backup INFO: Copying the base backup.
2013-04-17 15:55:39,914 root ERROR: ERROR: Unhandled exception. See log file for more details.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/barman/cli.py", line 453, in main
p.dispatch(pre_call=global_config, output_file=_output_stream)
File "/usr/lib/python2.7/dist-packages/argh/helpers.py", line 47, in dispatch
return dispatch(self, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/argh/dispatching.py", line 121, in dispatch
for line in lines:
File "/usr/lib/python2.7/dist-packages/argh/dispatching.py", line 197, in _execute_command
for line in result:
File "/usr/lib/python2.7/dist-packages/argh/dispatching.py", line 185, in _call
for line in result:
File "/usr/lib/python2.7/dist-packages/barman/cli.py", line 221, in recover
remote_command=args.remote_ssh_command
File "/usr/lib/python2.7/dist-packages/barman/backup.py", line 608, in recover
self.recover_basebackup_copy(backup, dest, remote_command)
File "/usr/lib/python2.7/dist-packages/barman/backup.py", line 911, in recover_basebackup_copy
raise Exception("ERROR: data transfer failure")
Exception: ERROR: data transfer failure