11-04-2013
Hi again sorry for the late reply.
Yes the backup script had been working fine for a long time then one day i checked my backups and noticed backups were missing and this first time the hard disk had unmounted itself. Then i updated the script to email me if it cant cd the volume. Then about two weeks later i had the script hanging on the cd command. How will i go about diagnosing this problem?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi, Experts !
I've met a following challenge:
I have a unix machine, and I need to take a backup of its disk in order to use it for staging of the next machine in the future. But I try to find some information on how it is best to do it.
The spare disk which I have is new and not formatted,... (4 Replies)
Discussion started by: DGoubine
4 Replies
2. UNIX for Dummies Questions & Answers
Hi all
I had started to learn how to backup disk to disk to tape method
Firstly I had backup to my NAS
tar czvf /MyNetworkStorge/backup.tar /home
Secondly I using dd command to copy the tar to tape
dd if=/MyNetworkStorge/backup.tar of=/dev/tape0
But the tape drive always hang.... (5 Replies)
Discussion started by: lijiajin
5 Replies
3. Solaris
Hi Gurus,
I have to back the /var to other disk, however I am unable to do so. What I did is
Created a partition on another disk, placed file system on the slice and mounted on /mnt .
Issued following command
#ufsdump 0cfu /mnt /var
And I am getting... (2 Replies)
Discussion started by: kumarmani
2 Replies
4. UNIX for Dummies Questions & Answers
Hey all,
At my work we have an installation that runs on a Xenix System V coupled with a PLC.
Now I have to take a backup of the complete Hard Disk from the PC but have no idea how to manage this.
Could someone help me and tell me which steps I have to take.
Thanx. (8 Replies)
Discussion started by: sideshow bob
8 Replies
5. Solaris
I have installed Solaris 11 Express on my machine. I have made a script which would take snapshots of all the rpool filesystems every day and send them to a (local) hard drive. There is a zpool on that drive called backup.
Now in case of a system failure, I will act according to a manual on the... (1 Reply)
Discussion started by: RychnD
1 Replies
6. UNIX for Dummies Questions & Answers
I am a new Unix Sys Admin who is learning mostly from books with minimal classroom training (ie: no certificates, training is largely hands-on, conducted at work). I work with Solaris 8 through 10, and with some fairly outdated hardware. In my work restoring old workstations I have been instructed... (2 Replies)
Discussion started by: mia-chan
2 Replies
7. Solaris
Hi dears, i´m working with a sun sparc server(M4000) , solaris 10 installed.
I need a little help, because i wanna know if is it possible to backup the whole system in a usb disk.
I´m gonna explain you a little more why i want to do it.
Currently i have installed a Solaris 10 working with... (5 Replies)
Discussion started by: botella
5 Replies
8. Solaris
hi friends, need help.. it is my first time patching using mirror disk backup approach, not so sure about the steps :confused: how do you detach, patch it, boot it and reattach it ? any kind soul here can advise ? thanks in advance..:)
below is the information from my machine:
Filesystem ... (3 Replies)
Discussion started by: Exposure
3 Replies
9. Solaris
Hi,
I am very new to scripting. I need to create a script which does following.
Scenario:
First get the format command output echo | format
Insert the new disk to Solaris Server
Get Zpool status
format the new disk
( Here I need to select the new disk which have been inserted, I do... (1 Reply)
Discussion started by: praveensharma21
1 Replies
10. Solaris
Hello!
I have an Oracle server X5-2 with Solaris 11. Now, this server will get repurposed before I get a system of my own.
I am a beginner...but is there a way I can make a backup or an image of my whole disk so when I get my own system I can just restore without having to reinstall software... (1 Reply)
Discussion started by: chipsandiscream
1 Replies
LN(1) FSF LN(1)
NAME
ln - make links between files
SYNOPSIS
ln [OPTION]... TARGET [LINK_NAME]
ln [OPTION]... TARGET... DIRECTORY
ln [OPTION]... --target-directory=DIRECTORY TARGET...
DESCRIPTION
Create a link to the specified TARGET with optional LINK_NAME. If LINK_NAME is omitted, a link with the same basename as the TARGET is
created in the current directory. When using the second form with more than one TARGET, the last argument must be a directory; create
links in DIRECTORY to each TARGET. Create hard links by default, symbolic links with --symbolic. When creating hard links, each TARGET
must exist.
Mandatory arguments to long options are mandatory for short options too.
--backup[=CONTROL]
make a backup of each existing destination file
-b like --backup but does not accept an argument
-d, -F, --directory
hard link directories (super-user only)
-f, --force
remove existing destination files
-n, --no-dereference
treat destination that is a symlink to a directory as if it were a normal file
-i, --interactive
prompt whether to remove destinations
-s, --symbolic
make symbolic links instead of hard links
-S, --suffix=SUFFIX
override the usual backup suffix
--target-directory=DIRECTORY
specify the DIRECTORY in which to create the links
-v, --verbose
print name of each file before linking
--help display this help and exit
--version
output version information and exit
The backup suffix is `~', unless set with --suffix or SIMPLE_BACKUP_SUFFIX. The version control method may be selected via the --backup
option or through the VERSION_CONTROL environment variable. Here are the values:
none, off
never make backups (even if --backup is given)
numbered, t
make numbered backups
existing, nil
numbered if numbered backups exist, simple otherwise
simple, never
always make simple backups
AUTHOR
Written by Mike Parker and David MacKenzie.
REPORTING BUGS
Report bugs to <bug-coreutils@gnu.org>.
COPYRIGHT
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
SEE ALSO
The full documentation for ln is maintained as a Texinfo manual. If the info and ln programs are properly installed at your site, the com-
mand
info ln
should give you access to the complete manual.
ln (coreutils) 4.5.3 February 2003 LN(1)