TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:8536] cpio examples needed...



>        cd source_directory
>        find . -depth -xdev | cpio -ovF file_name
>
>NOTE: IF YOU DON'T 1ST CD TO SOURCE DIRECTORY, IT WILL INCLUDE
>LEADING / AND WHEN YOU RESTORE IT WILL BE ABSOLUTE PATH, NOT RELATIVE!
>
>To list archive:
>
>        cpio -tvF file_name
>
>To extract archive:
>
>        cd where_you_want_to_extract_archive
>        cpio -idmvF file_name
        ok. nifty. thanks a lot. :)

2 more q's:
        how do i restore a single file (or set of files) from within an archive?
        how do I do an incremental backup? (and if several copies of a file
exist on a tape; how do I get information on them to know which one to restore?)

I've seen the backup system/restores that they do on the Unisys mainframe at
our data-processing center. awfully slick system. (compared to all the
winblows-based ones i've seen). that's why I want UNIX backup methods. :)

Carl Soderstrom.
System Administrator	307 Brighton Ave. 
Minnesota DHIA		Buffalo, MN	
carls@agritech.com	(612) 682-1091