Questions tagged [dump]

Raw data, typically a section of main memory outputted to a file after the crash of a program or of the kernel itself. Questions relating to debugging and analysis of dump files.

Filter by
Sorted by
Tagged with
0
votes
0answers
11 views

How do I dump text from the GNU info reader?

I would like to dump the text from a page of a tool's info documentation to a text file and read and edit it subsequently in Vim. Does the GNU info reader permit dumping of its text, or is there an ...
4
votes
2answers
721 views

What causes \r's to be inserted before \n's when retrieving a binary file over ssh, and how do I circumvent it?

I have inherited a Ubuntu 14.04 production server which needs to be upgraded to 20.04, and I would like a sandboxed version to experiment with first, hence I want to dump and restore the filesystems ...
0
votes
0answers
37 views

Dumping a packed shared library

I have 2 packed shared libraries, the second one is probably dependent on first one. The first one is packed with UPX, and the unpacking code is in .init_proc. I have tried attaching a debugger and ...
2
votes
1answer
137 views

Dumping a live filesystem

I've managed to root a device and I'd like to dump it's entire filesystem in order to analyze and reverse engineer it. This device claims to be Linux 2.6.31 mips GNU/Linux. The way I can access the ...
3
votes
2answers
5k views

What is the difference between the od, hd, hexdump and xxd commands?

What is the difference between the od, hd, hexdump and xxd commands ? They are all commands for dumping files and they can all dump it in various formats such as hexadecimal, octal or binary. Why ...
-1
votes
1answer
204 views

accidently used dd on the wrong drive

i was trying to make a bootable usb with disk dump command in ubuntu, but i typed the wrong device name and hit enter so it started the process on my external hard drive , but after a few seconds i ...
-3
votes
3answers
211 views

DATA DUMP WHATEVER IS ON usb 3-1 BUY USB ADDRESS ONLY

how can i retrieve data from "ANY" device using "ONLY" it's "USB ADDRESS" ergo usb 3-1 so that "WHATEVER" attaches to this port get dumped as opposed to any other descriptors "NOT" "NOT" /dev/...
0
votes
1answer
2k views

How to generate memory dump from outside a running container

I have running a .net service inside a container. And I am observing the memory consumption of this service inside the container is gradually going up to the limit set to that container and after it ...
3
votes
0answers
680 views

Memory dump on Ubuntu 18.04 failed on too big /proc/kcore/

There are two great articles about how to aquire memory on Linux using linpmem: SANS holdmybeersecurity Trying the approach from holdmybeersecurity I ran into the following issue, which seems to be ...
0
votes
1answer
165 views

Error message "jrcmd: not found" when I execute a script

I am getting the error below when I execute a script: Ksh: line 1: jrcmd: not found When I execute the same command in weblogic server, I get the output, but executing the same command inside a ...
0
votes
0answers
38 views

redhat kernel dump investigate [duplicate]

I have received a vmcore.gz (400MB) and vmcore-dmesg.txt file from production machine that had kernel panic. The producation is redhat 5 machine with kernel 2.6.18-431.el5 In order to investigate the ...
0
votes
1answer
720 views

How to use ubifs image with modprobe? To extract ubifs image

I try to do something like this - link. All examples in the web are not working at all. modprobe ubi mtd=0 modprobe: module ubi not found in modules.dep modprobe ubi modprobe: module ubi not found ...
2
votes
0answers
793 views

Extract a running ELF from a memory dump

Our teacher gave us as homework a memory dump from a VBox (Ubuntu 16.04.9) and said that the message we need to get is printed by an ELF currently running in the VM. This is my what I get after ...
1
vote
1answer
375 views

watch netcat transfer dump from android to pc

how can i monitor netcat transferring from android to my linux machine i used this command on android device ( sender ) to make a full dump for my device : dd if=/dev/block/mmcblk0 | busybox nc -...
1
vote
1answer
145 views

Exporting and importing a mysqldump from within a mysql CLI heredocument

The following code drops a DB user and a DB instance by the name of test, if both exists, then creates an authorized, all privileged DB user and a DB instance with the same name (also test). mysql -u ...
0
votes
2answers
33 views

Program to instantly host a mysql database from a dump file [closed]

