03-10-2006
ufsrestore?
I'm trying to restore a server from a backup tape. I've partitioned my drive, and I've run into a problem; After extracting everything from the tape, It seems as if only the directory structure is intact. Here are my steps:
1. booted from cdrom to single user mode boot cdrom -s
2. used 'format' to create my partitions
3. created my directories
4. mounted all of my partitions
5. cd to desired directory
6. ufsrestore -ivh /dev/rmt/0n
7. follow prompts
8. boot -ar
Seemed to work fine with my first server. 2nd one, not so much.
Did I miss something? TIA
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi there,
I have a problem at the moment trying to restore a directory from a Super DLT tape with about 3 weeks worth of backups on it. I need to be able to get the last backup performed on this tape but using ufsrestore -i it only restores the first backup which is no good to me. There is... (4 Replies)
Discussion started by: gerwhelan
4 Replies
2. Solaris
on sparc solaris 2.8 hosts, HOSTB, after changing to /dir1 need to:
connect to tape drive on HostA. change directory to /dir0/dir1 on tape and
restore everything under that path to /dir1 directory.
could i get help?. (1 Reply)
Discussion started by: S26+
1 Replies
3. Solaris
HI Gurus,
I have a sunfire V445 server running SAP ECC 6.0 with an Oracle database on Solaris 9 (SunOS 5.9). I recently completed a ufsdump to tape of the following files:-
/,
/usr,
/oracle,
/export,
/sapr3,
I want to restore these files from tape onto a different server of the same... (5 Replies)
Discussion started by: charleywasharo
5 Replies
4. Solaris
Hi , I accidentally deleted crontab entries and I need to restore back urgently ! we use a ufsdump with 0cfu option. I like to know how to restrore / retrieve to different location for crontab file only from the backup. Thanks. (4 Replies)
Discussion started by: skully
4 Replies
5. Solaris
Hi Gurus,
Can you guys please explain what is volume in ufsrestore?
Thanks (2 Replies)
Discussion started by: kumarmani
2 Replies
6. Solaris
hey all,
i did a ufsdump/restore from a mirrored system and i'm not able to get the new system to boot off of the dump.
system 1 is a v245 mirrored with disk suite. metadb's are in place
d3 -m d23 d13 d33 1
d23 1 1 c1t1d0s3
d13 1 1 c1t0d0s3
d33 1 1 c1t2d0s3
d0 -m d20 d10 d30 1
d20 1... (3 Replies)
Discussion started by: em23
3 Replies
7. Solaris
hi, on my sol9 box i create my backup using the below command:
/usr/sbin/ufsdump 0uf /dev/rmt/0n /u1
/usr/sbin/ufsdump 0uf /dev/rmt/0n /u2
/usr/sbin/ufsdump 0uf /dev/rmt/0n /u3
/usr/sbin/ufsdump 0uf /dev/rmt/0n /u4
now on the new sol10 box, to restore i use this commands:
cd /u1... (3 Replies)
Discussion started by: pinoy43v3r
3 Replies
8. Solaris
Hi Friends
we have sun T5240 server, we have taken ufsdump of this server remotely with scsi tapedrive, If we need to do ufsrestore means what we have to do, since T5240 has not having scsi port, any procedure is there?
Regards
Rajasekar (5 Replies)
Discussion started by: rajasekg
5 Replies
9. Shell Programming and Scripting
Good Afternoon,
I'm going to attempt a ufsrestore of a Solaris 9 machine from a connected NAS containing the ufsdumps. The idea is to be able to take ufsdumps of a failed machine (machine 1), and use them to set up a backup machine (machine 2). (I'm testing for disaster recovery)
Note... (52 Replies)
Discussion started by: Stellaman1977
52 Replies
10. UNIX for Beginners Questions & Answers
Good Morning,
I'm running through a Solaris 9 ufsrestore process on a Sunblade 2500 that folks here helped me write a year ago. Here: https://www.unix.com/303011447-post11.html
Hicksd8 tells me to # rm restoresymtable. I see this file in the other slices as well. Do I remove it from... (8 Replies)
Discussion started by: Stellaman1977
8 Replies
LEARN ABOUT DEBIAN
amflush
AMFLUSH(8) System Administration Commands AMFLUSH(8)
NAME
amflush - flush Amanda backup files from holding disk to tape
SYNOPSIS
amflush [-b] [-f] [-s] [-D datestamp] [-o configoption...] config [host [disk...]...]
DESCRIPTION
Amflush writes Amanda backups from the holding disks to tape, and updates the Amanda info database and tapelist(5) accordingly. It is
similar to amdump, but does not perform any backup operations on Amanda clients. Backups may stay in a holding disk when something is wrong
with the tape at the time amdump is run. When this happens, the problem must be corrected and amflush run by hand.
The command optionally takes a set of DLE specifications (see amanda-match(7)) to narrow the DLEs for which dumps will be flushed. All
dumps in holding are flushed if no expressions are given.
OPTIONS
-b
Run amflush in batch mode. All datestamps are selected unless specified. The flush is started without confirmation.
-f
Run amflush in foreground. Amflush normally detaches itself from the tty and runs as a background process. With the -f option, amflush
stays in the foreground. This is useful if amflush is run as part of another script that, for example, advances the tape after the
flush is completed.
-s
Write log to stdout/stderr instead of the amflush log file. Requires the -f option.
-D datestamp
specify a datestamp expression you want to flush; see amanda-match(7) for details on the format of this expression. -D 20001225-7 will
flush all dumps from 25 december 2000 to 27 december 2000.
host [disk]*
Specify the host and disk on which the command will work -- see the description of DLE specifications in amanda-match(7).
-o configoption
See the "CONFIGURATION OVERRIDE" section in amanda(8).
You can specify many host/disk expressions, only disks that match an expression will be flushed. All disks are flushed if no expressions
are given. see the "HOST & DISK EXPRESSION" section of amanda(8) for a description.
Amflush will look in the holding disks specified by the amanda.conf file in /usr/local/etc/amanda/config for any non-empty Amanda work
directories. It then prompts you to select a directory or to process all of the directories. The work directories in the holding disks are
named by the date at the time amdump was run, e.g. 19910215.
See the amanda(8) man page for more details about Amanda.
EXAMPLE
Amflush will search for holding areas associated with the daily configuration. After you select which holding area to flush, amflush writes
the data to tape, updates the databases and sends a mail report similar to amdump(8).
% amflush MyConfig
Scanning /amanda-hold...
20001113: found Amanda directory.
20001114: found Amanda directory.
Multiple Amanda directories, please pick one by letter:
A. 20001113
B. 20001114
Select directories to flush [A..B]: [ALL] all
Flushing dumps in 20001113, 20001114,
today: 20001117
to tape drive /dev/rmt/0mn.
Expecting tape DMP014 or a new tape. (The last dumps were to tape DMP013)
Are you sure you want to do this? yes
Running in background, you can log off now.
You'll get mail when amflush is finished.
The following example causes amflush to flush everything to tape, then ejects tape, using 'at' to run the task in the background.
% echo 'amflush -b -f MyConfig && mt offline' | at now
EXIT CODE
The exit code of amflush is the ORed value of:
0 = success
1 = error
4 = a dle failed
8 = Don't know the status of a dle (RESULT_MISSING in the report)
16 = tape error or no more tape
SEE ALSO
amanda(8), amdump(8), amanda-match(7)
The Amanda Wiki: : http://wiki.zmanda.com/
AUTHORS
James da Silva <jds@amanda.org>
Stefan G. Weichinger <sgw@amanda.org>
Amanda 3.3.1 02/21/2012 AMFLUSH(8)