01-20-2009
Back up scripts
Hi Everyone,
I would like to write a Back-up script for huge files and 3 day old file. I think i need to use Tar command for it. But I am not sure how this can be done. Can someone please assist me on this.
9 More Discussions You Might Find Interesting
1. AIX
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
2. UNIX for Dummies Questions & Answers
Hi,
Test1.ksh
#! /bin/ksh
for i in $*
do
#echo "$i"
ksh test2.ksh $i &
done
test2.ksh
#! /bin/ksh
sleep 5s
echo "From Test 1 ==> $1"
exit 0;
I am executing as follows:
ksh test1.ksh a b c (10 Replies)
Discussion started by: risshanth
10 Replies
3. IP Networking
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
4. AIX
I have a user that runs a menu driven application, is there a way to see what scripts this application is executing in the back ground?
OS=AIX 4.3 (1 Reply)
Discussion started by: mangolinux
1 Replies
5. Shell Programming and Scripting
Hi,
I have to write a program to compute the checksums of files
./script.sh
I wrote the program using bash and it took me forever since I am a beginner but it works very well.
I'm getting so close to the deadline and I realised today that actually I have to use normal Bourne shell... (3 Replies)
Discussion started by: pgarg1989
3 Replies
6. Shell Programming and Scripting
hi guys linux noob here wanting to learn linux scripting, i need help with a backup script that not only allows me to back up my files but restore them to my own personal directory, had a look at some of the coding from the scripts section on this site but still lost.
any help is much appreciated (8 Replies)
Discussion started by: burnie35
8 Replies
7. Shell Programming and Scripting
#!/bin/sh
##########################################################################################################
#This script is being used for AOK application for cleaning up the .out files and zip it under logs directory.
# IBM
# Created
#For pdocap201/pdoca202 .out files for AOK
#1.... (0 Replies)
Discussion started by: mridul10_crj
0 Replies
8. Shell Programming and Scripting
Dear Members,
I have a table REQUESTS in Oracle which has an attribute REQUEST_ACTION. The entries in REQUEST_ACTION are like, ME, MD, ND, NE etc.
I would like to create a script which will will call other scripts based on the request action.
Can we directly read from the REQUEST_ACTION... (2 Replies)
Discussion started by: Yoodit
2 Replies
9. Shell Programming and Scripting
My script is as follows:
#!/bin/bash
STR1="test"
echo $STR1
STR2="/bldtmp/"$STR1
echo $STR2
STR3=$STR2'/tmp'
echo $STR3
output i am geting
----------------
test
/bldtmp/test
/tmptmp/test
but my need is:
------------------
test
/bldtmp/test (1 Reply)
Discussion started by: dchoudhury
1 Replies
LEARN ABOUT HPUX
ftpconversions
ftpconversions(4) Kernel Interfaces Manual ftpconversions(4)
NAME
ftpconversions - ftpd conversions database
SYNOPSIS
DESCRIPTION
The conversions known by and their attributes are stored in an ASCII file that is structured as below. Each line in the file provides a
description for a single conversion. Fields are separated by colons (:).
Field Description
1 strip prefix
2 strip postfix
3 addon prefix
4 addon postfix
5 external command
6 types
7 options
8 description
strip postfix and addon postfix can be the file extensions or or or The file extensions the ftp server supports and the action that the ftp
server performs is summarized in the table below. This feature is supported only when using the command.
| |
True Filename | Specified Filename | Action
--------------+--------------------+---------------------------------------
filename.Z | filename | Decompress file before transmitting
filename | filename.Z | Compress filename before transmitting
filename | filename.tar | Tar filename before transmitting
filename | filename.tar.Z | Tar and compress filename
| | before transmitting
external command field is used to specify the path of the program/script to be used to perform the action specified for the different file
extensions as described in the above table.
types field indicates the flags that must be checked before compressing, decompressing, tarring and untarring the file requested by the
command.
options field specifies the options for the program/script specified in the external command field.
description is a short description of each conversion.
NOTE: The HP-UX command does not support any option to do or If the user wants to perform any such action, he/she must then write his/her
own program/script to do it and specify the pathname of the program/script in the external command field in the file. Also a copy of the
programs/scripts used to perform the conversions and the respective libraries used by the programs/scripts must be copied into the home
directory of each of the and user accounts for the and users to be able to perform on-the-fly conversions.
WARNINGS
The conversions mechanism does not currently support the strip prefix and addon prefix fields.
FILES
AUTHOR
was developed by the Washington University, St. Louis, Missouri.
SEE ALSO
ftpd(1M), ftpaccess(4).
ftpconversions(4)