SlideShare a Scribd company logo
1 of 27
Download to read offline
USE IMPROVE EVANGELIZE
Backup & Restore (BR)
in Solaris OS
Achmad Mardiansyah
Sun Certified Network Administrator
Freelance Engineer
2
USE IMPROVE EVANGELIZE
Imagine...
● virus infects your entire computer network.
● The virus spreads through every
employee’s workstation
● into every document and database file
● All your work, all your data—it’s all
destroyed
How would your business recover?
Without an adequate BR plan,
your business is at risk.
3
USE IMPROVE EVANGELIZE
Basic Terms
● backup is the process of transferring data
from system to a separate storage device.
● restore is the process to put back data from
device and resume normal business
operations.
● archive is a long-term, permanent data
backup, which is kept off-site.
4
USE IMPROVE EVANGELIZE
Types of Files Should Be Backed Up
● data files
– important files
– change frequently
● system files
– contain specific user information: settings & password
● software files
– contain softwares to run the bussiness
Note: Periodically, you should also back up the entire system in case of a
catastrophic disaster.
5
USE IMPROVE EVANGELIZE
How Often Should Data Be Backed Up?
● Depends on requirements (ask users)
● Can be: minutes, hours, days, months etc.
● Define the backup schedule
6
USE IMPROVE EVANGELIZE
When Should Backups Take Place?
● back up data after regular business hours
when employee demands on the network
are at a minimum.
● This off-hours time frame is called the
“backup window”. Usually at night.
● For 24 hours operations company,
determine a time period when employees
will be the least affected.
Note: use backup software that has an open file option. This option
allows you to perform a backup while the files are in use.
7
USE IMPROVE EVANGELIZE
How Long Should Data Be Stored?
depends on the type of data and business requirements:
●
For data files (change frequently)
– keep only the most recent files, as the previous data becomes
obsolete, tapes can be overwritten and reuse.
●
For the full set of files on your system
– store the files in a secure, off-site location. Entire system can be
recovered in case a disaster destroys the originals.
● For certain types of data (tax records, contracts, personnel files,
patient records, etc)
– Data is needed to be archived specified time period to meet
specific legal requirements. Example to be used in court as
prove.
8
USE IMPROVE EVANGELIZE
Where Should Backup Tapes Be Stored?
● ON-SITE
– immediate recovery
● OFF-SITE
– in case your business suffers a fire, theft, or other
disaster.
Many small companies choose to store backup tapes
in a safe-deposit box at a local bank or even at the
owner’s home.
9
USE IMPROVE EVANGELIZE
How Often Should Tapes Be Retired?
Varied answer...
CONTACT the vendor!
;-p
10
USE IMPROVE EVANGELIZE
Backup Evolution: Standalone backup
● 1980s technology
● only carry single catridge
● manual swap of the tape (usually system admin)
● capacity of tape become bigger than disk (eliminate
backup person)
● due to lots of data is being backuped, somebody must
attend backup process.
11
USE IMPROVE EVANGELIZE
Backup Evolution: Automated backup
● 1990s technology
● using library to handle multiple
catridges
● bigger capacity, with compressing
● unattend backup process (using
robotic mechanism)
● still need backup admin:
– checking the tapes were loaded
– checking the backup job was
completed successfully
– labeling and storing of tapes
– identifications of failures
– etc.
12
USE IMPROVE EVANGELIZE
Backup Evolution: LAN backup (1)
● late 1990s
● using LAN as transfer media
● advantages:
– able to share a single tape library
among the servers
– good scalability
– easy to manage
– costs were reduced.
● disadvantages:
– LAN is not reliable compare to directly
attached devices
– consume more bandwidth: decrease
performance, longer backup time
– slow down client-server applications
13
USE IMPROVE EVANGELIZE
Backup Evolution: LAN backup (2)
14
USE IMPROVE EVANGELIZE
Backup Evolution: Dedicated LAN backup
● eliminates backup performance problem
● still bandwidth limited
● requires reliable LAN
15
USE IMPROVE EVANGELIZE
Backup Evolution: Storage area network(1)
● latest technology, many companies using SAN as data storage
● advantages:
 Ease of administration (centralized, unattend, automatic)
 Scalability
 High bandwidth interface (using fibre channel interface)
 High performance (fast, no impact to LAN)
 High reliability and availability (provide hot-swap)
 Configuration flexibility (up to 20 km of distance)
 Heterogeneous servers (UNIX, NT, NetWare, etc) simultaneously.
 Reduced Total-Cost-of-Ownership (TCO)
