[ckan-dev] database backup issues

Randy Rosso rossonova at gmail.com
Wed Aug 28 02:17:04 UTC 2013


I had trouble backing up my CKAN database, using the paster db dump command:


/bin/sh: 1: P: not found
/bin/sh: 1: %x6tAI8^M: not found
Traceback (most recent call last):
  File "/usr/lib/ckan/default/bin/paster", line 9, in <module>
    load_entry_point('PasteScript==1.7.5', 'console_scripts', 'paster')()
  File
"/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/command.py",
line 104, in run
    invoke(command, command_name, options, args[1:])
  File
"/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/command.py",
line 143, in invoke
    exit_code = runner.run(args)
  File
"/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/command.py",
line 238, in run
    result = self.command()
  File "/usr/lib/ckan/default/src/ckan/ckan/lib/cli.py", line 155, in
command
    self.dump()
  File "/usr/lib/ckan/default/src/ckan/ckan/lib/cli.py", line 227, in dump
    pg_cmd = self._postgres_dump(dump_path)
  File "/usr/lib/ckan/default/src/ckan/ckan/lib/cli.py", line 204, in
_postgres_dump
    self._run_cmd(pg_dump_cmd)
  File "/usr/lib/ckan/default/src/ckan/ckan/lib/cli.py", line 218, in
_run_cmd
    raise SystemError('Command exited with errorcode: %i' % retcode)
SystemError: Command exited with errorcode: 127
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130827/580ff69c/attachment.html>


More information about the ckan-dev mailing list