pgAdmin4 import/export option greyed out - postgresql

so I recently configured and started using Pgadmin 4, managed to set up my localhost database, and my querys work properly, but for some reason I can't use the import/export dialog when I want to export my data as CSV, as it shows as greyed out. Could anyone help me out please? Image for Reference.
EDIT: The "Download as CSV (F8)" button is not working either.

You can just right click the table and use Import/Export option.
OR
To make Import/Export option you need to select table then click on Tools => Import/Export
And CSV download button is not working on some platform in current version that's a bug and already reported, It'll be fixed in next release.

if you are looking to export the query results , you need to do copy
COPY ([Query]) TO '[File Name]' DELIMITER ',' CSV HEADER;
Make sure you have created the file and it has all permissions to access

Related

Export single database, import to different database, Console only

In Google Cloud SQL, is there a way to export a single MySQL database (not the entire server) and then import that data into a different existing database on a different Cloud SQL Server, all through the console?
I know that this wouldn't be very difficult to do through the command line, but I'm looking for a Console-only solution. The things I can get to work are:
To restore an entire server
To restore a single database as a new database in an existing server
but neither of those are what I'm looking to accomplish. I want to overwrite a database in one server with the data from a database in another.
If I understood you correctly, this is what you can do:
Go to the first Cloud SQL instance
On the top there should be a button saying "EXPORT"
Select a bucket, and click on "Show advanced options".
Select the database(s) you want to export
Go to the second Cloud SQL instance
Click on the "IMPORT" button next to "EXPORT"
Select the file that you exported
I think that's what you want, if it's not, please reply so I can understand better.

Exporting Data from Access into a CSV File for Use in MongoDB

I need to recreate a database in a MongoDB backend environment that's currently in Microsoft Access format. Please note: I am not very familiar with MS Access. When I open up the db in question and click on "External Data" I see options to:
1.) "Import the source data into a new table in the current database" -- I clearly don't want this, and
2.) "Link to the data source by creating a linked table". I don't think I want this either.
I assume what I need is to download a version of this db as a CSV file. From there I can write an ETL to get the data into a mongo collection.
How do I do this from within Access? Is there an option to simply download the data onto my local computer in something like CSV format?
When I open up the db in question and click on "External Data" I see
options to:
You will also se icons with small arrows for export to Excel or text files - which, that latter, is what you are after.

Using bnb Backup

I'm trying to make backup of whole TYPO3 (4.6) based web page.
I have bnb Backup installed but when I click on it I get message:
Please include the static template of this extension and set "BackupDirectory"
I've found in manual tha I should add bnb backup to include tab in template.
But that didnt help :/
Any idea?
There are more ways to create backups. Maybe this can help: https://wiki.typo3.org/Backup
You only need the database dump and the files. No magic.

How to export data from Chrome developer tool?

Network analysis by Chrome when page loads
I would like to export this data to Microsoft Excel so that I will have a list of similar data when loaded at different times. Loading a page one time doesn't really tell me much especially if I want to compare pages.
if you right click on any of the rows you can export the item or the entire data set as HAR which appears to be a JSON format.
It shouldn't be terribly difficult to script up something to transform that to a csv if you really need it in excel, but if you're already scripting you might as well just use the script to ask your questions of the data.
If anyone knows how to drive the "load page, export data" part of the process from the command line I'd be quite interested in hearing how
from Chrome 76, you have Import/Export buttons.
I was trying to copy the size data measured from Chrome Network and stumbled on this post. I just found an easier way to "export" the data out to excel which is to copy the table and paste to excel.
The trick is click Control + A (select all) and once the entire table will be highlighted, paste it to Microsoft Excel. The only issue is if there are too many fields, not all rows are copied and you might have to copy and paste several times.
UPDATED: I found that copying the data only works when I turn off the filter options (the funnel-looking button above the table). – bendur
Right-click and export as HAR, then view it using Jan Odvarko's HAR Viewer
This helps in visualising the already captured HAR logs.
I came across the same problem, and found that easier way is to undock the developer tool's video to a separate window! (Using the right hand top corner toolbar button of developer tools window)
and in the new window , simply say select all and copy and paste to excel!!
In Chrome, in the Developer Tools, under Network, in the Name column, right-click and select "Save as HAR with content". Then open a new tab, go to https://toolbox.googleapps.com/apps/har_analyzer/ and open the saved HAR file.
Note that ≪Copy all as HAR≫ does not contain response body.
You can get response body via ≪Save as HAR with Content≫, but it breaks if you have any more than a trivial amount of logs (I tried once with only 8k requests and it doesn't work.) To solve this, you can script an output yourself using _request.contentData().
When there's too many logs, even _request.contentData() and ≪Copy response≫ would fail, hopefully they would fix this problem. Until then, inspecting any more than a trivial amount of network logs cannot be properly done with Chrome Network Inspector and its best to use another tool.
You can use fiddler web debugger to import the HAR and then it is very easy from their on... Ctrl+A (select all) then Ctrl+c (copy summary) then paste in excel and have fun
I don't see an export or save as option.
I filtered out all the unwanted requests using -.css -.js -.woff then right clicked on one of the requests then Copy > Copy all as HAR
Then pasted the content into a text editor and saved it.
I had same issue for which I came here. With some trials, I figured out for copying multiple pages of chrome data as in the question I zoomed out till I got all the data in one page, that is, without scroll, with very small font size. Now copy and paste that in excel which copies all the records and in normal font.
This is good for few pages of data I think.
In more modern versions of Chrome you can just drag a .har file into the network tab of Chrome Dev Tools to load it.
To get this in excel or csv format- right click the folder and select "copy response"- paste to excel and use text to columns.
You can try use Haiphen, which is a chrome extension that allows you to analyze network traffic and what API calls a web application is making.

Web deployment tool

I would like to know if in IIS manager, when I export an application, there is a way to save components selected so, when I export next time, to select them by default (like appHostConfig). Thank you.
Unfortunately that is not possible today, if you are constantly using it you should consider using the command line instead that will easily allow you to save those in an external file and run them as frequently as needed without having to specify everything again.