I'm looking for a utility program which can take a dump of a mysql database and basically host a "fake" or minimal mysql server with that data for testing another program which requires it. Has ...
3
votes
0answers
11k views

How to get RAM map?

I had read a topic by Gabriele Tolomei about map of Linux memory. I want to make a memory map for my Linux Ubuntu 16.04, using basic utilities, like dd and xxd, and I want to compare my result with ...
3
votes
1answer
359 views

AIX: how to do a dump that contains the application related infos too?

There is a server having an interesting problem (a few other had the problem too). We think that SAP takes almost all the paging, but we cannot say that 100%, because when this problem occurs, even a "...
0
votes
1answer
1k views

centOS: full file system backup and restoration [duplicate]

I have a dedicated server with centOS. I need to do a full system backup, save backup file on server and download a copy of that backup file to my personal computer (local computer in office). From ...
1
vote
1answer
170 views

dump command - does it save extended attributed, ACLs and SELinux settings on ext4 filesystems?

I'd like to use dump(8) for dumping an ext4 filesystem for transport to another system. However, it is not clear from research that I have come across as to whether the dump/restore pair will ...
4
votes
1answer
455 views

ssh dynamic port forwarding and tcpdump shows cleartext

I'm trying to encrypt my web traffic using SSH dynamic port forwarding in case I happen to be in moot places such as internet cafes, hotels and so on. On my laptop I installed an SSH server and ...
0
votes
1answer
132 views

Can I start the VM in openVZ once the checkpoint is completed during vzdump?

I have a VM with huge amount of data, close to 800GB. I was taking a vzdump of this VM. During the vzdump, openvz suspends the vm and does a check point and does a final sync of data before completing ...
0
votes
1answer
31 views

dump with old 43BSD,question about tape size

On old 43bsd i want to dump /usr This command works dump 0uf /dev/rmt12 /dev/ra0a dump is command 0u mean full and update /etc/dumpdates f mean use /dev/rmt12 and /dev/ra0a is the root partition. ...
6
votes
3answers
10k views

How to compress a mysql dump using 7z via a pipe?

I've been attempting to compress my mysqldump output via 7z using the pipe operator (I have seen this question, but its answer uses xz not 7z). This is what I have tried so far: mysqldump -u root -p ...
6
votes
2answers
2k views

Deleted my ssh keys

I'm on a Mac (OSX). I've accidentally deleted my ssh keys, but I haven't restarted my computer yet so I'm still able to access servers with my key. I guess the ssh-agent has some form of it in memory?...
0
votes
1answer
2k views

Linux dump, which folders/files are excluded from first backup?

When using dump, level 0, to save the whole concerned partition : $ dump -0f /path/to/target/drive / I'm said some folders are excluded (I guess, at least, tmp folder). I have not found more detail ...
1
vote
2answers
199 views

How to check if a dump-generated backup is OK?

When dumping my FS with dump, e.g.: $ dump -0f /path/to/usb/nonexistant-file-name / I get a binary file, extension-free. It's normal. I regularly store such backups, if ever I need to restore one. ...
0
votes
1answer
44 views

Linux dump(8) outputs nothing

I am dumping my live partition. All works ok in terminal. Until the 100%. I dump from live mint partition to an USB key. $ dump -0f /dev/sdc1 /dev/sda2 Once done, I look at my USB key. Nothing on ...
1
vote
2answers
986 views

du: combine both timestamps

On Linux, du offers the displaying of timestamps: atime OR ctime OR mtime Question: Is there an easy way to get all three of them displayed at the same time (one file, all three timestamps)? I guess ...
0
votes
1answer
56 views

Can't find the location of DUMPed file system

I dumped a file system, chose the name for the dump ("home_fs_dump"), the dump was declared successfull, and yet I couldn't locate this name anywhere in the system. (And at the end I tested if locate ...
1
vote
0answers
893 views

Restore from incremental backup?

I read some books which use dump and restore. They said that during restore, first restore the latest full backup, and then restore each incremental backup created after the full backup. But I am ...
2
votes
1answer
857 views

/etc/fstab 5th column

Whatever I have understood so far about the 5th column of /etc/fstab that it is for dump command to run on that file system. if entry is 0 dump command will not run and if the entry is 1 then dump ...
11
votes
2answers
4k views