– Shared tape libraries are more efficiently utilized.
– Centralized management reduces administration cost.
16
USE IMPROVE EVANGELIZE
Backup Evolution: Storage area network(2)
17
USE IMPROVE EVANGELIZE
Types of Backup
● Full Backups
 Copy all files: system files, software files, data files
 should be performed on a weekly, bi-weekly, or monthly
basis.
 If the data set is small, could be performed on a daily basis.
●
Partial Backups
 copies all files that have been added or changed since the
last backup job.
 two types of partial backups: incremental and differential
18
USE IMPROVE EVANGELIZE
Incremental Backups
● save time and cost during regular backup jobs
● example:
– perform a regular backup of all files (weekly, bi-weekly,
etc.)
– perform a more frequent backup (daily) of only the files that
have changed since the last backup session.
● Only copy few files and requires less time for backup
● Can make a complete system restore slower (if having many
incremental tapes)
note: incremental backup session may only use a small section
of tape. Using append option will conserve required number of
backup tapes. However, if losing this one tape, means losing
data from several backup sessions.
19
USE IMPROVE EVANGELIZE
Differential Backups
● Quick on restore time
● Example:
 perform regular full backup (weekly, bi-weekly, etc.)
 perform frequent backup (daily) of all files that have changed
since the last full backup session.
● Efficient on restore process (only need 2 tape sets)
● However, this method is slower on the backup process
note: for big full backup (requires more than one tape), you might
consider investing in a tape autoloader.
20
USE IMPROVE EVANGELIZE
Which Backup Strategy is Best?
Depends on situation! ;-)
NOTE: Most companies perform full/differential backups, because the
restore process only requires 2 tapes (or tape sets).
21
USE IMPROVE EVANGELIZE
Backup softwares
● Commercial softwares:
– Legato Networker, IBM Tivoli, Symantec
● Opensource
– Amanda, Bacula, Zmanda
● Solaris backup tools (built-in)
– tar
– ufsdump
– fssnap
– ufsrestore
– flash archive
– ZFS backup
22
USE IMPROVE EVANGELIZE
Solaris Backup tool: tar
● Tool for archiving
● Example
– # tar -cvf file.tar source (create tar file)
– # tar -tf file.tar (check table of content)
– # tar -xvf file.tar (extract tar file)
note: be careful between relatif and absolute SOURCE PATH
23
USE IMPROVE EVANGELIZE
Solaris Backup tool: ufsdump
● Tool for achiving unmounted volume
● Backup activity will be recorded in /etc/dumpdates
● example:
– # unmount /mnt/mp1 (unmount filesystem)
– # fsck /mnt/mp1 (check filesystem)
– # ufsdump 0uf /dev/rmt/0 /mnt/mp1 (dump to /dev/rmt/0)
– # ufsdump 0uf host2:/dev/rmt/0 /mnt/mp1 (dump to host2)
24
USE IMPROVE EVANGELIZE
Solaris Restore tool: ufsrestore
● Tool to restore data from device
– # newfs /dev/rdsk/c2t0d0s0 (format partition)
– # mount /mnt/mp1 (mount partition)
– # cd /mnt/mp1 (change directory)
– # ufsrestore rvf /dev/rmt/0 (restore from device)
– # rm restoresymtable (delete restoresymtable)
– ufsrestore ivf /dev/rmt/0 (interactive mode)
• Add, delete, marked, extract
Note: When performing differential restores, start with the last fullbackup
first. The system uses restoresymtable file to restore incremental backups
on top of the latest full backup.
25
USE IMPROVE EVANGELIZE
Solaris Backup tool: fssnap
● Create point-in-time copy of UFS filesystem (online backup)
– # fssnap -F ufs -o bs=/export/home/fssnap-file /mnt/mp1
(create snapshot)
– # fssnap -F ufs -o bs=/export/home/fssnap-
file,maxsize=100m /mnt/mp1 (with max backing-store file)
– # fssnap -i (display info)
– # mount -o ro /dev/fssnap/0 /mnt/fssnap0 (mount fs)
– # cd /mnt/fssnap0 (change directory)
– # fssnap -d /mnt/mp1
NOTE
– If the backing-store file runs out of disk space, the system automatically
deletes the UFS snapshot. The active ufs file system is not affected.
Check the /var/adm/messages.
– forcing unmount of an active ufs file system, for which a
snapshot exists (umount -f), will deletes the snapshot automatically.
26
USE IMPROVE EVANGELIZE
Solaris Backup tool: flash archive
● tool to create system image.
● Usually used for network installation
– # flarcreate -n flash_root_archive -c -R / -e root_archive -x /
export/flash -a admin_operator -S /export/flashfile
USE IMPROVE EVANGELIZE
Thank you!
Achmad Mardiansyah
Sun Certified Network Administrator
Freelance Engineer
Questions...?

More Related Content

What's hot

Development platform virtualization using qemu
Development platform virtualization using qemuDevelopment platform virtualization using qemu
Development platform virtualization using qemu
Premjith Achemveettil
 
Gns3 0.5 Tutorial
Gns3 0.5 TutorialGns3 0.5 Tutorial
Gns3 0.5 Tutorial
rusevi
 
6 stages of linux boot process
6 stages of linux boot process6 stages of linux boot process
6 stages of linux boot process
Teja Bheemanapally
 

What's hot (19)

Linux: Hardware Settings
Linux: Hardware SettingsLinux: Hardware Settings
Linux: Hardware Settings
 
"Relax and Recover", an Open Source mksysb for Linux on Power
"Relax and Recover", an Open Source mksysb for Linux on Power"Relax and Recover", an Open Source mksysb for Linux on Power
"Relax and Recover", an Open Source mksysb for Linux on Power
 
ZFS Talk Part 1
ZFS Talk Part 1ZFS Talk Part 1
ZFS Talk Part 1
 
Development platform virtualization using qemu
Development platform virtualization using qemuDevelopment platform virtualization using qemu
Development platform virtualization using qemu
 
Scale2014
Scale2014Scale2014
Scale2014
 
Ftp configuration
Ftp configurationFtp configuration
Ftp configuration
 
Flourish16
Flourish16Flourish16
Flourish16
 
Btrfs and Snapper - The Next Steps from Pure Filesystem Features to Integrati...
Btrfs and Snapper - The Next Steps from Pure Filesystem Features to Integrati...Btrfs and Snapper - The Next Steps from Pure Filesystem Features to Integrati...
Btrfs and Snapper - The Next Steps from Pure Filesystem Features to Integrati...
 
Relax-and-Recover Automated Testing
Relax-and-Recover Automated TestingRelax-and-Recover Automated Testing
Relax-and-Recover Automated Testing
 
Gns3 0.5 Tutorial
Gns3 0.5 TutorialGns3 0.5 Tutorial
Gns3 0.5 Tutorial
 
6 stages of linux boot process
6 stages of linux boot process6 stages of linux boot process
6 stages of linux boot process
 
Life Preserver - AsiaBSDCon2014
Life Preserver - AsiaBSDCon2014Life Preserver - AsiaBSDCon2014
Life Preserver - AsiaBSDCon2014
 
vbsd2013
vbsd2013vbsd2013
vbsd2013
 
OpenSolaris Server
OpenSolaris ServerOpenSolaris Server
OpenSolaris Server
 
ZFS Tutorial USENIX June 2009
ZFS  Tutorial  USENIX June 2009ZFS  Tutorial  USENIX June 2009
ZFS Tutorial USENIX June 2009
 
