Sponsored Content
Full Discussion: help with back up please
Top Forums UNIX for Advanced & Expert Users help with back up please Post 8724 by guest100 on Wednesday 17th of October 2001 05:09:55 AM
Old 10-17-2001
Network help with back up please

Can anyone please tell me how safe is the following backup script?
Does it really backing up the WHOLE system or just part of it?
I do that with the system running an oracle database.
Will I be able to restore the system in case of a fault?

<pre>
Here is the output of 'df -k'

isgsi01(root)10: df -k
Filesystem kbytes used avail capacity Mounted on
/proc 0 0 0 0% /proc
/dev/dsk/c0t0d0s0 1987399 943500 984278 49% /
fd 0 0 0 0% /dev/fd
/dev/dsk/c0t0d0s3 962571 842773 62044 94% /var
/dev/dsk/c0t0d0s4 962571 675979 228838 75% /home
/dev/dsk/c0t0d0s5 3009327 2065069 884072 71% /u01
/dev/dsk/c0t1d0s0 3009327 2262450 686691 77% /u02
/dev/dsk/c0t1d0s1 3009327 2318909 630232 79% /u03
/dev/dsk/c0t1d0s3 3009327 2939083 10058 100% /u04
swap 2814480 3024 2811456 1% /tmp


Here is the backup script:

mt -f /dev/rmt/0cn rewind
ufsdump 0uf /dev/rmt/0cn /dev/dsk/c0t0d0s0
ufsdump 0uf /dev/rmt/0cn /dev/dsk/c0t0d0s3
ufsdump 0uf /dev/rmt/0cn /dev/dsk/c0t0d0s4
ufsdump 0uf /dev/rmt/0cn /dev/dsk/c0t0d0s5
ufsdump 0uf /dev/rmt/0cn /dev/dsk/c0t1d0s0
ufsdump 0uf /dev/rmt/0cn /dev/dsk/c0t1d0s1
ufsdump 0uf /dev/rmt/0cn /dev/dsk/c0t1d0s3

</pre>
Thanks in advance
 

5 More Discussions You Might Find Interesting

1. HP-UX

Help about back up

Hi this is Ramana.sv new to this group, please help me about my question, i am using HP-UX11.11i with oracle 10G this server is in india and i have another server in US with same HP-UX with oracle10G, what i want is i want to rename the local database in local HP server and copy the database from... (0 Replies)
Discussion started by: mcseramana
0 Replies

2. Shell Programming and Scripting

back up

hi all i need to transfer files from one server to another,but i have to make up a backup with a datestamp on the destination server beore i move the new files from the source to the destination server. example source server destination server a.sun a.sun b.sun ... (0 Replies)
Discussion started by: bkan77
0 Replies

3. AIX

back to back printing in UNIX

Hi , Can you suggest me how to back to back printing in UNIX? Is there any way? Kindly advise. Regards Vijaya Amirtha Raj (3 Replies)
Discussion started by: amirthraj_12
3 Replies

4. IP Networking

Back-to-Back Connection using HBAs

Hi every body, Is it possible to connect two servers Back-to-Back (Point-to-Point) using HBA adapters & using Fiber. Note it is direct connection & there is no switches between the servers. I'm concern about using HBA adapters, it is possible or not. Thanks in advance. :) (3 Replies)
Discussion started by: aldowsary
3 Replies

5. What is on Your Mind?

I'm back

Hi all, I used to post here years ago, and was a moderator, my old username: zazzybob. Anyway, after a few years away focusing on my career, I'm back and keener than ever to get involved in the unix.com community again. I'm looking forward to getting back into the swing of things, helping... (11 Replies)
Discussion started by: tokiwinter
11 Replies
BAK2DB.PL(8)						      System Manager's Manual						      BAK2DB.PL(8)

NAME
bak2db.pl - Directory Server perl script for restoring a backup SYNOPSIS
bak2db.pl -a archivedir [-Z serverID] [-D rootdn] { -w password | -w - | -j filename } [-t dbtype] [-n backendname] [-P protocol] [-v] [-h] DESCRIPTION
Restores a database from a backup. The Directory Server must be started prior to running this script. OPTIONS
A summary of options is included below: -a archivedir The directory of the archived database. -Z Server Identifier The server ID of the Directory Server instance. If there is only one instance on the system, this option can be skipped. -D Root DN The Directory Manager DN, or root DN. If not specified, the script will search the server instance configuration for the value. -w password The rootdn password. -w - Prompt for the rootdn password. -j password filename The name of the file that contains the root DN password. -t database type The backend database type (default: ldbm database). -n Backend Name The name of the LDBM database to restore. Example: userRoot -P Protocol The connection protocol to connect to the Directory Server. Protocols are STARTTLS, LDAPS, LDAPI, and LDAP. If this option is skipped, the most secure protocol that is available is used. For LDAPI, AUTOBIND is also available for the root user. -v Display verbose ouput -h Display usage EXAMPLE
bak2db.pl -a /LDAP/backups/20130305/ -D 'cn=directory manager' -w password -n userRoot -P LDAPS Note: security must be enabled to use protocol LDAPS. If LDAPS is not available it will default to next strongest/available proto- col automatically. bak2db.pl -a /LDAP/backups/20130305/ -Z instance2 -w password -n example -P LDAPI DIAGNOSTICS
Exit status is zero if no errors occur. Errors result in a non-zero exit status and a diagnostic message being written to standard error. AUTHOR
bak2db.pl was written by the 389 Project. REPORTING BUGS
Report bugs to http://bugzilla.redhat.com. COPYRIGHT
Copyright (C) 2013 Red Hat, Inc. Mar 5, 2013 BAK2DB.PL(8)
All times are GMT -4. The time now is 05:19 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy