Re: pg_dump and pg_restore to dropbox

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Andrea Bonomelli <andrea(at)okaystudio(dot)co(dot)uk>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: pg_dump and pg_restore to dropbox
Date: 2017-08-18 21:37:06
Message-ID: CAKFQuwYsXt4LE7HWJ5BD23CH6L6qQXaRxZafRBZBchLnsN1Vvg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Thu, Aug 17, 2017 at 8:48 AM, Andrea Bonomelli <andrea(at)okaystudio(dot)co(dot)uk>
wrote:

> ​D​
> UMP BAD
> sudo PGUSER="postgres" PGPASSWORD="xxx" /Library/PostgreSQL/9.5/
> pgAdmin3.app/Contents/SharedSupport/pg_dump --format=c okay_db_3 >
> '/Volumes/Promise\ Pegasus/Dropbox\ \(Okay\ place\)/OkayPost/_RESOLVEBACKUP/db3
> /test2.backup'
>
> -bash: /Volumes/Promise\ Pegasus/Dropbox\ \(Okay\ place\)/OkayPost/_RESOLVEBACKUP/db3
> /test2.backup: No such file or directory
>
> what am I doing wrong
> ​?
>
> ​I would suspect the problem is with escaping the spaces and parens in
your file name while simultaneously quoting the entire path.

David J.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Abhijit Gharami 2017-08-21 10:26:57 PostgreSQL 9.4.13 is facing issue in shutting down
Previous Message anand086 2017-08-18 17:13:12 Re: Analyze Table