Kernel Configuration and Compilation
Kernel Configuration and CompilationKernel Configuration and Compilation
Kernel Configuration and Compilation
 
Linux packege manager
Linux packege managerLinux packege manager
Linux packege manager
 
ZFS in 30 minutes
ZFS in 30 minutesZFS in 30 minutes
ZFS in 30 minutes
 
Oracle prm dul, jvm and os
Oracle prm dul, jvm and osOracle prm dul, jvm and os
Oracle prm dul, jvm and os
 

Similar to Backup & Restore (BR) in Solaris OS

Pdb my sql backup london percona live 2012
Pdb my sql backup   london percona live 2012Pdb my sql backup   london percona live 2012
Pdb my sql backup london percona live 2012
Pythian
 
Free Presentation I Safe
Free Presentation   I SafeFree Presentation   I Safe
Free Presentation I Safe
russsealey
 

Similar to Backup & Restore (BR) in Solaris OS (20)

Pdb my sql backup london percona live 2012
Pdb my sql backup   london percona live 2012Pdb my sql backup   london percona live 2012
Pdb my sql backup london percona live 2012
 
Ansible.pdf
Ansible.pdfAnsible.pdf
Ansible.pdf
 
Unix and Linux Common Boot Disk Disaster Recovery Tools by Dusan Baljevic
Unix and Linux Common Boot Disk Disaster Recovery Tools by Dusan BaljevicUnix and Linux Common Boot Disk Disaster Recovery Tools by Dusan Baljevic
Unix and Linux Common Boot Disk Disaster Recovery Tools by Dusan Baljevic
 
Backing up Wikipedia Databases
Backing up Wikipedia DatabasesBacking up Wikipedia Databases
Backing up Wikipedia Databases
 
Free Presentation I Safe
Free Presentation   I SafeFree Presentation   I Safe
Free Presentation I Safe
 
Free Presentation ... I-Safe
Free Presentation ...  I-SafeFree Presentation ...  I-Safe
Free Presentation ... I-Safe
 
OVHcloud – Enterprise Cloud Databases
OVHcloud – Enterprise Cloud DatabasesOVHcloud – Enterprise Cloud Databases
OVHcloud – Enterprise Cloud Databases
 
Backups And Recovery
Backups And RecoveryBackups And Recovery
Backups And Recovery
 
Backing up thousands of containers
Backing up thousands of containersBacking up thousands of containers
Backing up thousands of containers
 
8 i rman_love_it
8 i rman_love_it8 i rman_love_it
8 i rman_love_it
 
Oaklands college: Protecting your data.
Oaklands college: Protecting your data.Oaklands college: Protecting your data.
Oaklands college: Protecting your data.
 
Backup & restore in windows
Backup & restore in windowsBackup & restore in windows
Backup & restore in windows
 
High availability and disaster recovery in IBM PureApplication System
High availability and disaster recovery in IBM PureApplication SystemHigh availability and disaster recovery in IBM PureApplication System
High availability and disaster recovery in IBM PureApplication System
 
NetApp against ransomware
NetApp against ransomwareNetApp against ransomware
NetApp against ransomware
 
Chapter 4
Chapter 4Chapter 4
Chapter 4
 
Ch4 memory management
Ch4 memory managementCh4 memory management
Ch4 memory management
 
ch1-IntroductiontoOS_edited.pptx
ch1-IntroductiontoOS_edited.pptxch1-IntroductiontoOS_edited.pptx
ch1-IntroductiontoOS_edited.pptx
 
linux monitoring and performance tunning
linux monitoring and performance tunning linux monitoring and performance tunning
linux monitoring and performance tunning
 
Real-Time Embedded System Design
Real-Time Embedded System DesignReal-Time Embedded System Design
Real-Time Embedded System Design
 
Intro to operating_system
Intro to operating_systemIntro to operating_system
Intro to operating_system
 

More from Achmad Mardiansyah

More from Achmad Mardiansyah (20)

01 introduction to mpls
01 introduction to mpls 01 introduction to mpls
01 introduction to mpls
 
