Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Cpio Restore didnt go to plan Post 302979085 by rbatte1 on Tuesday 9th of August 2016 05:51:15 AM
Old 08-09-2016
This is just a suggestion, but the problem you might have is that the backup crosses filesystem boundaries. If you restore without the filesystems mounted in the correct position relative to your current directory when you issue the command, then files will be put back in the directory in the parent filesystem.

If you can now boot but find the root filesystem is full, then you may need to unmount each filesystem and have a look in the directory each is mounted on.


Does this help?




Robin
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

cpio restore - relative pathname

SCO/Caldera Unixware 711 Hi Friends, I have a cpio file which was created using relative pathnames. the relative pathname is users/data/* I want to restore these files to a different directory with cpio. An example restore directory is /home/suresh Is this possible ? Can someone... (4 Replies)
Discussion started by: sureshy
4 Replies

2. UNIX for Dummies Questions & Answers

Selective restore from a cpio tape archive

Hi, I use following command to restore data from my cpio tape archive: $cpio -icvd < /dev/rct0 But this'll restore all tape contents to the current path, what if I want only selected files from the tape, suppose I want /home/compdir/home2/Rev83/data/PL/01/*.* files to be restored... (8 Replies)
Discussion started by: tayyabq8
8 Replies

3. Solaris

Auto Start/Stop Didnt Work in Solaris 10

Hi...all database - 10g Rs 2 with ASM platform - Sun Solaris V890 64bit This is the step i use to auto start the database n ASM: (auto start can start but need to kill lsvcrun first) 1 dbora---script 2 start_shutdown_asm.ksh---script 3. Dbora file must be put under /etc/init.d directory... (0 Replies)
Discussion started by: adzuanamir
0 Replies

4. SCO

cpio Backup and restore to spare server fails

Our company purchased a spare HP ML350 server - identical to current one in use to act as minimal downtime replacement should the inevitable happen. After install of OS 5.0.7 and restore of cpiobackup I get this message: -: Syntax error: Hostname= $inexpected The SCO licence policy... (4 Replies)
Discussion started by: moondogi
4 Replies

5. UNIX for Dummies Questions & Answers

restore cpio file

Hi, under unix aix , i had to put a catostrophic patch from an editor ... i had first made a cpio backup connected root cd /application find . –print | cpio –ocvBm > /sauvegarde/sauvegarde.cpio Does someone know the command to restore my cpio backup ? thanks in advandce to everyone ... (7 Replies)
Discussion started by: bzh35
7 Replies

6. UNIX for Dummies Questions & Answers

Unable to restore cpio archive to a directory

Hello Every one, I want to back up all passwd files to /xyz/passfiles.cpio and Then restore them to /abc directory. Here is what I wrote: find / -name passwd | cpio -oc > /tmp/passwd.cpio and to restore cd abc cpio -ium < /tmp/passwd.cpio I can not find the files restored to /abc... (2 Replies)
Discussion started by: drdigital_m
2 Replies

7. HP-UX

script in cron didnt run

Hi, I have script in the cron which run at predefined time everyday. If the script fails then we get the mail and a log is created. But last night the script didnt run. If the script is even started it creates log so it seems the script never ran. It has never happened before. Th... (5 Replies)
Discussion started by: shipra_31
5 Replies

8. Forum Support Area for Unregistered Users & Account Problems

I didnt get the activation email !!

I tried to register twice but without success ,I used the Hotmail email on both of them. Im sure I typed the correct email, because I used " copy and paste" and I did the "re-sent the activation" option (10 Replies)
Discussion started by: BaxxterHp
10 Replies

9. UNIX for Beginners Questions & Answers

CPIO Restore

Please note that using the command cpio to back up to tape was successful. Used the below command: time find /accts -print | cpio -oa --block-size=512 --format=newc --verbose -O /dev/nst0 I'm trying to restore from tape of a particular file and having issues. Below is the command to restore... (7 Replies)
Discussion started by: isoabv
7 Replies

10. UNIX for Advanced & Expert Users

Cpio - input files (from list) are stored in different order inside cpio archive - why?

Due to budget constraints I have to reinvent an Enterprise backup system in a SPARC (sun4v) Solaris estate (10 & 11). (yep - reinvent wheel, fun but time consuming. Is this wise?! :confused: ) For each filesystem of interest, to try to capture a 'catalog' at the front of each cpio archive (for... (1 Reply)
Discussion started by: am115998
1 Replies
default(4)						     Kernel Interfaces Manual							default(4)

NAME
default - system default database file for a trusted system SYNOPSIS
DESCRIPTION
The system default database is unique in that it defines system-wide global parameters for a trusted system. It is designed to provide values for users and devices on a global scale rather than requiring an administrator to replicate values in user or device databases when they are all the same. In addition to being easier to specify global values, it is also much easier to make a global system change if nec- essary. The system default database is made up of four types of values: system-wide parameters These are parameters that do not have corresponding specifications in any other trusted system database. If a system-wide parameter is not specified in the default database, then it is undefined. user parameters These parameters are typically specified in a protected password database file. terminal control parameters These parameters are typically specified in the terminal control database file. device assignment parameters These parameters are typically specified in the device assignment database file. System default parameters may be specified for fields found in the protected password, terminal control, and device assignment databases. When a specific entry is retrieved from one of these databases, a structure called, ufld that contains all of the explicitly specified val- ues, is provided to the caller. A second structure, called sfld, is also provided which defines those values supplied from the system default database. Each of these structures has a corresponding flag structure called uflg and sflg, respectively, that indicates which fields in each structure have been specified and are valid for use. Programs honor the user or device specific value first if one is pro- vided. Otherwise, the program may choose to use the system default value if one has been specified. If neither value is specified, the program may supply a reasonable default value or abort. For descriptions of the specific fields provided by the protected password, terminal control, and device assignment databases, see the cor- responding manual pages listed in the section for those databases. The following fields are unique to the system default database and can not be specified in any of the other system databases. This name is set to the string "default". This flag field indicates whether or not boot authentication is required to boot the machine. If authentication is required, it is performed by the system init(1M) program prior to completing system boot. EXAMPLES
The following is an example of a typical system default database. Refer to authcap(4) for descriptions of the file and line formats. default: :d_name=default: :d_boot_authenticate@: :u_pwd=*: :u_minchg#0:u_maxlen#10:u_exp#15724800:u_life#31449600: :u_pickpw@:u_genpwd@:u_restrict@:u_nullpw@: :u_genchars@:u_genletters@: :u_maxtries#5:u_lock: :t_logdelay#2:t_maxtries#10: :chkent: This system default database defines the four different types of values which are supported. First, values that can be assigned on a sys- tem-wide only basis are defined. Boot authentication at system startup is not enabled. Login programs will provide password expiration warnings if the password expires in less than 604800 seconds from the current system time (this translates into 60*60*24*7 or 7 days). The system default database also defines numerous protected password database default values. Fields that begin with correspond to pro- tected password fields. Similarly, fields starting with the prefix are terminal control database fields. These field types are used to supply system-wide default values if a user or device specific value is not supplied by the corresponding database. See the appropriate manual pages listed in the section for these databases for a complete description of the applicable fields. WARNINGS
HP-UX 11i Version 3 is the last release to support trusted systems functionality. FILES
system default database file for a trusted system; see authcap(4) protected password database files; see prpwd(4) terminal control database file; see ttys(4) device assignment database file; see devassign(4) AUTHOR
was developed by HP. SEE ALSO
getprdfent(3), authcap(4), devassign(4), prpwd(4), ttys(4). TO BE OBSOLETED default(4)
All times are GMT -4. The time now is 10:54 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy