02-28-2016
Also, the script posted in post #1 appears to be using a single NAS backup volume (defined in /etc/fstab). IMO an approach like this should only be used if there are multiple backup NAS volumes, either taken from the host itself or from the NAS volume.
Otherwise this would not be a secure way of doing it, since it first wipes the old backup before making a new one, so if anything happens during that backup you end up with nothing..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have been tasked with getting an AIX 4.3.3 box to backup to a NAS applicance device which provides NFS service. It is an intermediary repository so that other tools can transport the resulting backup file to another NAS Applicance at a remote site on a secondary frame connection.
Anyone have... (10 Replies)
Discussion started by: sirhisss
10 Replies
2. UNIX for Advanced & Expert Users
Dear All
I am using cat command for concatenating multiple files. Some time i also use append command when there are few files.
Is there faster way of concatenating multiple files(60 to 70 files) each of
156 MB or less/more.:)
Thanx (1 Reply)
Discussion started by: tkbharani
1 Replies
3. UNIX for Dummies Questions & Answers
Hi guys,
I have a redhat laptop and a sun solaris 8 server networked together
I created an nfs share on the sun server and backed up an image of the Redhat laptop to it.
The Hard disk size of the laptop is 40Gb but I have about 38Gb free space on the sun server. So I compressed the image... (9 Replies)
Discussion started by: Stin
9 Replies
4. Shell Programming and Scripting
Hi All,
I have some 80,000 files in a directory which I need to rename. Below is the command which I am currently running and it seems, it is taking fore ever to run this command. This command seems too slow. Is there any way to speed up the command. I have have GNU Parallel installed on my... (6 Replies)
Discussion started by: shoaibjameel123
6 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
Hello,
I was wondering if anyone knows a faster way to search and compare strings and dates from 2 files?
I'm currently using "for loop" but seems sluggish as i have to cycle through 10 directories with 10 files each containing thousands of lines.
Given:
-10 directories
-10 files... (4 Replies)
Discussion started by: agentgrecko
4 Replies
7. Shell Programming and Scripting
Good evening
Im new at unix shell scripting and im planning to script a shell that removes headers for about 120 files in a directory and each file contains about 200000
lines in average.
i know i will loop files to process each one and ive found in this great forum different solutions... (5 Replies)
Discussion started by: alexcol
5 Replies
8. AIX
We are taking backup of our application data(cobol file system, AIX/unix) before and after EOD job runs. The data size is approximately 260 GB in biggest branch. To reduce the backup time, 5 parallel execution is scheduled through control-m which backups up the files in 5 different *.gz. The job... (2 Replies)
Discussion started by: Bharath_79
2 Replies
9. AIX
We are taking backup of our application data(cobol file system, AIX/unix) before and after EOD job runs. The data size is approximately 260 GB in biggest branch. To reduce the backup time, 5 parallel execution is scheduled through control-m which backups up the files in 5 different *.gz. The job... (8 Replies)
Discussion started by: Bharath_79
8 Replies
10. UNIX for Advanced & Expert Users
I have a very big input file <inputFile1.txt> which has list of mobile no
inputFile1.txt
3434343
3434323
0970978
85233
... around 1 million records
i have another file as inputFile2.txt which has some log detail big file
inputFile2.txt
afjhjdhfkjdhfkd df h8983 3434343 | 3483 | myout1 |... (3 Replies)
Discussion started by: reldb
3 Replies
LEARN ABOUT OPENDARWIN
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)