Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Recovery Tools In
Unix and Linux*
Disaster
Webinar
% of respondents
13
Pandemic
13
Application failure
12
Industrial Action 8
November 2, 2016
Webinar
HP
make_tape_recovery/make_net_recovery,
Dynamic Root Disk (DRD)*
Linux
Webinar
Tape Drives
Limitations inherent with tape media:
Must remove old tapes and insert new ones for new backups.
Must check log files and run dummy restores to ensure data
consistency.
Tape drives are more error-prone than a local network or CDROM and DVD.
Webinar
AIX mksysb(1)
Creates a backup of the operating system (root
volume group).
The file system image is in backup-file format. The
tape format includes a boot image, a bosinstall
image, and an empty table of contents followed
by
the system backup (root volume group) image.
The root volume group image is in backup-file
format, starting with data files and then any
optional map files.
November 2, 2016
Webinar
AIX mksysb(1)
Pros highlights:
For managing a single or limited number of
servers.
Can be used for system cloning.
Use when servers are not networked.
Allows backup to tape drive (CD-ROM and
DVD typically done through mkcd(1)).
November 2, 2016
Webinar
AIX mksysb(1)
Cons highlights:
Identical tape drive is needed for an off-site recovery.
Cannot back up files that are mounted from a remote server.
If /usr is remote-mounted, you cannot reinstall system from
backup image.
Image does not include data on raw devices or in userdefined paging spaces.
It may not restore all device configurations for special
features, such as /dev/netbios and some device drives not
shipped with the product.
LC_ALL environment variable should be unset (if non-C
value).
Does not have built-in error checking to minimize problems
when backing up an active file system.
Format specific to AIX (backup-file).*
November 2, 2016
Webinar
Webinar
Select
Access
your devices.
Restore
files.
Boot.
November 2, 2016
Webinar
10
AIX NIM(1)
Requires
NIM
NIM
Now
November 2, 2016
Webinar
11
HP-UX make_tape_recovery(1)
Pros highlights:
For managing a single or limited number of servers.
Can be used for system cloning.
Use when servers are not networked.
Suitable tape drive must exist.
Allows backup to tape drive, CD-ROM, or DVD.
Interactive and non-interactive.
Supports tar (default), cpio or pax formats.
Supports LVM and VxVM.
Multi-tape CLUI only.
Configurable.
Versions 7.x and above have ability to block particular
paths and protocols during inventory (see instl_adm(4)).
November 2, 2016
Webinar
12
HP-UX make_tape_recovery(1)
Cons highlights:
Webinar
13
HP-UX make_tape_recovery(1)
checks
# check_tape_recovery
# copy_boot_tape u /dev/rmt/0mn b d
/tmp
# lifls l /tmp/bootimage
# mt f /dev/rmt/0mn rew
# mt f /dev/rmt/0mn fsf 1
# tar tvf /dev/rmt/0mn*
November 2, 2016
Webinar
14
HP-UX make_net_recovery(1)
Pros highlights:
For
Can
Use
No
Interactive
Supports
Highly
November 2, 2016
and non-interactive.
configurable.
Webinar
15
HP-UX make_net_recovery(1)
Cons highlights:
Requires
Ignite-UX
NFS
Requires
November 2, 2016
Webinar
16
HP-UX make_net_recovery
Protocols and Ports
67
bootpd
UDP2 Bootstrap Protocol Server This service should function only if the server is a BOOTP/DHCP
server
68
bootpd
UDP Bootstrap Protocol Client This service should function only if the server is a BOOTP server
69
tftpd UDP Trivial File Transfer Protocol Found on systems that have Ignite-UX installed. This service
should
function only if the host is being used as a TFTP server
111
portmap/sunrpc/ rpcbind
Procedure Call (RPC)
November 2, 2016
Webinar
TCP/UDP
SUN Remote
17
HP-UX make_net_recovery
Protocols and Ports (continued)
135 rpcd/dced TCP Distributed Computing
Environment (DCE)-based RPC
514 shell TCP
Used
18
HP-UX make_net_recovery
Protocols and Ports (continued)
2121 swagentd TCP/UDP
HP Software Distributor
Daemon - Used for communication between systems for
software installation, listing, or other sw commands
4000 - 4009
secure swagent ports
The swagent firewall configurable ports
TCP/UDP
49152 - 65535
Dynamic or Private Ports
TCP/UDP
Dynamic and Private Ports are used by many applications
for
dynamic port assignments. UDP ports in this range are
often
RPC ports
November 2, 2016
Webinar
19
November 2, 2016
Webinar
20
November 2, 2016
Webinar
21
Install patches
on the clone;
applications
remain running
lvol1
lvol2
lvol3
lvol1
lvol2
lvol3
lvol1
lvol2
lvol3
lvol1
lvol2
lvol3
November 2, 2016
lvol1
lvol2
lvol3
Activate the
clone to make
changes take
effect
lvol1
lvol2
lvol3
Webinar
lvol1
lvol2
lvol3
lvol1
lvol2
lvol3
Full clone.
The ioconfig file and the entire /dev directory are copied by
the DRD clone operation, so instance numbers will not
change when the clone is booted.*
November 2, 2016
Webinar
23
Webinar
24
Webinar
25
Only the contents of vg00 are copied. A system that has /opt
(or any file system that is patched) not in vg00 is not
suitable for use with DRD.
Webinar
26
Webinar
27
Webinar
28
November 2, 2016
Webinar
29
Webinar
30
November 2, 2016
Webinar
31
November 2, 2016
Webinar
32
Webinar
33
Linux Clonezilla
Clonezilla is a GPL disaster recovery solution.
It supports Linux and Microsoft Windows.
Clonezilla Live: Allows you to use CD/DVD or USB flash drive to boot
and run clonezilla (unicast only).
Clonezilla server edition: A DRBL* server must first be set up in
order to
use Clonezilla (Both unicast and multicast are supported).
Based on Partimage, ntfsclone and dd to clone partition. However,
clonezilla, containing some other programs, can save and restore
not
only partitions, but also a whole disk.
November 2, 2016
Webinar
34
Linux Clonezilla
Pros highlights:
November 2, 2016
Webinar
35
Linux Clonezilla
Cons highlights:
Multicast
Due
November 2, 2016
Webinar
36
Webinar
37
Solaris ufsdump(1)
Pros highlights:
Easier
Allows
Allows
Allows
Supports
Portable
Interactive
November 2, 2016
and non-interactive.
Webinar
38
Solaris ufsdump(1)
Cons highlights:
Backs up single file system only you must enter
multiple ufsdump commands to back up data.
Possible errors when backing up open files.*
Cannot automatically calculate number of tapes
need.**
Cannot back up files that are mounted from remote
server.
Does not have built-in error checking to minimize
problems when backing up an active file system.***
Not efficient in tuning transfer rates to tape drive.
Ufsrestore requires some prior knowledge of disk
partitioning.
Does not support ZFS.
November 2, 2016
Webinar
39
creates a bootable
tape. There is no need to boot of the
installation CD-ROM or DVD.
make_tape_recovery
make_tape_recovery
Solaris
UX.
November 2, 2016
is fully automated.
Webinar
40
Webinar
41
(/)
(/usr)
(/var)
(/tmp)
Webinar
42
November 2, 2016
Webinar
43
Webinar
44
Solaris flash(1)
Pros highlights:
Creates
Can
Customisable.
Flash
Non-interactive.
November 2, 2016
Webinar
45
Solaris flash(1)
Cons highlights:
Webinar
46
Solaris flash(1)
November 2, 2016
Webinar
47
Webinar
48
Webinar
49
Options offered:
F2_Upgrade F3_Go Back F4_Initial F5_Exit F6_Help
Select F4_Initial.
Webinar
50
Options offered:
F2_Standard F3_Go Back F4_Flash F5_Exit F6_Help
Select F4_Flash and follow the prompts:
Flash Archive Installation Method
Available Retrieval Methods
[ ] HTTP -> default
[ ] NFS
[ ] Local File
[X] Local Tape -> selected
[ ] Local Device
November 2, 2016
Webinar
51
November 2, 2016
Webinar
52
Webinar
53
November 2, 2016
Webinar
54
Solaris fssnap(1)
Create a snapshot of a file system:
The block special device created for the
snapshot is
/dev/fssnap/0
# fssnap -F ufs -o backing-store=/var/tmp/snap
/home /dev/fssnap/0
Webinar
55
Webinar
56
Webinar
57
November 2, 2016
Webinar
58
November 2, 2016
Webinar
59
November 2, 2016
Webinar
60
November 2, 2016
Webinar
61
If
Soft
November 2, 2016
Webinar
62
Tru64 btcreate(1)
Pros highlights:
Can
Interactive
Cons highlights:
Specific
to Tru64.
Identical
recovery.
November 2, 2016
Webinar
63
Tru64 btcreate(1)
The tape consists of a tape boot block, a specialized
kernel, a stripped-down operating system, and a
backup of your system partitions. Once it is created,
complete restores are as simple as booting the
prepared tape from the console:
>>> init
>>> show dev
>>> boot -fl "nc" MKA400
Because the facility utilizes dump or vdump, the
normal caveats apply. Ideally, you should create the
tape while the system is in single-user mode:
Webinar
64
# cd BUILD
# mkisofs -D -R -d -o -b -quiet -p "your name" \
-P "your org." -V "V5.1Br2650_O1" -o ../TRU64DS15.iso .
# disklabel -w -t cdfs -f ../TRU64DS15.iso
# echo "\0\c" || dd bs=1024k conv=sync >> ../TRU64DS15.iso
Copy the ISO to a PC with a CD burner and burn the image to
CD-R
Put the cd into your DS15, and boot it using:
P>>> b -file ds15kernel dqa0
November 2, 2016
Webinar
65
November 2, 2016
Webinar
66
Home Base.
November 2, 2016
Webinar
67
November 2, 2016
Webinar
68
AIX mksysb:
http://publib.boulder.ibm.com/infocenter/clresctr/vxrx/
topic/com.ibm.cluster.csm16010.install.doc/am7il_m
ksysb.html
http://www.unix.com/shell-programmingscripting/47006-script-automate-mksysb-via-nim-aix5-3-a.html
AIX FAQ:
http://www.faqs.org/faqs/aix-faq/
http://www.symantec.com/products/
November 2, 2016
Webinar
69
HP-IX Ignite:
http://docs.hp.com/en/IUX/
Tru64 btcreate:
http://h30097.www3.hp.com/docs/base_doc/DOCUM
ENTATION/V51B_HTML/MAN/MAN8/0043____.HTM
http://www.backupcentral.com/components/com_ma
mbowiki/index.php/Tru64_Bare_Metal_Recovery
Backup Central:
http://www.backupcentral.com/
November 2, 2016
Webinar
70
EMC HomeBase:
http://www.emc.com/solutions/samples/backuprecovery-archiving/bare-metal-recovery.htm
http://www.hp.com/go/dataprotectorexpress
Mondo Rescue:
http://www.mondorescue/org/
http://www.mondorescue.com/docs/hwmigration-2.3.pdf
Solaris Flash:
http://www.sun.com/bigadmin/content/submitted/flash_archive.jsp
November 2, 2016
Webinar
71
http://drbl.sourceforge.net/
Clonezilla:
http://clonezilla.sourceforge.net/
HP-UX
http://docs.hp.com/en/DRD/faq.html
November 2, 2016
Webinar
72