Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where is backup file? #8271

Open
TheGP opened this issue Dec 16, 2024 · 11 comments
Open

Where is backup file? #8271

TheGP opened this issue Dec 16, 2024 · 11 comments
Assignees
Labels

Comments

@TheGP
Copy link

TheGP commented Dec 16, 2024

After doing backup after it finishes the file is not present. Anyway how to access it if its on remote machine and I have no access to it with SSH.

@TheGP TheGP added the Bug label Dec 16, 2024
@yogeshmahajan-1903
Copy link
Contributor

If you are using pgadmin in server mode, then you can download the file from Tools > Storage Manager > Select file and click on download button. Please refer this link.

@TheGP
Copy link
Author

TheGP commented Dec 16, 2024

No, just normal mode, desktop app which connects to the server.

@yogeshmahajan-1903
Copy link
Contributor

If its desktop and you did not provide any path in backup dialog for filename field, then it will be stored in user home directory with which pgadmin is installed.

@TheGP
Copy link
Author

TheGP commented Dec 17, 2024

I dont see it there. grep doesnt find any files with such name either on local machine nor at server where I have access

@yogeshmahajan-1903
Copy link
Contributor

@TheGP
Can you please reopen backup dialog and click of file sign in filename field? pgadmin saves last directory used. So if you have not open file manager after taking backup, it should open the location which was used to store backup file.

Screenshot 2024-12-18 at 10 17 35 AM

@TheGP
Copy link
Author

TheGP commented Dec 18, 2024

I just made new one, it says in details: /app/bin/pg_dump --file "/home/eugenebos/test.sql" --host "1.1.1.1" --port "5433" --username "test" --no-password --format=c --large-objects --verbose --table "public.test" "test"
So where is it?

cat /home/eugenebos/tokens.sql                                    (base) 
cat: /home/eugenebos/tokens.sql: No such file or directory

@yogeshmahajan-1903
Copy link
Contributor

@TheGP
File name specified in the command is test.sql however you are checking of tokens.sql

@TheGP
Copy link
Author

TheGP commented Dec 19, 2024

cat test.sql                          (base) 
cat: test.sql: No such file or directory

I did it multiple times, probably posted wrong one
Plus as I said I searched the files before with "find"

@yogeshmahajan-1903
Copy link
Contributor

As command indicate file is located at home directory it should be present there only. (I your case /home/eugenebos/test.sql). Are you searching with correct user?
Here is screenshot for my pgadmin desktop app on Mac OS.

Screenshot 2024-12-19 at 10 12 10 PM

@TheGP
Copy link
Author

TheGP commented Dec 22, 2024

I told u I tried "find" I do it from a user who has full access. There are no other users.

@yogeshmahajan-1903
Copy link
Contributor

@TheGP
We can connect over the call to figure out the issue between 9AM - 5 PM IST

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

2 participants