LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
LinkBack Search this Thread
Old 11-17-2009, 11:51 PM   #1
sushantchawla2005
Member
 
Registered: Jun 2009
Location: India
Distribution: All flavours of linux
Posts: 92

Rep: Reputation: 14
Exclamation Amanda Backup on OpenSolaris 10


Hi All

I have configured an open solaris 10 server & I want it to have amanda backup utility configured for backing up my all Desktop System's data onto this server. I have installed Amanda from source successfully but as I am new to Amanda so I am unable to configure my storage server (opensolaris) completely. I followed the tutorials given on zamanda site.

Can anyone suggest any easy to use tutorial for Amanda which help me in configuring Amanda Server to backup data on Hard Disks.

Thanks in advance & any help will be highly appreciated.

Regards
Sushant Chawla
Linux Administrator
 
Old 11-18-2009, 07:42 AM   #2
choogendyk
Senior Member
 
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,183

Rep: Reputation: 105Reputation: 105
Cool. My two favorite choices. Solaris and Amanda.

I typically use the Quick Start guide on the wiki. While following that, click out to other pages on the wiki for details and clarification. In particular, you will want to look at the How To: Set Up Virtual Tapes, and you will want to understand the FAQ on Backup Levels.

Are you using OpenSolaris or Solaris 10? X86 or SPARC? UFS or ZFS? If you are using UFS, then configure Amanda to use ufsdump. You can also use fssnap snapshots with ufsdump, but that's another level of complication that you could put off. I wrote a wrapper for ufsdump that does the fssnap when called from Amanda. If you are using ZFS, then I would use gnutar. While Amanda can use ZFS send/receive, those utilities will only do full backup and recovery of whole ZFS filesystems. They cannot be used to recover just a single file.

Feel free to ask more questions.
 
Old 11-19-2009, 12:09 AM   #3
sushantchawla2005
Member
 
Registered: Jun 2009
Location: India
Distribution: All flavours of linux
Posts: 92

Original Poster
Rep: Reputation: 14
Quote:
Originally Posted by choogendyk View Post
Cool. My two favorite choices. Solaris and Amanda.

I typically use the Quick Start guide on the wiki. While following that, click out to other pages on the wiki for details and clarification. In particular, you will want to look at the How To: Set Up Virtual Tapes, and you will want to understand the FAQ on Backup Levels.

Are you using OpenSolaris or Solaris 10? X86 or SPARC? UFS or ZFS? If you are using UFS, then configure Amanda to use ufsdump. You can also use fssnap snapshots with ufsdump, but that's another level of complication that you could put off. I wrote a wrapper for ufsdump that does the fssnap when called from Amanda. If you are using ZFS, then I would use gnutar. While Amanda can use ZFS send/receive, those utilities will only do full backup and recovery of whole ZFS filesystems. They cannot be used to recover just a single file.

Feel free to ask more questions.
Hi

Firstly thanks a lot for considering my question & giving its answer. I am using Open SOlaris 10, X86, ZFS filesystem with RAIDZ1.

I am very new to this amanda as well as solaris. I am an expert of Linux but not solaris, thats why I was facing some problems configuring Amanda on Solaris. It would be great if you can suggest me some tutorials for Solaris Administration also :-))

Regards
Sushant Chawla
Linux Administrator
 
Old 11-19-2009, 07:56 AM   #4
choogendyk
Senior Member
 
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,183

Rep: Reputation: 105Reputation: 105
Check out the documentation sources I posted here http://www.linuxquestions.org/questi...7/#post3567429 and here http://www.linuxquestions.org/questi...8/#post3653740. They're not exactly tutorials (much more in depth than that), but the System Administrator's Collection on docs.sun.com has sections with "tasks" interspersed with the explanatory sections. Those give step by step commands to do specific things.
 
Old 11-20-2009, 01:02 AM   #5
sushantchawla2005
Member
 
Registered: Jun 2009
Location: India
Distribution: All flavours of linux
Posts: 92

Original Poster
Rep: Reputation: 14
Question

Hi

Somehow I have managed to configure my solaris system but now when I run amdump DailySet1 command it throws a mail to me with an error as follows:

Hostname: stolaris
Org : ABCD
Config : DailySet1
Date : November 20, 2009

The next tape Amanda expects to use is: 1 new tape.
The next new tape already labelled is: DailySet1-10.

FAILURE DUMP SUMMARY:
stolaris /etc/ lev 0 FAILED "[no size line match in /usr/sbin/ufsdump output]"


STATISTICS:
Total Full Incr.
-------- -------- --------
Estimate Time (hrs:min) 0:00
Run Time (hrs:min) 0:00
Dump Time (hrs:min) 0:00 0:00 0:00
Output Size (meg) 0.0 0.0 0.0
Original Size (meg) 0.0 0.0 0.0
Avg Compressed Size (%) -- -- --
Filesystems Dumped 0 0 0
Avg Dump Rate (k/s) -- -- --

Tape Time (hrs:min) 0:00 0:00 0:00
Tape Size (meg) 0.0 0.0 0.0
Tape Used (%) 0.0 0.0 0.0
Filesystems Taped 0 0 0

Chunks Taped 0 0 0
Avg Tp Write Rate (k/s) -- -- --


NOTES:
planner: Adding new disk stolaris.kriti.kritikal.in:/etc/.
driver: WARNING: got empty schedule from planner


DUMP SUMMARY:
DUMPER STATS TAPER STATS
HOSTNAME DISK L ORIG-KB OUT-KB COMP% MMM:SS KB/s MMM:SS KB/s
-------------------------- ------------------------------------- -------------
stolaris.kri /etc/ MISSING -------------------------------------------

(brought to you by Amanda version 2.6.1p2)



Please help me as my CTO is dancing on my head for configuring this server very urgently.


Thanks
Sushant Chawla
Linux Administrator
 
Old 11-20-2009, 07:33 AM   #6
choogendyk
Senior Member
 
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,183

Rep: Reputation: 105Reputation: 105
Could you tone down the bold text? It's loud. If you wrap stuff like that in code tags, it's more readable, and that sets it off from the text of your message.

The pertinent thing here is that the ufsdump connection failed. Is that the full content of the email from Amanda? If so, it looks like you are starting out simple, just backing up the server itself. That's good.

I've not seen the particular error you are getting. What does `amcheck DailySet1` say? The troubleshooting guide is here http://wiki.zmanda.com/index.php/Troubleshooting. You could look through the error logs in /tmp/amanda.

hmm. I seem to recall you saying ZFS. But the error you site above says ufsdump. Is it possible you have a ZFS boot drive, and you are trying to dump it with ufsdump? That won't work. If that is the problem, switch to using gnutar for the dumps. That is in /usr/sfw/bin/gtar. If you had your paths set right when you configured Amanda, it should have found that. Otherwise, you may have to go back to reconfigure and rebuild, so that Amanda will get the right version and the right properties of it. Then you would have to change your dumptype that is referenced in your disklist. If this is not the problem, then back to looking at the error logs and the troubleshooting guide.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Opinions about Amanda backup gatsby Linux - Software 3 11-23-2007 11:04 AM
Help me with Amanda Backup in Red Hat!!! nanvil Linux - Software 3 10-05-2007 08:01 PM
backup amanda ldiaz Linux - Networking 2 04-11-2006 05:44 AM
amanda backup problem hueofwind Linux - Newbie 4 11-24-2005 01:05 AM
AMANDA Backup by CD-R shenghong Linux - Software 1 10-10-2005 06:27 PM


All times are GMT -5. The time now is 08:03 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration