I am trying to work on a script that will first check to see if a backup of a file exists, and if it does it will prompt the user to ask if he/she wants it replace. Of course, if the user says no then the file should be skipped.
Here is the code I have written. Does it look as if it is working correctly?
Friends, while taking backup on /dev/rmt/0cn it is showing device does not exists.
I have checked /dev/rmt 0cn is present there with link file created in /devices/pci@8,700000/scsi@5/st@5,0:cn
I have checked cd /devices/pci@8,700000/scsi@5 but st@5,0:cn is not there. But I found st@3,0:cn.
... (3 Replies)
somehow my user names and groups on one of our machines are changed to numbers 700, 701, etc.
thus, i can only ssh into this machine as root.
is there a way to migrate the user names and groups to this machine?
thanks! (3 Replies)
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)
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)
Hi I need help to whit a script that start a program if a nother program is started first .
I thought something like this .
if then start program 2
Thanks (4 Replies)
I am trying to backup my .bash_history and I want to keep every version of the backup. I am thinking to put one of these in my crontab.
0 0 * * 0,3 cat .bash_history > boo
0 0 * * 0,3 cp .bash_history boo
I would like the backups to be called boo1, boo2, boo3, etc. I would like to keep... (7 Replies)
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)
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
LEARN ABOUT HPUX
backup_addvolset
BACKUP_ADDVOLSET(8) AFS Command Reference BACKUP_ADDVOLSET(8)NAME
backup_addvolset - Creates a new (empty) volume set
SYNOPSIS
backup addvolset -name <volume set name> [-temporary]
[-localauth] [-cell <cell name>] [-help]
backup addvols -n <volume set name> [-t] [-l]
[-c <cell name>] [-h]
DESCRIPTION
The backup addvolset command creates a new volume set, by default adding it to the Backup Database. It is best that the volume set's name
indicate the volume set's contents; for example, define the volume entries in the "user" volume set to match all user volumes. The volume
set name must be unique within the Backup Database of the local cell.
After issuing this command, issue the backup addvolentry command to define the volume entries in the volume set.
Sometimes it is convenient to create volume sets without recording them permanently in the Backup Database, for example when using the
backup volsetrestore command to restore a group of volumes that were not necessarily backed up together. To create a temporary volume set,
include the -temporary flag. A temporary volume set exists only during the lifetime of the current interactive session, so the flag is
effective only when used during an interactive session (opened by issuing the backup interactive command). If it is included when the
command is issued at the regular command shell prompt, the command appears to succeed, but the volume set is not created. As noted, a
temporary volume set ceases to exist when the current interactive session ends, or use the backup delvolset command to delete it before
that.
One advantage of temporary volume sets is that the backup addvolset command, and any backup addvolentry commands subsequently used to add
volume entries to it, complete more quickly than for regular volume sets, because no records are created in the Backup Database.
OPTIONS -name <volume set name>
Names the new volume set. The name can include up to 31 of any character other than the period. Avoid other metacharacters as well.
-temporary
Creates a volume set that exists only within the context of the current interactive session. It is not added to the Backup Database.
-localauth
Constructs a server ticket using a key from the local /etc/openafs/server/KeyFile file. The backup command interpreter presents it to
the Backup Server, Volume Server and VL Server during mutual authentication. Do not combine this flag with the -cell argument. For more
details, see backup(8).
-cell <cell name>
Names the cell in which to run the command. Do not combine this argument with the -localauth flag. For more details, see backup(8).
-help
Prints the online help for this command. All other valid options are ignored.
EXAMPLES
The following command creates a volume set called "sys":
% backup addvolset sys
PRIVILEGE REQUIRED
The issuer must be listed in the /etc/openafs/server/UserList file on every machine where the Backup Server is running, or must be logged
onto a server machine as the local superuser "root" if the -localauth flag is included.
SEE ALSO backup(8), backup_addvolentry(8), backup_delvolentry(8), backup_delvolset(8), backup_listvolsets(8), backup_volsetrestore(8)COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas
Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
OpenAFS 2012-03-26 BACKUP_ADDVOLSET(8)