Dump network traffic of single application (strace-like)

I'm looking for a way to dump pcap of network data generated by an application, in a simmilar way strace dumps syscalls, etc. eg: net-strace somecommand -args somecommand would do something over the ...
1
vote
0answers
5k views

tracking directory permission changes

Permission of a certain directory named 11203 got changed twice because of which the hosted app encountered some problems. When I used the command: ausearch -i |grep chmod |grep 11203 I got the ...
2
votes
2answers
4k views

How to mount a dd-image which was created via fmem (memory dump tool)

I've used the tool fmem for creating a memory dump dd-file. That works fine. But how can I access this image? I've tried it with mount but it says I have to specify a filesystem. But non of the given ...
8
votes
2answers
5k views

A way for saving running state of a program [duplicate]

I have a program that will perform a lengthy calculation which may take several days to be completed. Is there a way to save the program's running state; so I will be able to turn off the computer ...
5
votes
0answers
1k views

What is the structure of Libvirt Qemu VM dump/save files?

I need to do some exploration of Qemu-KVM virtual machines physical memory (particularly I need to check the fact of the physical memory intersection). In order to do that I'm trying to save VM's ...
22
votes
3answers
101k views

How to dump memory image from linux system?

I know to dump memory images in Windows. (eg-dumpit) But I don't know how to dump memory images in Linux. I want to get memory images in Linux and from Linux to Linux with ssh connection or something....
1
vote
1answer
81 views

Why doesn't `restore` display my UTF-8 encoded filenames correctly in interactive mode?

When using the interactive mode of the restore utility to restore backups made with dump UTF-8-encoded filenames doesn't display correctly, see example below. The ??s should be ös ... $ sudo restore -...
6
votes
3answers
4k views

Are there any ways or tools to dump the memory cache and buffer?

I want to check out what files are loaded in buffer. Just so it's clear, the buffers & cache I'm referring to are what show up when you run the free -m command: $ free -m total ...
2
votes
1answer
129 views

Compare a filesystem to a dump

Is there a way to compare the current state of the filesystem to that stored in a backup created by dump? I recently had some major corruption in the filesystem and my most recent backup is from ...
1
vote
1answer
507 views

What are the relative merits of the various standard Unix archival utilities? [closed]

There are many archival tools for Unix, with varying degrees of availability. To make matters more confusing, many of them can write each other's formats. I am seeking more information on their ...
1
vote
2answers
1k views

Chaining mysqldumps commands to output a single gzipped file

Let's say I have these series of commands mysqldump --opt --databases $dbname1 --host=$dbhost1 --user=$dbuser1 --password=$dbpass1 mysqldump --opt --databases $dbname2 --host=$dbhost1 --user=$dbuser1 ...
3
votes
2answers
1k views

tshark dump only when string is matched

I'm working on a web capture script where I only want to dump the traffic if the HTML body or URL contains a string defined in a .txt file. Here is my tshark command which dumps src ip dest url (HTTP ...
11
votes
4answers
43k views

Moving /boot and MBR to a new drive

I have a CentOS 6 server with two hard drives in it. My old 3TB drive has been giving me some issues so I'm moving things over to a new drive. Because my / and /home partition are managed by a LVM ...
2
votes
1answer
1k views

Extract UNIX dump file in Windows 7

I have a dump-file of the UFS partition created with FreeBSD's dump. How to view its content and extract some files from it on Windows 7? Cygwin's restore provides very limited functionality and ...
1
vote
1answer
297 views

dump freezes system

dump -h 0 -0Lauf /backup/ada0p2.dump / - causes total system freeze. server# cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/ada0p2 / ufs rw ...
2
votes
1answer
190 views

What is Unix for the OpenVMS DUMP command?

In OpenVMS the DUMP command: Displays the contents of a file, a directory, a disk volume, a magnetic tape volume, or a CD-ROM volume in decimal, hexadecimal, octal format, ASCII, or formatted ...
5
votes
1answer
330 views

od emulation for directories

I was wondering why od(1) used to work in UNIX but doesn't work in GNU/Linux. There is a nice answer on serverfault. The next question is, are you aware of any tools that can emulate od behavior to ...