Re: amrecover problem with file permissions

2001-12-21 Thread Chris Miller


In regards to the problem I posted on Wednesday, I've determined that the
permissions/modes didn't get set because the restore did not complete
properly, however amanda did not complain. This happened at the point
amrecover was done reading/recovering all records from tape, and ready to
start on the holding disk record. By running amrestore a second time and
using the setmodes command only, all the permissions/modes were restored.

I ran amrecover locally on the tape host to a local disk with the same
results so this doesn't appear to be network related.

I am also missing files. I tried restoring manually with amrestore on the
tape host piped over ssh to restore on the remote host (something I've
done to recover a dead machine with success) but got the same overall
results, but with a new error. I had to do the tape and holding disk
records seperately, and again the permissions/modes were not set at the
end of the restore from tape. When running amrestore on the record on the
holding disk, I received the following error :

extract file ./home/user/filename.txt

gzip: stdin: decompression OK, trailing garbage ignored
extract file ./home/user/filename2.txt
extract file ./home/user/filename3.txt
Changing volumes on pipe input?
abort? [yn] n
Segmentation fault

What I don't understand is why amanda is asking to change volumes when
there was only a single dump record. And what's the gzip error about? I
couldn't find anything in the mail archives on this either.

The command I used was :

ssh  "amrecover -p   
" | /sbin/restore -ivb 2 -f -

I've come to the conclusion that the record written to tape/disk is not
complete. Does anyone have any suggestions for determining what went
wrong? Again I'm using FreeBSD 4.4 RELEASE with amanda 2.4.2 and a DLT
8000 in a Qualstar 20 tape changer. Compression is done via gzip on the
tape host, and hardware compression is shut off on the drive. Everything
has been rock solid for a year and I've recovered a few disks and
individual files/directories just fine in that time. Your help is much
appreciated.

Regards,
Chris

On Wed, 19 Dec 2001, Chris Miller wrote:

> 
> Hello,
>   I recently had to recover an entire disk from backup. Files were
> restored from one tape as well as a dump on the holding disk. Once
> complete, all directory ownership and permissions were set to root and
> 755. All files however were set appropriately. I'm using amanda2.4.2
> server on FreeBSD 4.4 RELEASE (recent O/S upgrade from 4.2 RELEASE, but
> did not upgrade amanda software) and amanda2.4.2 client on BSDi 4.1. I was
> unable to find any similar complaints in the email archives. Any ideas?
> 
> Regards,
> Chris
> 




Re: estimates too big, backup times out

2001-12-21 Thread Paul Lussier


In a message dated: Fri, 21 Dec 2001 10:16:17 EST
Jean-Louis Martineau said:

>It's doing level 1 estimate in case it will go in degraded mode.
>
>Look for 'strategy' in `man amanda`

A, okay.  It looks like I need to use both:

strategy noinc
no-incr yes

in addition to:

dumpcycle 0

Thanks for the pointer, it *appears* to be working.  Of course, now 
that I said that, something else will go wrong :)

Thanks again!
-- 

Seeya,
Paul


  God Bless America!

...we don't need to be perfect to be the best around,
and we never stop trying to be better. 
   Tom Clancy, The Bear and The Dragon





RE: Does Amanda runs on Solaris 8 as a server and/or client??

2001-12-21 Thread Brandon Moro

I have an AMANDA server running on a Sun ULTRA5 with Solaris 8.
It seems to work quite well.

B


-Original Message-
From: Desaulniers, Annie [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 21, 2001 7:31 AM
To: '[EMAIL PROTECTED]'
Subject: Does Amanda runs on Solaris 8 as a server and/or client??


 




Re: Does Amanda runs on Solaris 8 as a server and/or client??

2001-12-21 Thread Eric Doutreleau

On Fri, 21 Dec 2001, Desaulniers, Annie wrote:

>  
> 

Well I m using it with a solaris 8 server and obviously as a client too

Then yes it works :)


-- 
Eric Doutreleau
I.N.T   | Tel   : +33 (0) 160764687
9 rue Charles Fourier   | Fax   : +33 (0) 160764321
91011 Evry   France | email : [EMAIL PROTECTED]




two seagate 4586np's totally different

2001-12-21 Thread Gene Heskett


I've got 2 of the above 4 tape library machines, one here that 
works great, and one at work thats killing me.

I can take the exact same chg-scsi.conf and amanda.conf files to 
work, modifying only the sg# numbers in them because the work 
machine doesn't have a cd writer, so the changer then is sg1 
instead of sg2.  One thing that bothers me is that in 
chg-scsi.conf, I have scsitapedev defined as /dev/sg1, but at 
work it refuses to accept that  when set for /dev/sg0 too.

Immediately (10 seconds or so) after launching a run of amcheck, 
it echos a 'chg-scsi: got exit: 4 3 1 1' line.  It never attempts 
to scan the magazine, nor actually report what tape is in the 
loaded slot, and goes on to report no other errors found.

I could use some hand holding.  These two drives, mine is near 
new, the work site one is about a year older I think, and this 
one loads the magazine, but not the first tape in it, that one 
cannot sit on the SEL SLOT report on its front panel without a 
tape being loaded.  2 different personalities without a doubt.

-- 
Cheers, gene



Does Amanda runs on Solaris 8 as a server and/or client??

2001-12-21 Thread Desaulniers, Annie



 


Re: estimates too big, backup times out

2001-12-21 Thread Jean-Louis Martineau

On Fri, Dec 21, 2001 at 09:31:06AM -0500, Paul Lussier wrote:
> 
> Hi all,
> 
> I have a system which I'm trying to back-up, but it's being stubborn.
> 
> It appears that the amount of data being sent for the estimate is too 
> big.  I have 10 file systems on this system which need to be backed 
> up.  I only back this system up once a week, and therefore only 
> require level 0 dumps to be done.  However, when I watch the .debug
> files, it appears that it's attempting to send estimates for both a 
> level 0 and 1 for each file systems.
> 
> I have 'dumpcycle 0' set for these file systems, is there something 
> else I'm missing which would suppress the estimates for a level 1?

It's doing level 1 estimate in case it will go in degraded mode.

Look for 'strategy' in `man amanda`

Jean-Louis
-- 
Jean-Louis Martineau email: [EMAIL PROTECTED] 
Departement IRO, Universite de Montreal
C.P. 6128, Succ. CENTRE-VILLETel: (514) 343-6111 ext. 3529
Montreal, Canada, H3C 3J7Fax: (514) 343-5834



estimates too big, backup times out

2001-12-21 Thread Paul Lussier


Hi all,

I have a system which I'm trying to back-up, but it's being stubborn.

It appears that the amount of data being sent for the estimate is too 
big.  I have 10 file systems on this system which need to be backed 
up.  I only back this system up once a week, and therefore only 
require level 0 dumps to be done.  However, when I watch the .debug
files, it appears that it's attempting to send estimates for both a 
level 0 and 1 for each file systems.

I have 'dumpcycle 0' set for these file systems, is there something 
else I'm missing which would suppress the estimates for a level 1?

Thanks,


-- 

Seeya,
Paul


  God Bless America!

...we don't need to be perfect to be the best around,
and we never stop trying to be better. 
   Tom Clancy, The Bear and The Dragon





BackupPC 1.03 released (backup to disk for WinXX/Linux using Samba)

2001-12-21 Thread Craig Barratt

BackupPC version 1.03 has been released on SourceForge, see
http://backuppc.sourceforge.net.

BackupPC a high-performance perl-based package for backing up
Linux and WinXX PCs and laptops to a server's disk.  BackupPC is
highly configurable and easy to install and maintain.  It uses
Samba's smbclient to extract files from clients, and uses Samba
on linux clients to serve up shares (no client SW needed for WinXX).

Given the ever decreasing cost of disks and raid systems, it is now
practical and cost effective to backup a large number of machines onto
a server's local disk or network storage.  This is what BackupPC does.
For some sites, this might be the complete backup solution.  For other
sites, additional permanent archives could be created by periodically
backing up the server to tape.  A variety of Open Source systems are
available for doing backup to tape, such as Amanda or afbackup.

Key features are pooling of identical files (big savings in server disk
space), compression, and handling DHCP clients (eg, laptops that are
intermittently connected to the network and whose IP addresses change).
Features are summarized below.

BackupPC is free software distributed under a GNU GPL license.

Enjoy!

Craig Barratt

BackupPC v1.03 features:

   - A clever pooling scheme minimizes disk storage and disk I/O. Identical
 files across multiple backups of the same or different PC are stored
 only once, resulting in substantial savings in disk storage and disk I/O.
   - Optional compression support further reduces disk storage. Since only
 new files (not already pooled) need to be compressed, there is only a
 modest impact on CPU load.
   - One example of disk use: backing up 95 laptops with average 3.6GB each.
 Keeping three weekly full backups, and six daily incrementals (average
 0.3GB) is around 1200GB of raw data. Because of pooling and compression,
 only 150GB is needed.
   - No client-side software is needed on WinXX machines. The standard smb
 protocol is used to extract backup data. On linux clients, the
 industry-standard Samba package is used to provide smb shares
 that are used for backup.
   - A powerful http/cgi user interface allows administrators to view log
 files, configuration, current status and allows users to initiate and
 cancel backups and browse and restore files from backups.
   - Supports mobile environments where laptops are only intermittently
 connected to the network and have dynamic IP addresses (DHCP).
   - Flexible configuration parameters allow multiple backups to be performed
 in parallel, specification of which shares to backup, which directories
 to backup or not backup, various schedules for full and incremental
 backups, schedules for email reminders to users and so on.  Configuration
 parameters can be set system-wide or also on a per-PC basis.
   - Users are sent periodic email reminders if their PC has not recently
 been backed up.  Email content, timing and policies are configurable.
   - Tested on Linux and Solaris hosts, and Linux, Win95, Win98 and
 Win2000 clients.
   - Detailed documentation.
   - Open Source hosted by SourceForge and freely available under GPL.




Mail when done

2001-12-21 Thread James Booker
Title: Mail when done






In the amanda.conf file it has this line:


    mailto "root"   # space separated list of operators at your site


i want to add two email addresses to the list do i modify it like this:


    mailto "root [EMAIL PROTECTED] [EMAIL PROTECTED]" 


or this:


    mailto "root" "[EMAIL PROTECTED]" "[EMAIL PROTECTED]"


Thanks in advance


James Booker





Mail when done

2001-12-21 Thread James Booker
Title: Mail when done





In the amanda.conf file it has this line:


    mailto "root"   # space separated list of operators at your site


i want to add two email addresses to the list do i modify it like this:


    mailto "root [EMAIL PROTECTED] [EMAIL PROTECTED]" 


or this:


    mailto "root" "[EMAIL PROTECTED]" "[EMAIL PROTECTED]"


Thanks in advance


James Booker


EMPICS Sports Photo Agency
Direct Line - +44 (0)115 8447 412
Switchboard - +44 (0)115 8447 447 
Fax - +44 (0)115 8447 448
Email - [EMAIL PROTECTED]


Visit us at http://www.empics.com/