Sponsored Content
Full Discussion: Staging a backup DISK
Top Forums UNIX for Dummies Questions & Answers Staging a backup DISK Post 62868 by DGoubine on Monday 21st of February 2005 06:00:16 AM
Old 02-21-2005
Data Staging a backup DISK

Hi, Experts !
I've met a following challenge:
I have a unix machine, and I need to take a backup of its disk in order to use it for staging of the next machine in the future. But I try to find some information on how it is best to do it.

The spare disk which I have is new and not formatted, but have the same size as the reference disk . Smilie

Old machine runs Solaris 8, but the new one will run Solaris 9.

So my questions are:

1). Is there any automatic function to take a "mirror" of the existing disk without formatting it first ?

2). If I need to format the disk, do I use the Solaris 9 installation disk or Solaris 8. Or don't I need the disk at all ? what are the recommendations ?

3). If formatting needed and step 2 is performed, what is the best way to copy the whole disk to the new disk ?

4). Taken that I need to use Solaris 8 to take the backup: shall I upgrade the OS to Solaris 9 later, and shall the new machine work fine in this case ?

Please comment if I am wrong in any statement.
Would appreciate any help, because I am stuck !

Best regards,
Dennis

Smilie
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

backup disk to disk to tape question

Hi all I had started to learn how to backup disk to disk to tape method Firstly I had backup to my NAS tar czvf /MyNetworkStorge/backup.tar /home Secondly I using dd command to copy the tar to tape dd if=/MyNetworkStorge/backup.tar of=/dev/tape0 But the tape drive always hang.... (5 Replies)
Discussion started by: lijiajin
5 Replies

2. Solaris

Unable to take backup of /var on another disk !!

Hi Gurus, I have to back the /var to other disk, however I am unable to do so. What I did is Created a partition on another disk, placed file system on the slice and mounted on /mnt . Issued following command #ufsdump 0cfu /mnt /var And I am getting... (2 Replies)
Discussion started by: kumarmani
2 Replies

3. UNIX for Dummies Questions & Answers

Backup Hard Disk Xenix System V

Hey all, At my work we have an installation that runs on a Xenix System V coupled with a PLC. Now I have to take a backup of the complete Hard Disk from the PC but have no idea how to manage this. Could someone help me and tell me which steps I have to take. Thanx. (8 Replies)
Discussion started by: sideshow bob
8 Replies

4. UNIX for Dummies Questions & Answers

Does formatting slice 2 (backup) destroy disk geometry?

I am a new Unix Sys Admin who is learning mostly from books with minimal classroom training (ie: no certificates, training is largely hands-on, conducted at work). I work with Solaris 8 through 10, and with some fairly outdated hardware. In my work restoring old workstations I have been instructed... (2 Replies)
Discussion started by: mia-chan
2 Replies

5. Solaris

backup the whole system to a usb disk.

Hi dears, i´m working with a sun sparc server(M4000) , solaris 10 installed. I need a little help, because i wanna know if is it possible to backup the whole system in a usb disk. I´m gonna explain you a little more why i want to do it. Currently i have installed a Solaris 10 working with... (5 Replies)
Discussion started by: botella
5 Replies

6. Solaris

Solaris patching using mirror disk backup? need help!

hi friends, need help.. it is my first time patching using mirror disk backup approach, not so sure about the steps :confused: how do you detach, patch it, boot it and reattach it ? any kind soul here can advise ? thanks in advance..:) below is the information from my machine: Filesystem ... (3 Replies)
Discussion started by: Exposure
3 Replies

7. Homework & Coursework Questions

Write a shell script for SQL loader to load data into a staging table

Hi, I'm new to Linux. I'm working on a database, and need to load data in a database table (which I already created) using shell script. The table has two columns - Acct_number (not nullable) and date (timestamp). I'm not able to write a shell script for that. Can any one help me? ... (3 Replies)
Discussion started by: saisudeep
3 Replies

8. UNIX for Dummies Questions & Answers

Backup Disk

