Sponsored Content
Full Discussion: back up probelm
Top Forums UNIX for Dummies Questions & Answers back up probelm Post 12317 by Prafulla on Wednesday 26th of December 2001 11:46:55 PM
Old 12-27-2001
Data back up probelm

Hi

I am using tar utility to take back up on HPUx and SUN 5.8 servers

yesterday i made some change.....in the cronjob
29 23 * * 1,3,5 echo "`date` COMPLETE BACKUP TAR `uname``hostname`">/dev/rmt/0myn
30 23 * * 1,3,5 tar cvf /dev/rmt/0mny <filesystems>

i am confused with the no rewind and rewind options

now when i am seeing the listing..
tar tvf /dev/rmt/0mny
It is giving error Tar Block size changed....
when i did
tar tvf /dev/rmt/0myn
it is giving error
tar Block size error

please suggest me wht to do..as it is a important back up

Previously i was taking back up with out the rewind ,no rewind option........and it was fine.....

thanks
Prafulla
 

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

help with back up please

Can anyone please tell me how safe is the following backup script? Does it really backing up the WHOLE system or just part of it? I do that with the system running an oracle database. Will I be able to restore the system in case of a fault? <pre> Here is the output of 'df -k' ... (11 Replies)
Discussion started by: guest100
11 Replies

2. Programming

probelm with purify

Hi, I am using purify to find memory leak in my process. When I run the instrumented program I get error I donot have this file in the specified directory. Instead I have following files in the directory /usr/lib/nls/loc/locales.2 What should I do in such case? I undersatnd... (1 Reply)
Discussion started by: shriashishpatil
1 Replies

3. Shell Programming and Scripting

python probelm

Colleagues when i types python in console my system shows following error message python: error while loading shared libraries: /usr/lib/libdb.so.3: ELF file OS ABI invalid Any solution. My machine is Fedora Core 6 jaganadh (4 Replies)
Discussion started by: jaganadh
4 Replies

4. AIX

back to back printing in UNIX

Hi , Can you suggest me how to back to back printing in UNIX? Is there any way? Kindly advise. Regards Vijaya Amirtha Raj (3 Replies)
Discussion started by: amirthraj_12
3 Replies

5. IP Networking

Back-to-Back Connection using HBAs

Hi every body, Is it possible to connect two servers Back-to-Back (Point-to-Point) using HBA adapters & using Fiber. Note it is direct connection & there is no switches between the servers. I'm concern about using HBA adapters, it is possible or not. Thanks in advance. :) (3 Replies)
Discussion started by: aldowsary
3 Replies

6. Shell Programming and Scripting

for loop probelm

for index in `find /technologies -name *.jar | grep "/lib"`; do echo "$index"; done sometimes its throwing error saying find: paths must precede expression Usage: find but i execute same in cmd prompt its working (1 Reply)
Discussion started by: crackthehit007
1 Replies

7. Shell Programming and Scripting

Probelm setting a variable to $* in C Shell

Trying to put all command line arguments to the script in a variable msgst01 $* does not seem to work set msgst01 = $* (2 Replies)
Discussion started by: kristinu
2 Replies

8. What is on Your Mind?

I'm back

Hi all, I used to post here years ago, and was a moderator, my old username: zazzybob. Anyway, after a few years away focusing on my career, I'm back and keener than ever to get involved in the unix.com community again. I'm looking forward to getting back into the swing of things, helping... (11 Replies)
Discussion started by: tokiwinter
11 Replies
chroot(1M)						  System Administration Commands						chroot(1M)

NAME
chroot - change root directory for a command SYNOPSIS
/usr/sbin/chroot newroot command DESCRIPTION
The chroot utility causes command to be executed relative to newroot. The meaning of any initial slashes (/) in the path names is changed to newroot for command and any of its child processes. Upon execution, the initial working directory is newroot. Notice that redirecting the output of command to a file, chroot newroot command >x will create the file x relative to the original root of command, not the new one. The new root path name is always relative to the current root. Even if a chroot is currently in effect, the newroot argument is relative to the current root of the running process. This command can be run only by the super-user. RETURN VALUES
The exit status of chroot is the return value of command. EXAMPLES
Example 1 Using the chroot Utility The chroot utility provides an easy way to extract tar files (see tar(1)) written with absolute filenames to a different location. It is necessary to copy the shared libraries used by tar (see ldd(1)) to the newroot filesystem. example# mkdir /tmp/lib; cd /lib example# cp ld.so.1 libc.so.1 libcmd.so.1 libdl.so.1 libsec.so.1 /tmp/lib example# cp /usr/bin/tar /tmp example# dd if=/dev/rmt/0 | chroot /tmp tar xvf - ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
cd(1), tar(1), chroot(2), ttyname(3C), attributes(5) NOTES
Exercise extreme caution when referencing device files in the new root file system. References by routines such as ttyname(3C) to stdin, stdout, and stderr will find that the device associated with the file descriptor is unknown after chroot is run. SunOS 5.11 15 Dec 2003 chroot(1M)
All times are GMT -4. The time now is 01:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy