Sponsored Content
Full Discussion: Move, unzip, backup
Top Forums UNIX for Beginners Questions & Answers Move, unzip, backup Post 303030108 by RudiC on Wednesday 6th of February 2019 05:12:35 AM
Old 02-06-2019
On top of what Don Cragun already requested, pls. show how you call / run the script, so we know what $1 would expand to.
Why using rename ... * (i.e. rename every file in sight) inside a loop is difficult to understand for me, even more when it seems to rename to one single constant target file name. Without knowing the details, I guess unzip having problems working on the resulting gobbledigook.
How about running the script with the -x (xtrace) option set and posting the results?
This User Gave Thanks to RudiC For This Post:
 

9 More Discussions You Might Find Interesting

1. HP-UX

How to Unzip a .ZIP file in Unix without using unzip cmd..?????

Hi All I have ftped a .ZIP file (zipped using WinZip in Windows) to my Unix server (HP-UX). I don't have unzip cmd available in my curent Unix version Please let me know any cmd in UNIX (other than unzip) using which I can unzip this .ZIP file . Please elaborate on the commands aval and... (5 Replies)
Discussion started by: sureshg_sampat
5 Replies

2. UNIX for Dummies Questions & Answers

Check backup file size on backup tape

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. SCO

Backup to SCSI Tape Backup aborts

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

4. Shell Programming and Scripting

How to Unzip a .ZIP file in Unix without using unzip cmd..?????

Hi All I have ftped a .ZIP file (zipped using WinZip in Windows) to my Unix server (HP-UX). I don't have unzip cmd available in my curent Unix version Please let me know any cmd in UNIX (other than unzip) using which I can unzip this .ZIP file . Please elaborate on the commands aval and... (5 Replies)
Discussion started by: sureshg_sampat
5 Replies

5. Shell Programming and Scripting

Unix Script - Move and Unzip Files

Requirement Details: We have a folder named 'Inbound Files' that has many folders in it containing source files that have to be processed by Informatica system. We have zipped files, text files and csv files in those folders that have to be moved (cut and paste) from 'Inbound_Files' folder to... (3 Replies)
Discussion started by: haralebp
3 Replies

6. Shell Programming and Scripting

How to Unzip a file using unzip utility for files zipped without zip utility ?

Hi, I need to zip/compress a data file and send to a vendor. The vendor does have only unzip utility and can accept only .ZIP files. I do not have zip utility in my server. How do I zip/compress the file so that it can be deflated using unzip command ? I tried gzip & compress commands, but... (1 Reply)
Discussion started by: Sabari Nath S
1 Replies

7. Shell Programming and Scripting

rsync backup mode(--backup) Are there any options to remove backup folders on successful deployment?

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

8. Shell Programming and Scripting

Help with Backup Shell Script for Network Device Configuration backup

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

9. Shell Programming and Scripting

Unzip the .zip file without using unzip utility in UNIX

I have .zip file, i want to list all the files archived in the zip file. unzip utility is not working for me in unix. Please help me resolve this issue Thanks ganesh. (3 Replies)
Discussion started by: Ganesh L
3 Replies
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)
All times are GMT -4. The time now is 06:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy