Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,299,255
Community Members
 
Community Events
165
Community Groups

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

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,239 views 2 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