Sponsored Content
Special Forums Hardware Filesystems, Disks and Memory backup of files for a specific date Post 302219807 by akm9999 on Wednesday 30th of July 2008 05:39:30 AM
Old 07-30-2008
backup of files for a specific date

In Linux Advance server
I want to write one script for backing up files for a specific date like 24/07/2008.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

backup files for a specific month

i am having a problem with writing a shell script to back up files for a specific month. the month and year are specified as paramters. so a backup of all the files modified during the specified month have to be made. for example if specify 200406 as my parameter, it should back up files that have... (3 Replies)
Discussion started by: problems
3 Replies

2. Solaris

List files with a specific date...

Hi all, thanks in advance for reading and anyposts... I was wondering if its possible to find all files in a directory with a specific date. I know I can do: but that will only give a list of files greater than todays date... Any ideas? Thanks, Marky Mark... (4 Replies)
Discussion started by: B14speedfreak
4 Replies

3. Shell Programming and Scripting

Backup files per Date String

Guys, I've got a quick logic question. I'm pretty savvy when it comes to shell scripting, however, I'm at a loss when it comes to writing a simple shell script to backup only certain files out of the month. I have a directory, for example, /data/backups/websites/domain. In each "domain"... (5 Replies)
Discussion started by: drewrockshard
5 Replies

4. Shell Programming and Scripting

backup of files for a specific date

I want to write script for backing up archive logs files for specific date. please give me idea for that. (2 Replies)
Discussion started by: akm9999
2 Replies

5. Shell Programming and Scripting

How to backup latest date files?

Hi, I have below two situations to handle, 1. I have list of files with file names having date&time. I have to backup to old date files. say I have below files in a directory, 1. XX123_20101004010101.dat 2. XX124_20101004010201.dat 3. XX121_20101003010101.dat 4.... (6 Replies)
Discussion started by: smr_rashmy
6 Replies

6. Shell Programming and Scripting

getting files between specific date ranges in solaris

hi ! how can i get files in a directory between certain date ranges ? say all files created/modified between Jan24 - Jan31 thanks (10 Replies)
Discussion started by: aliyesami
10 Replies

7. UNIX for Dummies Questions & Answers

List of Files which are Greater then a specific date

A newbie question... I need to get a list of the Files and folders which are greater then a specific date. I want write the output to a Text file. What I know ls -lrt gives me list of all the files ordered by date. Also ls > fileName will write the results to a text file. Please help (6 Replies)
Discussion started by: rkaif
6 Replies

8. UNIX Desktop Questions & Answers

How to delete files from a specific date?

Guys, I am wondering how to remove files for a specific date in a directory? for instance when I do ls -l , i see many files. And i want to delete files for date May 15: 58252015 May 10 03:45 my_05102012.log 58252015 May 15 06:45 my_05152012.log Thanks (8 Replies)
Discussion started by: DallasT
8 Replies

9. Shell Programming and Scripting

Find files with specific date

Dear all, kindly i have some files with different dates i need to grep word from these files but i need to search in files with date 2012-12-02 not all files in this directory do u have any command (4 Replies)
Discussion started by: maxim42
4 Replies

10. Shell Programming and Scripting

Find files for a specific date

Hi, I am looking to find files of a specific date. I am on Sun Solaris so newermt doesnot work.. I thought of using mtime but not getting how to use it. Please help me with this.. Regards Abhinav (3 Replies)
Discussion started by: abhi1988sri
3 Replies
BACKUP_VOLINFO(8)					       AFS Command Reference						 BACKUP_VOLINFO(8)

NAME
       backup_volinfo - Displays a volume's dump history from the Backup Database

SYNOPSIS
       backup volinfo -volume <volume name> [-localauth]
	   [-cell <cell name>] [-help]

       backup voli -v <volume name>
	   [-l] [-c <cell name>] [-h]

DESCRIPTION
       The backup volinfo command displays a dump history of the specified volume, reporting information such as the date on which the volume was
       dumped and the tapes that contain it. Include the ".backup" extension on the volume name if the backup version of the volume was dumped.

OPTIONS
       -volume <volume name>
	   Names the volume for which to display the dump history. Include the ".backup" or ".readonly" extension if the backup or read-only
	   version of the volume was dumped.

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

OUTPUT
       The output includes a line for each Backup Database dump record that mentions the specified volume, order from most to least recent. The
       output for each record appears in a table with six columns:

       dumpID
	   The dump ID of the dump that includes the volume.

       lvl The depth in the dump hierarchy of the dump level at which the volume was dumped. A value of 0 indicates a full dump. A value of 1 or
	   greater indicates an incremental dump made at the specified depth in the dump hierarchy.

       parentid
	   The dump ID of the dump's parent dump. A value of 0 indicates a full dump, which has no parent; in this case, the value in the "lvl"
	   column is also 0.

       creation date
	   The date and time at which the Backup System started the dump operation that created the dump.

       clone date
	   For a backup or read-only volume, the time at which it was cloned from its read/write source. For a read/write volume, the same as the
	   value in the "creation date" field.

       tape name
	   The name of the tape containing the dump: either the permanent tape name, or an AFS tape name in the format
	   volume_set_name.dump_level_name.tape_index where volume_set_name is the name of the volume set associated with the initial dump in the
	   dump set of which this tape is a part; dump_level_name is the name of the dump level at which the initial dump was backed up;
	   tape_index is the ordinal of the tape in the dump set. Either type of name can be followed by a dump ID in parentheses; if it appears,
	   it is the dump ID of the initial dump in the dump set to which this appended dump belongs.

EXAMPLES
       The following example shows part of the dump history of the Backup volume "user.smith.backup":

	  % backup volinfo -volume user.smith.backup
	  DumpID    lvl parentID  creation date    clone date	    tape name
	  924600000 1	924427600 04/20/1999 05:20 04/20/1999 05:01 user_incr_2 (924514392)
	  924514392 1	924427600 04/19/1999 05:33 04/19/1999 05:08 user_incr_2
	  924427600 0		0 04/18/1999 05:26 04/18/1999 04:58 user_full_6
	      .     .	   .	     .	     .	     .	    .	      .
	      .     .	   .	     .	     .	     .	    .	      .

PRIVILEGE REQUIRED
       None

SEE ALSO
       backup(8), backup_dumpinfo(8), backup_volrestore(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_VOLINFO(8)
All times are GMT -4. The time now is 04:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy