Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

pg_restore: [directory archiver] could not open input file " x ": No such file or directory

Hi,

I'm facing issue while trying to restore the bitbucket dump using with bitbucket standard set of scripts.. How to resolve the same...?

And using External PostgreSQL 9.6 server for this restore.

tmp/webresources/92.cachedfile
tmp/webresources/93.cachedfile
tmp/webresources/94.cachedfile
tmp/webresources/95.cachedfile
tmp/webresources/96.cachedfile
tmp/webresources/97.cachedfile
tmp/webresources/98.cachedfile
tmp/webresources/99.cachedfile

sent 28,216,533,709 bytes received 8,370,769 bytes 19,911,749.19 bytes/sec
total size is 28,180,534,930 speedup is 1.00
[database-postgresql.sh:54 -> restore_db][son-ubuntu-1] DEBUG: Running pg_restore -U bitbucketuser -h 10.222.2.201 --port=5432 -j 5 -d postgres -C -Fd /tmp/bitbucket.diy-restore.qaCI2V/bitbucket-db
pg_restore: [directory archiver] could not open input file "/tmp/bitbucket.diy-restore.qaCI2V/bitbucket-db/toc.dat": No such file or directory

[1]+ Exit 1 ../backupScript/atlassian-bitbucket-diy-backup/bitbucket.diy-restore.sh bitbucket.app.dir.dump.2020-11-04-00-12-01
root@XXX-ubuntu-1:/opt/bitbucketDump#

1 comment

Any update on this issue..?

y-restore.NB4KAa/bitbucket-db
pg_restore: [directory archiver] could not open input file "/tmp/bitbucket.diy-restore.NB4KAa/bitbucket-db/toc.dat": No such file or directory
root@hclson-bitbucket:/opt# vi database-postgresql.sh
root@hclson-bitbucket:/opt# vi scripts-atlassian-bitbucket-diy-backup/database-postgresql.sh
root@hclson-bitbucket:/opt# vi scripts-atlassian-bitbucket-diy-backup/
root@hclson-bitbucket:/opt# ls -ltr

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

2,581 views 1 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you