Recording the contents of memory after application or operating system failure, or by operator request, in a core dump for use in subsequent problem analysis. Also, recording a file or medium as a backup.
Questions tagged [dump]
1607 questions
64
votes
3 answers
How to convert a string to UTF8 in Ruby
I'm writing a crawler which uses Hpricot. It downloads a list of strings from some webpage, then I try to write it to the file. Something is wrong with the encoding:
"\xC3" from ASCII-8BIT to UTF-8
I have items which are rendered on a webpage and…

ciembor
- 7,189
- 13
- 59
- 100
61
votes
8 answers
How to restore PostgreSQL dump file into Postgres databases?
I have a dump file with a .SQL extension (in fact it is a plain-text SQL file). I want to restore it into my created databases. I am using pgAdmin III, and when I use its "Restore Wizard" it does not highlight the button "Restore". Instead it is…

Usman
- 2,742
- 4
- 44
- 82
56
votes
2 answers
meteor: how can I backup my mongo database
How can I make a backup of my meteor mongo database?
If I run:
meteor mongo
the mongodump command does not work inside the meteor mongoshell

kask
- 1,759
- 2
- 15
- 21
55
votes
2 answers
minidump vs. fulldump?
I just recently started looking at dump files to help me analyze crashes of the w3wp process on our production environment at work...
And I would like to know, what are the differences between a minidump and a fulldump file ?

gillyb
- 8,760
- 8
- 53
- 80
49
votes
5 answers
How to dump data stored in objective-c object (NSArray or NSDictionary)
Forgive me for a potentially silly question here, but in other programming languages (scripting ones like PHP or Perl) it is often easy to dump everything contained within a variable.
For instance, in PHP there are the var_dump() or print_r()…

jpm
- 16,622
- 34
- 63
- 66
48
votes
9 answers
pg_dump: too many command line arguments
what is wrong with this command:
pg_dump -U postgres -W admin --disable-triggers -a -t employees -f D:\ddd.txt postgres
This is giving error of too many command-line arguments

Bhargav Gor
- 521
- 2
- 6
- 7
47
votes
4 answers
How can I dump the entire Web DOM in its current state in Chrome?
I want to dump the current DOM to a file and be able to view it offline. Essentially, I have an outdated version of a page that I would like to keep around for comparison. As soon as I close my browser, I'm going to lose it so I would like to save…

styfle
- 22,361
- 27
- 86
- 128
45
votes
16 answers
Dump File MySQL 5.6.10
I was trying to create a dump file from my MySQL database, but when I try it always gives me this error
Operation failed with exitcode 2
16:06:07 Dumping proactivetraindb (userstate)
Running: mysqldump.exe…

aboliveira
- 623
- 1
- 6
- 10
43
votes
2 answers
Connect to URL and dump webpage in Groovy
I would like to open a webpage from groovy, dump the specified webpage and eventually dump the webpage behind an anchor tag.
Does anybody has some sample code for this?
myHTMLlogin
42
votes
6 answers
Pretty print JSON dumps
I use this code to pretty print a dict into JSON:
import json
d = {'a': 'blah', 'b': 'foo', 'c': [1,2,3]}
print json.dumps(d, indent = 2, separators=(',', ': '))
Output:
{
"a": "blah",
"c": [
1,
2,
3
],
"b": "foo"
}
This is a…

Basj
- 41,386
- 99
- 383
- 673
42
votes
7 answers
Mysql : dump database along data
I want to dump my database along the table schema and the table data also using the unix command line .
I used .
mysqldump -d -u root -p frontend > frontend.sql
But above command is dumping only schema not the data from the database .
Please help…

masterofdestiny
- 2,751
- 11
- 28
- 40
40
votes
6 answers
How to restore MySQL dump from host to Docker container
I'm sure this is a duplicated topic, but I simply cannot get it done: I like to restore my database dump to MySQL container in run time, without modifying the docker-compose.yml file.
Dockerfile
FROM php:5.4.45-apache
RUN apt-get update
RUN…

bimlas
- 2,359
- 1
- 21
- 29
40
votes
2 answers
Find out what functions a static C library has
I have a static C library (say mylib.a) and I was wondering if it's possible to find out what functions are implemented inside that file. I don't have a corresponding header file. what I need is like the equivalent of javap for Java.

cd1
- 15,908
- 12
- 46
- 47
40
votes
1 answer
How to prevent YAML to dump long line without new line
While dumping/serializing data having long lines in input, pyyaml adds extra indentation with new line - which is annoying, how can we avoid this conversion in two lines / multiple lines ?
e.g.
In [1]: x = "-c…

shahjapan
- 13,637
- 22
- 74
- 104
40
votes
3 answers
Gdb dump memory in specific region, save formatted output into a file
I have a buggy (memory leaked) software.
As an evidence, I have 1GB of core.dump file. Heap size is 900MB, so obviously, something allocates, but does not free the memory.
So, I have a memory region to examine like this.
(gdb) x/50000s…

dragonfry
- 805
- 1
- 7
- 11