Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-27-2012, 07:46 AM   #1
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 08:55 AM.
Old 08-27-2012, 08:50 AM   #2
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"



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 06:29 AM
Excluding multiple directories flamingo_l Linux - Newbie 11 08-03-2010 04:45 AM
LXer: Open-Source Software Shortcut, Excluding Directories From Grep LXer Syndicated Linux News 0 03-30-2010 02:50 PM
excluding directories from commands David the H. Linux - General 5 04-06-2009 04:21 PM
Excluding directories from tar? LocoMojo Linux - Software 6 01-24-2006 02:01 AM > Forums > Linux Forums > Linux - Newbie

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

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