PDA

View Full Version : Amanda 2.5.1p1 Windows client released



paddy
October 25th, 2006, 07:58 PM
Amanda 2.5.1p1 packaged windows client is available for download at Zmanda downloads (http://www.zmanda.com/downloads.html)page.

Please take a look at the documentation for the Windows client (http://wiki.zmanda.com/index.php/Windows_client) package at the Amanda wiki.

If you have questions regarding Windows client, please post them in Amanda forums (http://forums.zmanda.com).

Thanks,
Paddy

KikoAlbiol
October 31st, 2006, 05:10 AM
Seems that there is a mismatch between diferent national windows versions,

In spanish these changes are required

Administrators->Administradores
Backup Operators->Operadores de backup

I don't know if there is a mapping in the register or via system function to know the mapping for the other versions

paddy
October 31st, 2006, 10:46 AM
Hi KikoAlbiol,

We have not tested community client on languages other than English (I should say, US english).

Any help with spanish would be useful. When you changed ownership of files and directories to "Administradores" and "Operadores de backup", did the Windows client work?

Thanks,
Paddy

KikoAlbiol
November 13th, 2006, 04:16 AM
Ok, I tried to create the acounts for Administrator, an Backup Operators, the system lets me to do the changes but the installer does not work...

Could you send me a copy of the script that creates users and passwords to check groups ad users and I'll try to match to Spanish?

KikoAlbiol
November 13th, 2006, 04:29 AM
Please see:

http://www.microsoft.com/technet/scriptcenter/resources/qanda/jul05/hey0722.mspx

BV Scripting

There is a discussion about administrators account. As soon as I can get the information about Backup Operators I'll send you

KikoAlbiol
November 13th, 2006, 04:32 AM
http://support.microsoft.com/kb/243330

paddy
November 13th, 2006, 10:51 AM
Good stuff. Take a look at two files

/var/lib/amanda/postinstall.sh
/var/lib/amanda/manifest

postinstall.sh uses the file manifest to check for ownership and groups. There are two ways to do this

1. We could create different manifest for different languages
2. use chgrp/chown to use security ids instead of user names/group names.

What do you think?

Paddy

KikoAlbiol
November 15th, 2006, 06:37 AM
First I'dont know veri well how installers works so may be my opinion can not be used in this enviroment.

;/var/lib/amanda/postinstall.sh
;/var/lib/amanda/manifest

;postinstall.sh uses the file manifest to check for ownership and groups. There ;are two ways to do this
;1. We could create different manifest for different languages
Now there are a little coupling between postinstall.sh an manifest...

I think postinstall.sh sould include several variables such as:

ADMINISTRATOR="Administrator"
GADMINISTRATOR="Administrators"
,....

You should think that amanda is an enterprise program and in these enviroment these accounts can be changed for security porpouse.

So you can replace the file manifest using sed and 'magic quotes'

/usr/share dir 775 %ADMINISTRATOR% %GADMINISTRATOR%

This shoud solve the problem by having only a small 'variable context' you can select at the begining.

At this point look at the script postinstall.sh and you'll find references to standard groups (Backup Operators)

;2. use chgrp/chown to use security ids instead of user names/group names.
;

Security IDS are also not fixed, The only thing fixed is the pre and post, as you can read from microsoft, and I'don know how to access to this information without using VB ;) (may be this will be the 'final' solution).

In a non VB solution favorite installation script should:

1.- Ask for language (initial gess).
2.- Get then an initial user/group (simple installation)
3.- Ask for changes (advanced instalation)
4.- Finish as you do now

;What do you think?
;
;Paddy

KikoAlbiol
November 15th, 2006, 06:40 AM
First sorry if my opinos goes beyond the scope of an installer, as UNIX guy, I'dont know very well how windows installers works, so may be my opinion can not be used in this enviroment.

;/var/lib/amanda/postinstall.sh
;/var/lib/amanda/manifest

;postinstall.sh uses the file manifest to check for ownership and groups. There ;are two ways to do this
;1. We could create different manifest for different languages

Now for this let me tell you that there is a little coupling between postinstall.sh an manifest... (Backup Operator is refered in postinstall.sh script)

I think postinstall.sh sould include several variables such as:

ADMINISTRATOR="Administrator"
GADMINISTRATOR="Administrators"
,....

You should think that amanda is an enterprise program and in these enviroment these accounts can be changed for security porpouse.

So you can replace the file manifest using sed and 'magic quotes'

/usr/share dir 775 %ADMINISTRATOR% %GADMINISTRATOR%

This shoud solve the problem by having only a small 'variable context' you can select at the begining.

(remind the 'Backup Operator' in bash script)

;2. use chgrp/chown to use security ids instead of user names/group names.
;

Security IDS are also not fixed, The only thing fixed is the pre and post, as you can read from microsoft, and I'don know how to access to this information without using VB ;) (may be this will be the 'final' solution).

In a non VB solution favorite installation script should:

1.- Ask for language (initial gess).
2.- Get then an initial user/group (simple installation)
3.- Ask for changes (advanced instalation)
4.- Finish as you do now

;What do you think?
;
;Paddy

paddy
November 15th, 2006, 05:26 PM
Hi KikoAlbiol,

If I make the following changes

Administrator -> Administradores
Backup Operators->Operadores de backup

and build Windows client for testing, will you be able to try it with Windows spanish version?

Thanks,
Paddy

KikoAlbiol
November 16th, 2006, 01:41 AM
Of course I send you the full list of changes

English->Spanish
==[[Users]]==============
Administrator -> Administrador

==[[Groups]]=============
Administrators->Administradores
Backup Operators -> Operadores de copia

Let me spend at least one night to check everything works fine

I think you can send directly to my EMAIL

paddy
November 17th, 2006, 02:07 PM
Thanks, Kiko.

I have rebuilt Amanda windows client 2.5.1p2. It is available in
the Zmanda community builds (http://www.zmanda.com/community-builds.php) page for testing.

Please send test results to me or post it on the forums.

Paddy

KikoAlbiol
November 21st, 2006, 04:46 AM
Ok, the installer finish with the following errors:

This machine was used as test from the English version, I'll try to run the program in a clean machines


Adding amandaroot to "Operadores de copia" group
Se ha completado el comando correctamente.

Creating /etc/amandates file.
Creating /etc/amanda/DailySet1 directory.
Creating /etc/amanda/amanda-client.conf file.
Updating /etc/amanda/amanda-client.conf with DailySet1 bsdtcp server.sertecnet.esp server.sertecnet.esp
Backing up /etc/amanda/amanda-client.conf to /etc/amanda/original_config//etc/am
anda/amanda-client.conf
Processing /etc/amanda/amanda-client.conf
Update of /etc/amanda/amanda-client.conf complete
Update .amandahosts
Creating /var/lib/amanda/.amandahosts
Setup Amanda network services
Updating /etc/services
Processing /etc/services
Update of /etc/services complete
Service xinetd is not running
Service inetd is not running
Setting up to use inetd.
Updating /etc/inetd.conf
Backing up /etc/inetd.conf to /etc/amanda/original_config//etc/inetd.conf
Processing /etc/inetd.conf
Update complete
Service inetd is available
Service inetd is not running
Starting inetd service
cygrunsrv: Error starting a service: StartService: Win32 error 3:
El sistema no puede hallar la ruta especificada.

Service inetd is not running
Service inetd failed to start
Setting file permissions..................chown: changing ownership of `/var/lib
/amanda/setup_logo.jpg': Permission denied
.chown: changing ownership of `/var/lib/amanda/restore.ico': Permission denied
.chown: changing ownership of `/var/lib/amanda/postinstall.sh': Permission denie
d
.chown: changing ownership of `/var/lib/amanda/uninstall.sh': Permission denied
.chown: changing ownership of `/var/lib/amanda/manifest': Permission denied
.chown: changing ownership of `/var/lib/amanda/gnutar-lists': Permission denied
.chown: changing ownership of `/var/lib/amanda/amsh': Permission denied
.chown: changing ownership of `/var/lib/amanda/amkeyswap': Permission denied
.chown: changing ownership of `/var/lib/amanda/Zmanda_logo.jpg': Permission deni
ed
.chown: changing ownership of `/var/lib/amanda/.bashrc': Permission denied
.chown: changing ownership of `/var/lib/amanda/.amrecoverrc': Permission denied
.chown: changing ownership of `/var/lib/amanda/.amoldrecoverrc': Permission deni
ed
.chown: changing ownership of `/var/lib/amanda/.amandahosts': Permission denied
.chown: changing ownership of `/var/lib/amanda': Permission denied
.......chown: changing ownership of `/usr/sbin/amrecover.exe': Permission denied

.chown: changing ownership of `/usr/sbin/amoldrecover.exe': Permission denied
..........................chown: changing ownership of `/usr/lib/libamclient.la'
: Permission denied
.chown: changing ownership of `/usr/lib/libamclient.a': Permission denied
.chown: changing ownership of `/usr/lib/libamandad.la': Permission denied
.chown: changing ownership of `/usr/lib/libamandad.a': Permission denied
.chown: changing ownership of `/usr/lib/libamanda.la': Permission denied
.chown: changing ownership of `/usr/lib/libamanda.a': Permission denied
.chown: changing ownership of `/usr/lib/amanda/versionsuffix.exe': Permission de
nied
.chown: changing ownership of `/usr/lib/amanda/sendsize.exe': Permission denied
.chown: changing ownership of `/usr/lib/amanda/sendbackup.exe': Permission denie
d
.chown: changing ownership of `/usr/lib/amanda/selfcheck.exe': Permission denied

.chown: changing ownership of `/usr/lib/amanda/runtar.exe': Permission denied
.chown: changing ownership of `/usr/lib/amanda/rundump.exe': Permission denied
.chown: changing ownership of `/usr/lib/amanda/noop.exe': Permission denied
.chown: changing ownership of `/usr/lib/amanda/killpgrp.exe': Permission denied
.chown: changing ownership of `/usr/lib/amanda/calcsize.exe': Permission denied
.chown: changing ownership of `/usr/lib/amanda/amandad.exe': Permission denied
.chown: changing ownership of `/usr/lib/amanda': Permission denied
..chown: changing ownership of `/usr/dumper/gnutar': Permission denied
.chown: changing ownership of `/usr/dumper/generic-dumper': Permission denied
...chown: changing ownership of `/tmp/amanda/client': Permission denied
.chown: changing ownership of `/tmp/amanda/amandad': Permission denied
.chown: changing ownership of `/tmp/amanda': Permission denied
.chgrp: invalid group `Users'
............chown: changing ownership of `/etc/amanda/amanda-client.conf': Permi
ssion denied
.chown: changing ownership of `/etc/amanda/DailySet1/amanda-client.conf': Permis
sion denied
.chown: changing ownership of `/etc/amanda/DailySet1': Permission denied
.chown: changing ownership of `/etc/amanda': Permission denied
.................................................. ..............................
...........................

Press return to continue:

KikoAlbiol
November 21st, 2006, 05:01 AM
Works fine except:
.chgrp: invalid group `Users' The spanish name of the group is Usuarios

paddy
November 21st, 2006, 10:48 AM
Thanks for the test results. I will create another version today with the fix.

Paddy

paddy
November 22nd, 2006, 01:22 PM
Thanks, Kiko.

I have rebuilt Amanda windows client 2.5.1p2 with fix for Users.
It is available in the Zmanda community builds (http://www.zmanda.com/community-builds.php) page for testing.

In your command output, there were lot of "permission denied" issues. Did
this get resolved or is this a problem?

Please send test results to me or post it on the forums.

Paddy

KikoAlbiol
December 1st, 2006, 06:38 AM
I've been our for a week, I'll try to test the software next week...

Cheers....

mohit gupta
December 18th, 2006, 03:55 AM
Amanda 2.5.1p1 packaged windows client is available for download at Zmanda downloads (http://www.zmanda.com/downloads.html)page.

Please take a look at the documentation for the Windows client (http://wiki.zmanda.com/index.php/Windows_client) package at the Amanda wiki.

If you have questions regarding Windows client, please post them in Amanda forums (http://forums.zmanda.com).

Thanks,
Paddy
Sir, I've downloaded the zmanda for windows-xp/2003 from the above link, but its installer is not working properly and prompts error at the end of installation. Pls suggest another one.

Sir, is there need of installation of zmanda server on windows before running windows client??

Thanks.

ktill
December 18th, 2006, 09:11 AM
Hi,

Make sure you have the latest windows amanda client, it should be AmandaBackupClient-2-5-1p2.msi which was released on Oct 25, 2006.

--Kevin Till

paddy
December 18th, 2006, 11:27 AM
Hi Mohit,

Can you please post a screenshot or the error message? You are using the correct
location for images.

Thanks,
Paddy

paddy
February 2nd, 2007, 04:13 PM
I've been our for a week, I'll try to test the software next week...

Cheers....

Please try the Amanda 2.5.1p2 windows client in the Amanda community builds page.
(http://www.zmanda.com/community-builds.php)

This version allows users to enter localized equivalents of "Backup Operator", "Administrators", "Administrator" and "Users" during installation.

Please let us know how it works.

Thanks,
Paddy