Programming :: Incremental Backup Using DUMP Command - Error "DUMP: Only Level 0 Dumps Are Allowed On A Subdirectory"

Sep 6, 2010

I have used Dump Command to dump the application files. For Full backup the level 0 is working fine. For incremental backup I used the level 1 or 2 it is getting the error as

DUMP: Only level 0 dumps are allowed on a subdirectory
DUMP: The ENTIRE dump is aborted.

The code I used
===============================
#!/bin/bash
#Full Day Backup Script
#application folders backup
#test is the username
now=$(date +"%d-%m-%Y")
[Code]...

View 2 Replies


ADVERTISEMENT

Programming :: Core Dump Issues. Program Crashes But Does Not Generate Core Dump File?

Oct 7, 2009

I want to generate core dump files from my program when it crashes. Its a pretty big process and has about 10-11 threads in it.I have followed the documentation to enable core dump by setting ulimit to unlimited etc. I quickly tried "A demo program creating a core dump" from the following webpage, which succeeds in Segfault and dumping a core file in the directory that I configured.However, I tried running my original program and caused it to crash. I did this by making calls to kill(), raise() or the same null pointer access as shown in the webpage above. In each case, my program crashed but did not generate a core dump file. Am I missing something?My program is in C++ and my environment is Redhat 9.0 (kernel 2.4.20)

Going through the "Why do I NOT get a core dump?" section on the same webpage as above, I can see two potential problems. One - there are issues with the suid/sgid (bullet # 6). I am not able to change any settings with suid because my system does not contain either /proc/sys/fs/suid_dumpable or /proc/sys/kernel/suid_dumpableTwo, my program has threads in it and the bullet # 8 is the problem.

View 1 Replies View Related

General :: Dump Command Backup Entire File System?

May 22, 2010

Does the dump command back up entire file-systems or is it capable of backing up subsets of a file-system? And is tar capable of taking device names (for file systems) as input to be archived?

View 1 Replies View Related

Programming :: Process Abruptly Ends Without Any Error Or Dump?

Apr 21, 2010

I have a process which runs for a while and then due to some unknown reason ends abruptly without giving a core. I tried looking in the logs and after watching for a pattern am still not 100% sure of the reason. So I was wondering if there is a way to catch the signal which ends the process and print some values in the handler function. I have called the handler for SIGTERM and SIGABRT functions but none of these are getting triggered. I looked online and did not find any other option. Can you please suggest if tehre is any other signal that can be caught for this unknown abrupt termination.

View 2 Replies View Related

General :: Trying To Get Dump To Backup Home Directory

Mar 27, 2011

I would like to have dump backup just my home directory but am having problems the command I am using wants to back every thing and takes hours upon hours it has been running for about 10 hr and only 21% is done. This is the command dump -0u -f dp_hd /media/CENTON USB/ /how can I get this to back up only my home directory

View 7 Replies View Related

Software :: Dump Or Tar - Backup Different Type Of Filesystem

May 19, 2009

Using tar is it possible to backup different types of file system e.g.ext3, ufs, or any other file system. I know using dump it is not possible because it is reading through raw device. Then what about tar? Where I get more info about this? Means suppose I want to backup files from different file systems using tar then is it possible?

View 1 Replies View Related

Server :: Backup Of Svn Repository Using Svnadmin Dump Dumpfile Location

Apr 14, 2011

One of my clients needs a backup of his svn repository. I see that this is possible using svadmin dump command. I see where the location of the source repository is, but I don't see anything in documentation as to where the actual dump file is located. I need to know where the dump file is so I can scp or rsync the file to another server for backup.

View 5 Replies View Related

Software :: Mysql Full Backup Script Not Archiving The Dump File?

Mar 20, 2011

I have a problem with a script i wrote, the script runs fine if manually executed however it doesn't run *fully* when executed via cron

here's the script :

Code:

#!/bin/bash
FILENAME=mysql_full_dump_`date '+%m.%d.%y'`.sql
`which mysqldump` --all-databases -uroot -p************ -h127.0.0.1 > /root/$FILENAME
RETVAL=$?

[code]....

the script resides in /root/bin and the cron entry is as follows:

Code:

0 0 * * * root "/root/bin/mysql_daily.sh"

the result is the .sql file, but it doesn't archive it.

View 2 Replies View Related

Server :: How To Restore Dump Command

Sep 7, 2010

I am still new in linux (Redhat) i used dump command to backup the root of the linux server: #dump -0u -f /dev/st0 / the command is achieved. how to restore this dump.

View 2 Replies View Related

Ubuntu :: Shell Command To Close A Program With Dump?

Feb 3, 2011

I'm running into some problems using pkill in my scripts. I'm using a program that needs to dump.

View 4 Replies View Related

Programming :: How To Get Full Kernel Dump

Apr 28, 2009

How do I get a full kernel dump?

View 4 Replies View Related

Programming :: GDB - Core Dump Analysis And Debug Info?

Oct 21, 2010

I am developing an application whose executable is generated inside a certain folder hierarchy (say: /DevPath/MyProject/bin). My source code is located in a different branch of this hierarchy (say: /DevPath/MyProject/src). When my app crashes, its core files are stored in /DevPath/MyProject. I'm developing the app on a pc, but running it on a separate platform in which i can only execute it. Folder hierarchy is the same as above on both computers. Usually, when a new executable version is ready, we update both the executable and the source code on the target platform, transferring all the new /DevPath/MyProject folder on it. But sometimes it can really be a bother, so we update only the executable.

1)In the case we only update the executable, keeping an old source code version, and the app generates a core file, can i trust the backtrace produced by gdb in this case? I.e., does gdb need the latest source code files or it just needs the debugging information?