I have a backup script. Before it runs it need to check the backup disk is connected. It usually mounts to /Volumes/Files_Bakup_1 I wrote a bit of script to do the check but it has failed me. if ! cd /Volumes/Files_Backup_1 then echo "could not connect to external hard drive"; ... (5 Replies)
Discussion started by: timgolding
5 Replies

9. Solaris

Need help in creating script for disk mirror and backup

Hi, I am very new to scripting. I need to create a script which does following. Scenario: First get the format command output echo | format Insert the new disk to Solaris Server Get Zpool status format the new disk ( Here I need to select the new disk which have been inserted, I do... (1 Reply)
Discussion started by: praveensharma21
1 Replies

10. Solaris

Whole disk backup in Solaris 11

Hello! I have an Oracle server X5-2 with Solaris 11. Now, this server will get repurposed before I get a system of my own. I am a beginner...but is there a way I can make a backup or an image of my whole disk so when I get my own system I can just restore without having to reinstall software... (1 Reply)
Discussion started by: chipsandiscream
1 Replies
AMADMIN(8)						      System Manager's Manual							AMADMIN(8)

NAME
amadmin - administrative interface to control Amanda backups SYNOPSIS
amadmin config command [ command options ] DESCRIPTION
Amadmin performs various administrative tasks on the config Amanda configuration. See the amanda(8) man page for more details about Amanda. COMMANDS
Commands that take a hostname [ disks ] parameter pair operate on all disks in the disklist for that hostname if no disks are specified. Where hostname is also marked as being optional, the command operates on all hosts and disks in the disklist. Both hostnames and disk are special expression, see the "HOST & DISK EXPRESSION" section of amanda(8) for a description. version Show the current version and some compile time and runtime parameters. The config parameter must be present but is ignored. force-bump [ hostname [ disks ]* ]+ Force the disks on hostname to bump to a new incremental level during the next Amanda run. force-no-bump [ hostname [ disks ]* ]+ Force the disks on hostname to not bump to a new incremental level during the next Amanda run. unforce-bump [ hostname [ disks ]* ]+ Undo a previous force-bump or force-no-bump command. force [ hostname [ disks ]* ]+ Force the disks on hostname to do a full (level 0) backup during the next Amanda run. unforce [ hostname [ disks ]* ]+ Undo a previous force command. reuse tapelabel [ ... ] The tapes listed will be available for reuse at their point in the tape cycle. no-reuse tapelabel [ ... ] The tapes listed will not be reused when their turn comes up again in the tape cycle. Note that if this causes the number of reus- able tapes to drop below the amanda.conf tapecycle value, Amanda will request new tapes until the count is satisfied again. due [ hostname [ disks ]* ]* Show when the next full dump is due. find [ --sort hkdlb ] [ hostname [ disks ]* ]* Display all backups currently on tape or in the holding disk. The tape label or holding disk filename, file number, and status are displayed. The --sort option changes the sort order using the following flags: h host name k disk name d dump date l backup level b tape label An uppercase letter reverses the sort order for that key. The default sort order is hkdlb. delete [ hostname [ disks ]* ]+ Delete the specified disks on hostname from the Amanda database. Note: if you do not also remove the disk from the disklist file, Amanda will treat it as a new disk during the next run. tape Display the tape(s) Amanda expects to write to during the next run. See also amcheck(8). bumpsize Display the current bump threshold parameters, calculated for all backup levels. balance Display the distribution of full backups throughout the dump schedule. export [ hostname [ disks ]* ]* Convert records from the Amanda database to a text format that may be transmitted to another Amanda machine and imported. import Convert exported records read from standard input to a form Amanda uses and insert them into the database on this machine. disklist [ hostname [ disks ]* ]* Display the disklist information for each of the disks on hostname (or all hosts). Mostly used for debugging. info [ hostname [ disks ]* ]* Display the database record for each of the disks on hostname (or all hosts). Mostly used for debugging. EXAMPLES
Request three specific file systems on machine-a get a full level 0 backup during the next Amanda run. $ amadmin DailySet1 force machine-a / /var /usr amadmin: machine-a:/ is set to a forced level 0 tonight. amadmin: machine-a:/var is set to a forced level 0 tonight. amadmin: machine-a:/usr is set to a forced level 0 tonight. Request all file systems on machine-b get a full level 0 backup during the next Amanda run. $ amadmin DailySet1 force machine-b amadmin: machine-b:/ is set to a forced level 0 tonight. amadmin: machine-b:/var is set to a forced level 0 tonight. amadmin: machine-b:/usr is set to a forced level 0 tonight. amadmin: machine-b:/home is set to a forced level 0 tonight. Undo the previous force request for /home on machine-b. The other file systems will still get a full level 0 backup. $ amadmin DailySet1 unforce machine-b /home amadmin: force command for machine-b:/home cleared. Locate backup images of /var from machine-c. The tape or file column displays either a tape label or a filename depending on whether the image is on tape or is still in the holding disk. If the image is on tape, the file column tells you which file on the tape has the image (file number zero is a tape label). This column shows zero and is not meaningful if the image is still in the holding disk. The status column tells you whether the backup was successful or had some type of error. $ amadmin DailySet1 find machine-c /var date host disk lv tape or file file status 2000-11-09 machine-c /var 0 000110 9 OK 2000-11-08 machine-c /var 2 000109 2 OK 2000-11-07 machine-c /var 2 /amanda/20001107/machine-c._var.2 0 OK 2000-11-06 machine-c /var 2 000107 2 OK 2000-11-05 machine-c /var 2 000106 3 OK 2000-11-04 machine-c /var 2 000105 2 OK 2000-11-03 machine-c /var 2 000104 2 OK 2000-11-02 machine-c /var 2 000103 2 OK 2000-11-01 machine-c /var 1 000102 5 OK 2000-10-31 machine-c /var 1 000101 3 OK Forget about the /workspace disk on machine-d. If you do not also remove the disk from the disklist file, Amanda will treat it as a new disk during the next run. $ amadmin DailySet1 delete machine-d /workspace amadmin: machine-d:/workspace deleted from database. amadmin: NOTE: you'll have to remove these from the disklist yourself. Find the next tape Amanda will use (in this case, 123456). $ amadmin DailySet1 tape The next Amanda run should go onto tape 123456 or a new tape. Show how well full backups are balanced across the dump cycle. The due-date column is the day the backups are due for a full backup. #fs shows the number of filesystems doing full backups that night, and orig KB and out KB show the estimated total size of the backups before and after any compression, respectively. The balance column shows how far off that night's backups are from the average size (shown at the bottom of the balance column). Amanda tries to keep the backups within +/- 5%, but since the amount of data on each filesystem is always changing, and Amanda will never delay backups just to rebalance the schedule, it is common for the schedule to fluctuate by larger percentages. In particular, in the case of a tape or backup failure, a bump will occur the following night, which will not be smoothed out until the next pass through the schedule. The last line also shows an estimate of how many Amanda runs will be made between full backups for a file system. In the example, a file system will probably have a full backup done every eight times Amanda is run (e.g. every eight days). $ amadmin DailySet1 balance due-date #fs orig KB out KB balance ------------------------------------------- 11/10 Mon 21 930389 768753 +5.1% 11/11 Tue 29 1236272 733211 +0.2% 11/12 Wed 31 1552381 735796 +0.6% 11/13 Thu 23 1368447 684552 -6.4% 11/14 Fri 32 1065603 758155 +3.6% 11/15 Sat 14 1300535 738430 +0.9% 11/16 Sun 31 1362696 740365 +1.2% 11/17 Mon 30 1427936 773397 +5.7% 11/18 Tue 11 1059191 721786 -1.3% 11/19 Wed 19 1108737 661867 -9.5% ------------------------------------------- TOTAL 241 12412187 7316312 731631 (estimated 8 runs per dumpcycle) FILES
/etc/amanda/config/amanda.conf AUTHOR
James da Silva <jds@cs.umd.edu> University of Maryland, College Park SEE ALSO
amanda(8), amcheck(8), amdump(8), amrestore(8) AMADMIN(8)
All times are GMT -4. The time now is 03:19 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy