LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-10-2004, 12:48 PM   #1
DipeshKhakhkhar
LQ Newbie
 
Registered: Sep 2004
Posts: 6

Rep: Reputation: 0
Back up error !


Hi,

I have a script which does daily back up.

/**********************************

#!/bin/sh
DEVICE="sda1 sda3 sdb1 sdb2 sda5"
if ( ! mt -f /dev/st0 rewind) then
echo "No tape in drive" && exit 1
fi

for item in $DEVICE; do
mount /dev/$item -o remount,ro
dump -0auqb 64 -f /dev/st0 /dev/$item
mount /dev/$item -o remount,rw
done

**********************************/

It failed and gave me the following error for one of the file system.

Error message
==========

DUMP: cannot rewrite /etc/dumpdates: Read only file system
DUMP: Entire dump is aborted.
mount: /var is busy.


Can somebody please tell me what cause this error and how should i rectify it. Shall i again run the back and see whether i am getting the error or what. Any help would be highly appreciated.

Thanks in the anticipation that I will get some useful hint to solve the above problem.

Cheers!!
 
Old 09-10-2004, 01:29 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
I've never used the dump command but I do have some hints:

/dev/st0 will rewind the tape drive after each dump command completes. This means each previous dump will be overwritten. Use /dev/nst0 instead.

http://surf.ap.seikei.ac.jp/~nakano/...-HOWTO.en.html
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SENDMAIL config error: mail loops back to me (MX problem?) /jhannus Slackware 6 06-21-2011 05:44 AM
config error: mail loops back to me (MX problem?) linuxboy69 Linux - Networking 11 05-04-2011 02:52 PM
Wine x11drv.dll error, how to roll-back Ollir Mandriva 2 12-03-2004 08:15 AM
hoe to back up the full lfs system : i got an error Vijiram Linux From Scratch 4 11-03-2004 11:23 AM
"Mail loops back to myself" - Error liquidcool Linux - General 0 10-15-2004 06:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration