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_STATUS(8)					       AFS Command Reference						  BACKUP_STATUS(8)

NAME
backup_status - Reports a Tape Coordinator's status SYNOPSIS
backup status [-portoffset <TC port offset>] [-localauth] [-cell <cell name>] [-help] backup st [-p <TC port offset>] [-l] [-c <cell name>] [-h] DESCRIPTION
The backup status command displays which operation, if any, the indicated Tape Coordinator is currently executing. OPTIONS
-portoffset <TC port offset> Specifies the port offset number of the Tape Coordinator for which to report the status. -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 following message indicates that the Tape Coordinator is not currently performing an operation: Tape coordinator is idle Otherwise, the output includes a message of the following format for each running or pending operation: Task <task_ID>: <operation>: <status> where <task_ID> Is a task identification number assigned by the Tape Coordinator. It begins with the Tape Coordinator's port offset number. <operation> Identifies the operation the Tape Coordinator is performing, which is initiated by the indicated command: Dump The backup dump command. Restore The backup diskrestore, backup volrestore, or backup volsetrestore commands. Labeltape The backup labeltape command. Scantape The backup scantape command. SaveDb The backup savedb command. RestoreDb The backup restoredb command. <status> Indicates the job's current status in one of the following messages. number Kbytes transferred, volume volume_name For a running dump operation, indicates the number of kilobytes copied to tape or a backup data file so far, and the volume currently being dumped. number Kbytes, restore.volume For a running restore operation, indicates the number of kilobytes copied into AFS from a tape or a backup data file so far. [abort requested] The backup kill command was issued, but the termination signal has yet to reach the Tape Coordinator. [abort sent] The operation is canceled by the backup kill command. Once the Backup System removes an operation from the queue or stops it from running, it no longer appears at all in the output from the command. [butc contact lost] The backup command interpreter cannot reach the Tape Coordinator. The message can mean either that the Tape Coordinator handling the operation was terminated or failed while the operation was running, or that the connection to the Tape Coordinator timed out. [done] The Tape Coordinator has finished the operation. [drive wait] The operation is waiting for the specified tape drive to become free. [operator wait] The Tape Coordinator is waiting for the backup operator to insert a tape in the drive. If the Tape Coordinator is communicating with an XBSA server (a third-party backup utility that implements the Open Group's Backup Service API [XBSA]), the following message appears last in the output: <XBSA_program> Tape coordinator where <XBSA_program> is the name of the XBSA-compliant program. EXAMPLES
The following example shows that the Tape Coordinator with port offset 4 has so far dumped about 1.5 MB of data for the current dump operation, and is currently dumping the volume named "user.pat.backup": % backup status -portoffset 4 Task 4001: Dump: 1520 Kbytes transferred, volume user.pat.backup 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), butc(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_STATUS(8)
All times are GMT -4. The time now is 10:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy