Sponsored Content
Operating Systems AIX Scheduled backup of a file system. Post 89842 by ravager on Wednesday 16th of November 2005 08:08:33 AM
Old 11-16-2005
do you use cron to backup at times in the week ?


this is one you can use
=================
mt-f /dev/rmt0 rewind
find /your filesystems -print |backup -iqvf /dev/rmt0.1
#(.1 prevents rewind )
you can create a script that will backup a list of file systems


Restore
======
tctl -f /dev/rmt0 rewind

restore -qvf /dev/rmt0 will restore all files no the tape

Restore files (only)

mt -f /dev/rmt0 feof restore Move to the next on the tape
restore -qvf /dev/rmt0 /filesytems/frans.txt file restoe only this file

Note !! 1.restore -xdvqf /dev/rmt0 /home/my/tools
The -x flag tells restore to extract files by their file name. The -d tells restore to extract all the files and subdirectories in the /home/my/tools directory. File and directory names must be specified as they are displayed when using the -T flag. If the directories do not exist, they are created.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Conditional File Movement script scheduled using CRON job

Hi All, i am trying to automate a process and have to create a unix script like wise. I have a scenario in which i need to automate a file movement. Below are the steps i need to automate. 1. Check whether a file (Not Fixed name-Pattern search of file say 'E*.dat') is present in a... (2 Replies)
Discussion started by: imu
2 Replies

2. Shell Programming and Scripting

File system backup alert

Hi All, OS: AIX 5.3 64 bits Could anyone please share unix File system backup alert shell script which sends an alert message upon failure.. Thanks for your time! Regards, (0 Replies)
Discussion started by: a1_win
0 Replies

3. AIX

Backup for GPFS file system

Unix people.. Backup for GPFS file system /dev/gpfs /application I have GPFS file system and I'd like to take backup for that file system to the tape I'm using this command Smitty fs + Backup a File System And I'm take the backup but this is will work if that gfs2 but I'm... (4 Replies)
Discussion started by: Mr.AIX
4 Replies

4. UNIX for Advanced & Expert Users

how to make a full system backup excluding data and restoring it to a new system

Hi, In order to have a sand box machine that I could use to test some system changes before going to production state, I'd like to duplicate a working system to a virtual one. Ideally, I'd like to manage to do it this way : - Make a full system backup excluding the user file system (this... (7 Replies)
Discussion started by: pagaille
7 Replies

5. Solaris

how to restore backup from veritas vm in ufs file system

Hi all I have a DLT tape in that tape backup is there is in veritas volume format and i want to restore it in ufs file system how can i do it? right now i don't have veritas file system setup. i have only ufs file sysytem please help some production data is to be restore. backup was taken... (0 Replies)
Discussion started by: nikhil kasar
0 Replies

6. Solaris

How to take backup of ZFS file system on a tape drive?

Hi Guys, I want to take backup of a ZFS file system on tape drive. Can anybody help me with this? Thanks, Pras (0 Replies)
Discussion started by: prashant2507198
0 Replies

7. Shell Programming and Scripting

Shell script to call Oracle archive backup script when file system reaches threshold value

Hello All, I need immediate help in creating shell script to call archivebkup.ksh script when archive file system capacity reaches threshold value or 60% Need to identify the unique file system that reaches threshold value. ex: capacity ... (4 Replies)
Discussion started by: sasikanthdba
4 Replies

8. AIX

Cloning a system via mksysb backup from one system and restore to new system

Hello All, I am trying to clone an entire AIX virtual machine to a new virtual machine including all partitions and OS.Can anyone help me on the procedure to follow? I am not really sure on how it can be done.Thanks in advance. Please use CODE tags for sample input, sample output, and for code... (4 Replies)
Discussion started by: gull05
4 Replies

9. Shell Programming and Scripting

Log file is not updating when I run shell scripts scheduled thru crontab

Hi Forum, Good Day! I have created an empty html file wtih permissoin 777 created shell script(with permission 777) , code is below. #=======================start============== . /data09/oracle/apps_st/appl/D_oraapp095.env rm -rf /home/mnp/Test_log.txt echo... (1 Reply)
Discussion started by: kartheekbk
1 Replies

10. Solaris

Backup for NAS huge File system

Gents, I have NAS File System mounted in Solaris as \Sysapp with size 8 TB the problem once the backup stared it is impacting the performance of the OS. Do you have any idea how to can we backup this FS with fast scenario without impacting the OS. Backup type : Netbackup (3 Replies)
Discussion started by: AbuAliiiiiiiiii
3 Replies
BACKUP_APROPOS(8)					       AFS Command Reference						 BACKUP_APROPOS(8)

NAME
backup_apropos - Displays each help entry containing a keyword string SYNOPSIS
backup apropos -topic <help string> [-help] backup ap -t <help string> [-h] DESCRIPTION
The backup apropos command displays the first line of the online help entry for any backup command that has in its name or short description the string specified by the -topic argument. To display the syntax for a command, use the backup help command. OPTIONS
-topic <help string> Specifies the keyword string to match, in lowercase letters only. If the string is more than a single word, surround it with double quotes (" ") or other delimiters. -help Prints the online help for this command. All other valid options are ignored. OUTPUT
The first line of a command's online help entry names it and briefly describes its function. This command displays the first line for any backup command where the string specified with the -topic argument is part of the command name or first line. EXAMPLES
The following example lists all backup commands that include the word "tape" in their names or short descriptions: % backup apropos tape labeltape: label a tape readlabel: read the label on tape scantape: dump information recovery from tape status: get tape coordinator status PRIVILEGE REQUIRED
None SEE ALSO
backup(8), backup_help(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_APROPOS(8)
All times are GMT -4. The time now is 05:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy