LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-15-2006, 12:20 PM   #1
nadine.mauch
Member
 
Registered: Aug 2003
Location: France
Distribution: SuSE 7.2/8.1/8.2/9.0/9.1
Posts: 81

Rep: Reputation: 15
tar/network/locked files


SuSe linux 9.1/9.3/10.0
Compaq Proliant ML110
HP DAT DDS-4

Hi,

I've written a bash script to backup my linux box and some PC connected to my network on a
DAT tape.
I've often tar errors like
tar: error exit delayed from previous errors.
So I've investigated this point and saw that it's due to opened files or more precisely to read errors especially on hidden files.

I would like to know if on the linux box :
-it's possible to backup an opened file (with an acl set on it or else) because it's just
a read access
-it's possible to know which file cannot be backed up (lsof +D path seems to find lots of opened files)
-it's possible to unlock temporarily the files

The script executes as root launched by cron so I don't think it's a problem of rights.

I don't want to set --ignore-failed-read because I don't want the users to think that
everything is allright till they loose files.

My linux box runs 24/7 because it's the network server so I just can't stop it for backup.
Concerning the PC I do an nfs mount to gain
access to the directories to backup.
And here I've read errors too despite the fact that users close all applications (I don't know if they logout...).

If someone has an idea on the subject he's welcome.
Thanks in advance
 
  


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
Locked Files - How To Unlock Them bas12547 Linux - Software 9 01-26-2011 04:11 PM
a tough question 4 u, problem in extracting tar & tar.gz files p_garg Linux - General 5 11-08-2010 11:02 AM
how to install .tar.bz and src.rpms and tar.gz files gadekishore Linux - Software 1 10-12-2005 08:09 PM
K3B locked files Dutch3 Linux - Software 3 11-29-2004 09:29 AM
Problem with locked files and gconf rebdi Linux - General 10 10-13-2004 10:46 PM

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

All times are GMT -5. The time now is 06:07 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