The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
PZ help :configure: error: cannot find output from flex; giving up bullet350 SUN Solaris 0 11-29-2007 05:24 AM
v3fshelper: There is an input or output error padawan75 AIX 2 11-21-2007 08:56 AM
Giving input to a c++ file tonyaim83 Shell Programming and Scripting 2 10-23-2007 01:10 AM
Giving input through script radhika03 Shell Programming and Scripting 1 08-17-2005 12:40 AM
/dev/rStp0 giving error workingstiff UNIX for Dummies Questions & Answers 1 10-29-2002 06:25 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-28-2005
JPigford JPigford is offline
Registered User
  
 

Join Date: Jan 2005
Posts: 17
Backup is giving me input/output error

I've been successfully running a daily cron script to backup certain things on my server but just recently I started getting input/output errors for everything. For each directory the script tries to backup I now get this:

cp: accessing `/mnt/backup/**dir**/': Input/output error
  #2 (permalink)  
Old 01-28-2005
sol8admin sol8admin is offline
Registered User
  
 

Join Date: Jan 2005
Posts: 9
Hi,

Can you please send me your backup scipt so that i can suggest you any solution.

Regards,
shafi
  #3 (permalink)  
Old 01-28-2005
JPigford JPigford is offline
Registered User
  
 

Join Date: Jan 2005
Posts: 17
#!/bin/bash
cp -r -f /home/dir1/public_html/ /mnt/backup/dir1/
cp -r -f /var/lib/mysql/ /mnt/backup/database
cp -r -f /home/dir2/public_html/ /mnt/backup/dir2
cp -r -f /home/dir3/public_html/ /mnt/backup/dir3
cp -r -f /home/dir4/public_html/userdata/users_index.txt /mnt/backup/dir4/public_html/
exit
  #4 (permalink)  
Old 01-28-2005
una una is offline
Registered User
  
 

Join Date: Jan 2005
Posts: 6
hi,

/mnt/backup dir is on another disk or the same disk ?.
if its on the other disk the other disk may be damaged .

regards,
una
  #5 (permalink)  
Old 01-28-2005
JPigford JPigford is offline
Registered User
  
 

Join Date: Jan 2005
Posts: 17
/mnt/backup is a seperate NAS backup disk provided by my dedicated server provider.
  #6 (permalink)  
Old 01-28-2005
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Can you post the output of this command:

df -k /mnt/backup
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:47 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0