Mikrotik User Meeting Manila: bgp vs ospf
Mikrotik User Meeting Manila: bgp vs ospfMikrotik User Meeting Manila: bgp vs ospf
Mikrotik User Meeting Manila: bgp vs ospf
 
PHPID online Learning #6 Migration from procedural to OOP
PHPID online Learning #6 Migration from procedural to OOPPHPID online Learning #6 Migration from procedural to OOP
PHPID online Learning #6 Migration from procedural to OOP
 
Troubleshooting load balancing
Troubleshooting load balancingTroubleshooting load balancing
Troubleshooting load balancing
 
ISP load balancing with mikrotik nth
ISP load balancing with mikrotik nthISP load balancing with mikrotik nth
ISP load balancing with mikrotik nth
 
Mikrotik firewall mangle
Mikrotik firewall mangleMikrotik firewall mangle
Mikrotik firewall mangle
 
Wireless CSMA with mikrotik
Wireless CSMA with mikrotikWireless CSMA with mikrotik
Wireless CSMA with mikrotik
 
SSL certificate with mikrotik
SSL certificate with mikrotikSSL certificate with mikrotik
SSL certificate with mikrotik
 
BGP filter with mikrotik
BGP filter with mikrotikBGP filter with mikrotik
BGP filter with mikrotik
 
Mikrotik VRRP
Mikrotik VRRPMikrotik VRRP
Mikrotik VRRP
 
Mikrotik fasttrack
Mikrotik fasttrackMikrotik fasttrack
Mikrotik fasttrack
 
Mikrotik fastpath
Mikrotik fastpathMikrotik fastpath
Mikrotik fastpath
 
Jumpstart your router with mikrotik quickset
Jumpstart your router with mikrotik quicksetJumpstart your router with mikrotik quickset
Jumpstart your router with mikrotik quickset
 
Mikrotik firewall NAT
Mikrotik firewall NATMikrotik firewall NAT
Mikrotik firewall NAT
 
Using protocol analyzer on mikrotik
Using protocol analyzer on mikrotikUsing protocol analyzer on mikrotik
Using protocol analyzer on mikrotik
 
Routing Information Protocol (RIP) on Mikrotik
Routing Information Protocol (RIP) on MikrotikRouting Information Protocol (RIP) on Mikrotik
Routing Information Protocol (RIP) on Mikrotik
 
IPv6 on Mikrotik
IPv6 on MikrotikIPv6 on Mikrotik
IPv6 on Mikrotik
 
Mikrotik metarouter
Mikrotik metarouterMikrotik metarouter
Mikrotik metarouter
 
Mikrotik firewall filter
Mikrotik firewall filterMikrotik firewall filter
Mikrotik firewall filter
 
Mikrotik the dude
Mikrotik the dudeMikrotik the dude
Mikrotik the dude
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

Recently uploaded (20)

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 

