LinuxQuestions.org
Visit Jeremy's Blog.
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 03-05-2007, 04:31 AM   #1
deli007
LQ Newbie
 
Registered: Mar 2007
Posts: 1

Rep: Reputation: 0
help me with CPIO


i have problem. i made backup by means of this command

#find . -print|cpio -ov 1>/db2/bkp.cpio 2>/db2/log/backup.log

at the end of backup.log is written message:

7825865 blocks
1 error(s)

i check all backup.log and there wasn`t anything error writte.

can you tell me anybody what is that error?
 
Old 03-05-2007, 01:03 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,334

Rep: Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547
"i check all backup.log and there wasn`t anything error writte."

Try restoring your backup to some spare disk space. If the restore works then you have a false error message. If the restore fails then you might get a better indication of what the problem is.

---------------------
Steve Stites
 
Old 03-05-2007, 06:40 PM   #3
ygloo
Member
 
Registered: Aug 2006
Distribution: slack
Posts: 323

Rep: Reputation: 30
hello,

as "jailbait" is saying you can restore archive in test_dir and do:
Code:
diff -rq . test_dir
you can pass null delimiter "0":
Code:
       -0, --null
              In copy-out and copy-pass modes, read a list of filenames terminated by a null character instead of  a  newline,
              so  that files whose names contain newlines can be archived.  GNU find is one way to produce a list of null-ter-
              minated filenames.
this speeds up archiving
Code:
find . -print0|cpio -ov0 1>/db2/bkp.cpio 2>/db2/log/backup.log

Last edited by ygloo; 03-05-2007 at 06:44 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
cpio and directories consty General 1 08-12-2006 12:16 PM
using cpio ksun Linux - Newbie 4 05-12-2006 05:14 AM
How to use cpio to extract a cpio archive? linx win Debian 4 06-17-2005 01:53 PM
cpio.gz?? unprocessed Linux - Newbie 7 09-11-2002 04:37 PM
Does CPIO compress? severedhead Linux - Software 1 08-03-2002 07:26 AM

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

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