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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,560,577
Community Members
 
Community Events
185
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
AUG Leaders

Atlassian Community Events