LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-27-2012, 06:46 AM   #1
mohan.1418
LQ Newbie
 
Registered: Jun 2012
Posts: 6

Rep: Reputation: Disabled
Unhappy CPIO excluding some source directories


cpio worngly excluding some source directories.

I am trying copy backuppc pool to external directory.
/backuppc directory has following directories: cpool, pc, pool(empty)and trash (empty)

I am using this command from inside /backuppc directory

find . -mount -print | cpio -pdm <destination>

pc and pool directories are copied while "cpool" directory is not copied. (trash is also not copied but its not an issue)

cpool has millions of files which are hard links to files in pc directory

This used to work fine for past many months (backup scheduled weekly) but suddenly showing this strange behaviour.
On other backuppc server it is working fine.

I have checked "find . -mount -print > file_list" and cpool and its directories are correctly written to file_list

Please help troubleshooting

Last edited by mohan.1418; 08-27-2012 at 07:55 AM.
 
Old 08-27-2012, 07:50 AM   #2
mohan.1418
LQ Newbie
 
Registered: Jun 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
I have redirected output and std error to file and it has no mention of "cpool"

Thanks
 
  


Reply

Tags
backuppc, cpio


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Excluding directories with find metallica1973 Linux - General 4 06-13-2011 05:29 AM
Excluding multiple directories flamingo_l Linux - Newbie 11 08-03-2010 03:45 AM
LXer: Open-Source Software Shortcut, Excluding Directories From Grep LXer Syndicated Linux News 0 03-30-2010 01:50 PM
excluding directories from commands David the H. Linux - General 5 04-06-2009 03:21 PM
Excluding directories from tar? LocoMojo Linux - Software 6 01-24-2006 01:01 AM


All times are GMT -5. The time now is 09:15 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration