10-10-2012
help with backup shellscript
can any one advice on this..
create archive backup -yyyymmdd.tr.gzin the directory "backup" that includes the following directory " product/dev","product/uat"and product/maintain", yymmdd, stand for current date This archive needs to be perpared at 9PM every day
Thanks advance
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am trying to interpret the following shellscript and am having a very difficult time. Could one of you Unix gurus pleasssseeee help me out? You just won't know how much of a life saver you would be for me.
PN=`basename "$0"` # Program name
VER=`echo '$Revision: 1.2 $' | cut -d' ' -f2`
... (3 Replies)
Discussion started by: Ann
3 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I performed backup on tape and I want to append more files to my previous backup on the same backup tape. But before I do that I need to know the backup file size of the first backup I performed so that I know the available size on the backup tape. Can someone help me what command I will use... (0 Replies)
Discussion started by: ayhanne
0 Replies
3. Shell Programming and Scripting
Hello. I am a novince at writing shell scripts but here is the question. I have to write a shell script that does the following:
Once executed via crontab, the script should do the following:
a. get date/time stamp in for format 10-MAR-05 and
b. execute shell script my_script.sh (which... (2 Replies)
Discussion started by: jigarlakhani
2 Replies
4. SCO
I am trying to make a full backup of my system using the cpio command. The Tape Unit is a SCSI DDS.
The process started fine but after about 30 minutes, it just stopped and showed the following message:
1755 Signal 31 - Core dumped
Any idea of what is causing this and how to fix it?
... (4 Replies)
Discussion started by: zionpc
4 Replies
5. Shell Programming and Scripting
Hi Everyone,
we are running rsync with --backup mode, Are there any rsync options to remove backup folders on successful deployment?
Thanks in adv. (0 Replies)
Discussion started by: MVEERA
0 Replies
6. Shell Programming and Scripting
HI all, im new to shell scripting. need your guidence for my script. i wrote one script and is attached here
Im explaining the requirement of script.
AIM: Shell script to run automatically as per scheduled and backup few network devices configurations. Script will contain a set of commands... (4 Replies)
Discussion started by: saichand1985
4 Replies
7. Shell Programming and Scripting
I am new in shell script i want to convert .txt file
in the format axsjdijdjjdk to
a
x
s
j
d
i
j
d
j
j
d
k (5 Replies)
Discussion started by: sreejithalokkan
5 Replies
LEARN ABOUT HPUX
vxconfigbackup
vxconfigbackup(1M) vxconfigbackup(1M)
NAME
vxconfigbackup - back up disk group configuration
SYNOPSIS
/etc/vx/bin/vxconfigbackup [-l directory] [[dgname ...] | [dgid ...]]
DESCRIPTION
The vxconfigbackup utility can be used to backup up the configuration information for one or more disk groups. The disk groups may be
specified either by name or by ID. If no disk groups are specified, all disk group configurations are backed up.
OPTIONS
-l directory
Specifies a directory other than the default where the backup configuration files are to be written.
Note: The default backup directory is /etc/vx/cbr/bk.
EXAMPLES
Back up the configuration of the mydg disk group to the directory /dgbackup/mydg:
vxconfigbackup -l /dgbackup/mydg mydg
FILES
/etc/vx/cbr/bk/dgname.dgid/dgid.dginfo
Default location of backup file for disk group information.
/etc/vx/cbr/bk/dgname.dgid/dgid.diskinfo
Default location of backup file for disk attributes.
/etc/vx/cbr/bk/dgname.dgid/dgid.binconfig
Default location of backup file for binary configuration copy.
/etc/vx/cbr/bk/dgname.dgid/dgid.cfgrec
Default location of backup file for configuration records in vxprint -m format.
NOTES
The vxconfigbackupd daemon automatically backs up a disk group's new configuration to the default backup directory whenever the configura-
tion is changed. The vxconfigbackup command is provided to back up the configuration manually at any other desired time.
The disk group configuration backup and restore utilities do not save any data in the public region. This includes file system or other
application data that is configured within VxVM objects.
SEE ALSO
vxconfigbackupd(1M), vxconfigrestore(1M)
VxVM 5.0.31.1 24 Mar 2008 vxconfigbackup(1M)