2) (More radical question ) Do i really need to keep the source code on the target platform for core dump analysis or i just need the executable?

View 1 Replies View Related

Programming :: Core Dump - Right Memory Block To Be Freed

Nov 8, 2010

In one of our core dump we have the followings in the core back trace:

#0 0xb77bf947 in raise () from /lib/tls/libc.so.6
#1 0xb77c10c9 in abort () from /lib/tls/libc.so.6
#2 0xb77f56ba in __fsetlocking () from /lib/tls/libc.so.6
#3 0xb77fcf7f in mallopt () from /lib/tls/libc.so.6
#4 0xb77fd022 in free () from /lib/tls/libc.so.6

It occurred in a memory block free operation. From our analysis, there seems no issue relate the the memory block it self. The memory pointer pointed to the right memory block to be freed and the contents of the memory seems right (not corrupted), in one world, there is nothing obviously wrong. Does any one have any ideas what could be wrong when seeing about?

View 1 Replies View Related

Programming :: Subsequent Calls To Realloc Cause Memory Dump?

Feb 17, 2010

I'm trying to write a C program that extends an array to any user inputed size.

Code:
if (arraysize == 0) {
arraysize = (int) pos + 1;
a = (int *) calloc (arraysize,sizeof(int));
for (i = 0 ; i < arraysize ; i++ )
a[i] = -1;
code....

The program dumps with that sequence of inputs everytime, but might dump an input before or after if different positions are requested. Interestingly, when I tested pos = 2000..2008, I got no dumps. So is realloc somehow trying to extend the array into bad space?

View 2 Replies View Related

Programming :: Core Dump Analysis Require A Program Name / Why Is So?

Jul 21, 2010

To analyse a coredump, I need to specify program name/path in GDB/KDevelop. Since the program name along with arguments is also within a core dump, I wonder if it doesn't keep the proper path of program that crashed and so asks for it?

View 3 Replies View Related

Programming :: Get A Core Dump In One Of The C Library Calls (like Strcpy Or Printf)

Sep 20, 2010

I am trying to port some "C" code from Solaris to Linux. I have a Dell PowerEdge R610 with an Intel Xeon E5504 quad core processor running Red Hat Linux Enterprise 5.3. I am compiling in 64 bit mode. I have managed to get the code compiled and linked, but when I attempt to execute it, I get a core dump in one of the C library calls (like strcpy or printf.)

I have a static library that contains our own code that makes the call to the C library. If I move the library method into the source file with the main method and rename it to be certain that I am executing my method instead of the method in our library, the call succeeds. Eventually another static library call is made that results in a core dump in the shared object. I compile my library code into a static library with gcc as:

[Code]....

View 3 Replies View Related

General :: PostgreSql Error "database Disk Image Is Malformed" After Db Dump

Dec 9, 2010

i created a db_dump from PostgreSql-8.2 and trying to dump it into PostgreSql-8.4 new install. 2 of the 3 databases are fine, except for minor issues, but the 3rd database is giving me the following error message when i start a service calling on it, assist: "database disk image is malformed"

View 1 Replies View Related

General :: How To Get BGP Table Dump

Jan 18, 2011

Recently I tried to get BGP table dumps from public route servers. I telnetted into one of those public route servers and ran "show ip bgp" command. My question is: how to save the command output to my local machine? I cannot run "show ip bgp > tmp.txt" on the remote route server.

View 1 Replies View Related

Security :: Any Way To Get GDB To Dump Memory Map?

Apr 21, 2010

is there a way to get GDB to dump memory map so I can see if certain parts of the memory is executable or not (i.e : if heap/stack is executable). Do you know of a way to do this within GDB session?
Just didn't use gdb, and did instead:
cat /proc/$PID/maps

View 1 Replies View Related

Software :: Get A Simple Hex Dump In Gdb

Apr 30, 2010

While using gdb to debug a C++ program. What I'd like is to be able to enter an address (or an expression yielding an address), and a size, and have it simply do a hex dump. Or maybe even like:

aaaaaaaa 7473839298 29873479898734 this du mp is fa
aaaaaaab 8298...... .............. ke

(I just made up the hex digits above, and didn't even count columns. But you get the idea)

I'm actually using DDD, so a GUI solution is also acceptable.

View 3 Replies View Related

Fedora :: 11 System Freeze With Dd Dump

Jul 17, 2009

i've got a non-typical problem here. i've got kvm-ed freebsd (its not so important here) stored on a block device - /dev/sdb8. i wanted to install fedora rawhide there but first i thought it's a good idea to do some backup. so here we go dd if=/dev/sdb8 of=freebsd.img bs=4k

theoretically, dd should do the thing without saying a word, but it doesn't. every time it stops after reaching 16GB filesize (partition is about 35GB) and completely locks the system (only reset helps).the dump worked only once, but when i tried to compress this big image 7z got stucked too and the system froze . the problem occurs when copying to the same drive or to different drive. i've got a partial kerneloops logs, but so far i haven't found the answer.

Code:
Kernel failure message 1:
BUG: Bad page state in process bash pfn:14a224
page:ffffe200048377e0 flags:0040000000000000 count:0 mapcount:0 mapping:0000000000000002 index:2a4b (Tainted: P )
Pid: 9711, comm: bash Tainted: P 2.6.29.5-191.fc11.x86_64 #1
Call Trace:
[<ffffffff810a2be0>] bad_page+0x11d/0x130
[Code]....

View 2 Replies View Related

Ubuntu :: Can't Dump / Restore A File

Feb 18, 2010

I got a backup file which first 1000 bytes are as follows:

Code:

00000000 54 41 50 45 00 00 03 00 8c 00 0e 01 00 00 00 00 |TAPE............|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000030 02 00 87 05 51 64 50 48 01 00 00 00 01 00 00 00 |....QdPH........|

[code]....

I tried to restore it:

Code:

$ restore -r -f zzz_labxxxx
Checksum error 32615101403, inode 0 file (null)
restore: Tape is not a dump tape

What application could I use or even try? The man who made the backup can't be reached anymore and we had been left with the backup.

View 1 Replies View Related

Ubuntu :: How To Enable Core Dump

May 27, 2010

To get core dump from my program, I execute the following commands from the terminal:

ulimit -c unlimited
myprogram

After program crash, I see core file in the home directory. How can I make this mode persistent, to have code dump always?

View 4 Replies View Related

Networking :: How To Create Dump Log Using TCPdump

Dec 7, 2010

I am trying to create a dump log using tcpdump. I want display the top 10 ip addresses sorted numerically showing how many times the ips are hitting the server. I'm getting frustrated because It's not working how I'd like it to.

View 1 Replies View Related

Debian :: Dump For Squeeze As A Desktop OS?

Feb 2, 2011

I've been using Linux for about 8 years now, including Red Hat, Debian, Fedora, Mandrake (now Mandriva), Libranet (R.I.P.), and an aborted foray into Gentoo (not my cup of tea). A few years ago, I switched to Ubuntu, and now I use it everywhere. It runs my Mythtv dvr at home, powers my laptop, and my desktop at work. I'm now considering with some reluctance to return to Debian. I like the basic principles of Debian, and now don't feel I need the latest and greatest packages. However, Ubuntu has generally "just worked" in a desktop setting. Anyone with Ubuntu experience tried Squeeze as a desktop OS yet? How does it compare to Ubuntu?

View 14 Replies View Related

CentOS 5 :: Backup Script With TAR - Incremental Backup With Simple FTP To Another Location And Email Status

Jan 15, 2010

After I spent some time discovering The BIG BANG of Universe and The Meaning of Life :

I managed somehow to create a script to make some backup of files on server and TAR it and then FTP the archive to another location FTP server and then emails result.

It also measures time needed to complete it and deletes archive older than XX days (set in find -mtime +20) and makes incremental backup every weekday and FULL on Sundays (which suits me bcoz no heavy load).

Files for TAR to include and exclude are in txt files listed each line separate name:

file: including.txt:

View 7 Replies View Related

OpenSUSE Install :: Sles11sp1 Dump Is Not Captured

Sep 6, 2010

I setup kdump on sles11sp1, on issuing "echo c > /proc/sysrq-trigger" capture kernel is not booted and kernel dump is not created. Here is my system configuration: Welcome to SUSE Linux Enterprise Server 11 SP1 (x86_64) - Kernel

(l). blade797:~ # uname -a Linux blade797 2.6.32.12-0.7-default #1 SMP 2010-05-20 11:14:20 +0200 x86_64 x86_64 x86_64 GNU/Linux

blade797:~ # cat /proc/cmdline root=/dev/disk/by-id/cciss-3600508b1001030343220202020200018-part2 resume=/dev/disk/by-id/cciss-3600508b1001030343220202020200018-part1 splash=silent crashkernel=256M-:128M vga=0x317 steps followed to enable kdump:

1) yast2 kdump
2) chkconfig boot.kdump on
3) reboot
4) cat /sys/kernel/kexec_crash_loaded
1
5) echo c > /proc/sysrq-trigger
6) system panicked, but dump is not captured.
7) I'm missing /proc/vmcore on Sless11Sp1.

View 2 Replies View Related

Ubuntu Multimedia :: Webcam Periodically Gets Dump

Jul 4, 2011

I have a webcam that periodically gets dumped and I have to unplug and plug back in to get it to work again. I think it has to do with somethign about how the webcam is USB 2.0 but my PC is USB 1.0, even though it says it is USB 2.0. In Windows it would also dump it but then it would automatically remount it.

View 1 Replies View Related

General :: Child Process Does Not Core Dump

Jul 27, 2011

In my program, I fork() to get a child process. Because of some problem, child process terminates by a segmentation fault. Parent process is still running. I have compiled my code with -g option. I have done: ulimit -c unlimited. I am not getting core dump of the child process. How can I get the core dump of child process?

View 1 Replies View Related

General :: Creating Dump Of Existing File?

Oct 21, 2009

How to create a dump of an existing file and how to restore it with command line?

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved