If I am not wrong, you just have to determine if the date is one on which an interval backup is to be taken. You could use something like this:
This bit will just check that it is a day on which you take the intermediate backup. For a level 0 backup, you can just check if the day of the month is the same as the LEVEL0 value.
Tim Bass
Thu, 15 Nov 2007 23:55:07 +0000
*I predict we may experience less*debates*on the use of the term “event cloud”*related to*CEP in the future, now that both IBM and Google* have made announcements about “cloud computing” and “computing cloud”, IBM Turning Data Centers Into ‘Computing... (0 Replies)
I need to run a command at the end of a backup job and this command will produce a report of what my backup jobs have collected in the previous day. The real problem is that this binary works with absolute dates only, so I should have to modify the script every single time I need it to work. It... (1 Reply)
Hello friends,
I am looking for a script or method that can display all the dates between any 2 given dates.
Input:
Date 1
290109
Date 2
010209
Output:
300109
310109
Please help me. Thanks. :):confused: (2 Replies)
I am running a telnet script that connects to a database server and executes sql scripts. While the remote database is processing the commands within the sql scripts, my telnet script continues to send commands. Okay, that's fine. They get queued up in the remote server and executed sequentially.... (3 Replies)
Good morning all!
I am new to programming and trying to learn; please be patient.
I am wanting to write a script that takes the current date and gzip 5 days or older, then remove 10 days or older.
This is the directory I want to work in; this is what it looks like
... (2 Replies)
I am attempting to write a script where the user enters the month and day (two digit format). I am trying to have script will increase 6 more times (totaling 7). I am having issues with the script increasing by one (its either dropping off the lead zero or not increasing for 08 and 09). While... (8 Replies)
Thanks Bartus11 for your help in the following code to compare the two files "t1" and "t2".
awk 'NR==FNR{a=1;next}$2 in a{print $2}' t1 t2
First can anyone explain that what is the purpose of assigning a =1?
Second, the current script is printing out the matched columns between the... (4 Replies)
Hi All,
I have a date variable say dt="2014-01-06 07:18:38"
Now i need to use this variable to search a log and get the entries which occured after that time. (1 Reply)
Hi from Uruguay.
Im having a problem with a scripts using dates, this is the problem:
I have a folder for each day, like : 20160711 for yesterday, 20160712 for today, and i want to mv to a backup folder the folders who exceed the year of antiquity (365 days from today) and that script execute... (3 Replies)
Discussion started by: michipoput
3 Replies
LEARN ABOUT XFREE86
backup_help
BACKUP_HELP(8) AFS Command Reference BACKUP_HELP(8)NAME
backup_help - Displays help for backup commands
SYNOPSIS
backup help [-topic <help string>+] [-admin] [-help]
backup h [-t <help string>+] [-a] [-h]
DESCRIPTION
The backup help command displays the complete online help entry (short description and syntax statement) for each operation code specified
by the -topic argument. If the -topic argument is omitted, the output includes the first line (name and short description) of the online
help entry for every backup command.
To list every backup command whose name or short description includes a specified keyword, use the backup apropos command.
OPTIONS-topic <help string>+
Indicates each command for which to display the complete online help entry. Omit the backup part of the command name, providing only
the operation code (for example, specify dump, not backup dump). If this argument is omitted, the output briefly describes every backup
command.
-help
Prints the online help for this command. All other valid options are ignored.
OUTPUT
The online help entry for each backup command consists of the following two or three lines:
o The first line names the command and briefly describes its function.
o The second line lists aliases for the command, if any.
o The final line, which begins with the string "Usage", lists the command's options in the prescribed order. Online help entries use the
same symbols (for example, brackets) as the reference pages in this document.
EXAMPLES
The following example displays the online help entry for the backup dump command:
% backup help dump
backup dump: start dump
Usage: backup dump -volumeset <volume set name> -dump <dump level name>
[-portoffset <TC port offset>] [-at <Date/time to start dump>+]
[-append] [-n] [-file <load file>] [-help]
PRIVILEGE REQUIRED
None
SEE ALSObackup(8), backup_apropos(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_HELP(8)