Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Nithyanantham Lakshmanan December 14, 2020

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#

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, mindful member, mindful member badge, atlassian community, community kudos, community giveaway, atlassian swag, community values, empathy and kindness, badge challenge, atlassian learning, community engagement, swag giveaway

Earn a Badge, Win a Prize 🎁

Earning the Mindful Member badge proves you know how to lead with kindness, plus it enters you into a giveaway for exclusive Atlassian swag. Take the quiz, grab the badge, and comment on our announcement article to spread the good vibes!

Start here
AUG Leaders

Atlassian Community Events