Backup & Restore (BR) in Solaris OS

  • 1. USE IMPROVE EVANGELIZE Backup & Restore (BR) in Solaris OS Achmad Mardiansyah Sun Certified Network Administrator Freelance Engineer
  • 2. 2 USE IMPROVE EVANGELIZE Imagine... ● virus infects your entire computer network. ● The virus spreads through every employee’s workstation ● into every document and database file ● All your work, all your data—it’s all destroyed How would your business recover? Without an adequate BR plan, your business is at risk.
  • 3. 3 USE IMPROVE EVANGELIZE Basic Terms ● backup is the process of transferring data from system to a separate storage device. ● restore is the process to put back data from device and resume normal business operations. ● archive is a long-term, permanent data backup, which is kept off-site.
  • 4. 4 USE IMPROVE EVANGELIZE Types of Files Should Be Backed Up ● data files – important files – change frequently ● system files – contain specific user information: settings & password ● software files – contain softwares to run the bussiness Note: Periodically, you should also back up the entire system in case of a catastrophic disaster.
  • 5. 5 USE IMPROVE EVANGELIZE How Often Should Data Be Backed Up? ● Depends on requirements (ask users) ● Can be: minutes, hours, days, months etc. ● Define the backup schedule
  • 6. 6 USE IMPROVE EVANGELIZE When Should Backups Take Place? ● back up data after regular business hours when employee demands on the network are at a minimum. ● This off-hours time frame is called the “backup window”. Usually at night. ● For 24 hours operations company, determine a time period when employees will be the least affected. Note: use backup software that has an open file option. This option allows you to perform a backup while the files are in use.
  • 7. 7 USE IMPROVE EVANGELIZE How Long Should Data Be Stored? depends on the type of data and business requirements: ● For data files (change frequently) – keep only the most recent files, as the previous data becomes obsolete, tapes can be overwritten and reuse. ● For the full set of files on your system – store the files in a secure, off-site location. Entire system can be recovered in case a disaster destroys the originals. ● For certain types of data (tax records, contracts, personnel files, patient records, etc) – Data is needed to be archived specified time period to meet specific legal requirements. Example to be used in court as prove.
  • 8. 8 USE IMPROVE EVANGELIZE Where Should Backup Tapes Be Stored? ● ON-SITE – immediate recovery ● OFF-SITE – in case your business suffers a fire, theft, or other disaster. Many small companies choose to store backup tapes in a safe-deposit box at a local bank or even at the owner’s home.
  • 9. 9 USE IMPROVE EVANGELIZE How Often Should Tapes Be Retired? Varied answer... CONTACT the vendor! ;-p
  • 10. 10 USE IMPROVE EVANGELIZE Backup Evolution: Standalone backup ● 1980s technology ● only carry single catridge ● manual swap of the tape (usually system admin) ● capacity of tape become bigger than disk (eliminate backup person) ● due to lots of data is being backuped, somebody must attend backup process.
  • 11. 11 USE IMPROVE EVANGELIZE Backup Evolution: Automated backup ● 1990s technology ● using library to handle multiple catridges ● bigger capacity, with compressing ● unattend backup process (using robotic mechanism) ● still need backup admin: – checking the tapes were loaded – checking the backup job was completed successfully – labeling and storing of tapes – identifications of failures – etc.
  • 12. 12 USE IMPROVE EVANGELIZE Backup Evolution: LAN backup (1) ● late 1990s ● using LAN as transfer media ● advantages: – able to share a single tape library among the servers – good scalability – easy to manage – costs were reduced. ● disadvantages: – LAN is not reliable compare to directly attached devices – consume more bandwidth: decrease performance, longer backup time – slow down client-server applications
  • 13. 13 USE IMPROVE EVANGELIZE Backup Evolution: LAN backup (2)
  • 14. 14 USE IMPROVE EVANGELIZE Backup Evolution: Dedicated LAN backup ● eliminates backup performance problem ● still bandwidth limited ● requires reliable LAN
  • 15. 15 USE IMPROVE EVANGELIZE Backup Evolution: Storage area network(1) ● latest technology, many companies using SAN as data storage ● advantages:  Ease of administration (centralized, unattend, automatic)  Scalability  High bandwidth interface (using fibre channel interface)  High performance (fast, no impact to LAN)  High reliability and availability (provide hot-swap)  Configuration flexibility (up to 20 km of distance)  Heterogeneous servers (UNIX, NT, NetWare, etc) simultaneously.  Reduced Total-Cost-of-Ownership (TCO) – Shared tape libraries are more efficiently utilized. – Centralized management reduces administration cost.
  • 16. 16 USE IMPROVE EVANGELIZE Backup Evolution: Storage area network(2)
  • 17. 17 USE IMPROVE EVANGELIZE Types of Backup ● Full Backups  Copy all files: system files, software files, data files  should be performed on a weekly, bi-weekly, or monthly basis.  If the data set is small, could be performed on a daily basis. ● Partial Backups  copies all files that have been added or changed since the last backup job.  two types of partial backups: incremental and differential
  • 18. 18 USE IMPROVE EVANGELIZE Incremental Backups ● save time and cost during regular backup jobs ● example: – perform a regular backup of all files (weekly, bi-weekly, etc.) – perform a more frequent backup (daily) of only the files that have changed since the last backup session. ● Only copy few files and requires less time for backup ● Can make a complete system restore slower (if having many incremental tapes) note: incremental backup session may only use a small section of tape. Using append option will conserve required number of backup tapes. However, if losing this one tape, means losing data from several backup sessions.
  • 19. 19 USE IMPROVE EVANGELIZE Differential Backups ● Quick on restore time ● Example:  perform regular full backup (weekly, bi-weekly, etc.)  perform frequent backup (daily) of all files that have changed since the last full backup session. ● Efficient on restore process (only need 2 tape sets) ● However, this method is slower on the backup process note: for big full backup (requires more than one tape), you might consider investing in a tape autoloader.
  • 20. 20 USE IMPROVE EVANGELIZE Which Backup Strategy is Best? Depends on situation! ;-) NOTE: Most companies perform full/differential backups, because the restore process only requires 2 tapes (or tape sets).
  • 21. 21 USE IMPROVE EVANGELIZE Backup softwares ● Commercial softwares: – Legato Networker, IBM Tivoli, Symantec ● Opensource – Amanda, Bacula, Zmanda ● Solaris backup tools (built-in) – tar – ufsdump – fssnap – ufsrestore – flash archive – ZFS backup
  • 22. 22 USE IMPROVE EVANGELIZE Solaris Backup tool: tar ● Tool for archiving ● Example – # tar -cvf file.tar source (create tar file) – # tar -tf file.tar (check table of content) – # tar -xvf file.tar (extract tar file) note: be careful between relatif and absolute SOURCE PATH
  • 23. 23 USE IMPROVE EVANGELIZE Solaris Backup tool: ufsdump ● Tool for achiving unmounted volume ● Backup activity will be recorded in /etc/dumpdates ● example: – # unmount /mnt/mp1 (unmount filesystem) – # fsck /mnt/mp1 (check filesystem) – # ufsdump 0uf /dev/rmt/0 /mnt/mp1 (dump to /dev/rmt/0) – # ufsdump 0uf host2:/dev/rmt/0 /mnt/mp1 (dump to host2)
  • 24. 24 USE IMPROVE EVANGELIZE Solaris Restore tool: ufsrestore ● Tool to restore data from device – # newfs /dev/rdsk/c2t0d0s0 (format partition) – # mount /mnt/mp1 (mount partition) – # cd /mnt/mp1 (change directory) – # ufsrestore rvf /dev/rmt/0 (restore from device) – # rm restoresymtable (delete restoresymtable) – ufsrestore ivf /dev/rmt/0 (interactive mode) • Add, delete, marked, extract Note: When performing differential restores, start with the last fullbackup first. The system uses restoresymtable file to restore incremental backups on top of the latest full backup.
  • 25. 25 USE IMPROVE EVANGELIZE Solaris Backup tool: fssnap ● Create point-in-time copy of UFS filesystem (online backup) – # fssnap -F ufs -o bs=/export/home/fssnap-file /mnt/mp1 (create snapshot) – # fssnap -F ufs -o bs=/export/home/fssnap- file,maxsize=100m /mnt/mp1 (with max backing-store file) – # fssnap -i (display info) – # mount -o ro /dev/fssnap/0 /mnt/fssnap0 (mount fs) – # cd /mnt/fssnap0 (change directory) – # fssnap -d /mnt/mp1 NOTE – If the backing-store file runs out of disk space, the system automatically deletes the UFS snapshot. The active ufs file system is not affected. Check the /var/adm/messages. – forcing unmount of an active ufs file system, for which a snapshot exists (umount -f), will deletes the snapshot automatically.
  • 26. 26 USE IMPROVE EVANGELIZE Solaris Backup tool: flash archive ● tool to create system image. ● Usually used for network installation – # flarcreate -n flash_root_archive -c -R / -e root_archive -x / export/flash -a admin_operator -S /export/flashfile
  • 27. USE IMPROVE EVANGELIZE Thank you! Achmad Mardiansyah Sun Certified Network Administrator Freelance Engineer Questions...?