Out Of Office (IDEWE)
I will be out of the office starting 10/21/2008 and will not return until 10/22/2008. I will respond to your message when I return. For urgent matters, you may contact the PeopleWare head office. (+32 3 448 33 38) In case of a REAL emergency, I will ALWAYS be available.
Re: Backing up VMware-VMs
There is a (moderately good) howto by me and an excellent one by Paul Bijnens at this location : http://www.amanda.org/docs/howto-wrapper.html I use it to shut down Lotus Domino and Oracle databases. Bert Stefan G. Weichinger [EMAIL PROTECTED] 02/14/08 07:13 PM Please respond to [EMAIL PROTECTED] To Amanda user's group amanda-users@amanda.org cc Subject Backing up VMware-VMs Greets to all of you, just before I try to reinvent the wheel: For a client I have to dump VMware-VMs with amanda, they should be shut down by a wrapper script (using vmware-cmd), dumped and restarted, one VM after the other. I can imagine the solution already, shouldn't be too hard, but I am curious if someone here is already successfully doing this, and if he or she might want to share knowledge or even the script itself ;) Thanks in advance, Stefan
Re: Hi guys! [Scanned by ClamAV]
This is a working example : disklist : goscinny //tweety/notesdata$ server-compress goscinny being the backuphost //tweety/notesdata the windows server + sharename (note the $ for a hidden share) server-compress is the dumptype /etc/amandapass //tweety/notesdata$ user%passwd user and passwd should be obvious ;-) Hope that helps Bert Met vriendelijke groeten, Bert De Ridder PeopleWare NV Duwijckstraat 17 B-2500 Lier Tel: +32 3 448.33.38 Fax: +32 3 448.32.66 Mario Silva Borrego [EMAIL PROTECTED] 17/01/2008 00:46 Please respond to [EMAIL PROTECTED] To amanda List amanda-users@amanda.org cc Subject Hi guys! [Scanned by ClamAV] Hey guys: Hope you are fine. I have my amanda server working very nice. But now I have the need to run some backups in windows Can someone send some examples how to setup the disklist file please Because I tryed and I could not do it work So I will really appreciate your help mario -- Mario Silva Borrego Systems Administrator Supreme Court of New Mexico Judicial Information Division 2905 Rodeo Park Dr. East, Bldg. #5 Santa Fe, NM 87505 Phone: (505) 476-6959 / Mobil: (505) 660-1026 Fax:(505) 476-6952 Website: http://www.nmcourts.gov mailto: [EMAIL PROTECTED] LEGAL DISCLAIMER: The content of this data transmission is not considered as an offer, proposal, understanding, or agreement unless it is confirmed in a document signed by a legal representative of Supreme Court of the State of New Mexico or the Judicial Information Division. The content of this data transmission is confidential and it is intended to be delivered only to the addresses, therefore, it shall not be distributed and/or disclosed through any mean without the original sender's previous authorization. If you are not the addressee you are forbidden to use it, either totally or partially, for any purpose. AVISO LEGAL: El contenido de este mensaje de datos no se considera oferta, propuesta o acuerdo, sino hasta que sea confirmado en documento por escrito que contenga la firma autógrafa del apoderado legal de La Suprema Corte del Estado de Nuevo Mexico o de la Division de Informatica del Estado. El contenido de este mensaje de datos es confidencial y se entiende dirigido y para uso exclusivo del destinatario, por lo que no podrá distribuirse y/o difundirse por ningún medio sin la previa autorización del emisor original. Si usted no es el destinatario, se le prohíbe su utilización total o parcial para cualquier fin. mario.silva.vcf Description: Binary data
2.4 vs 2.5
Hi all, Recently I tried to add a host to our backup system. The client was running amanda 2.5, the server 2.4 After a few tries I gave up and installed 2.4 on the client as well (problems with the authentication) I understand that it's best that I also upgrade the server to 2.5 before I do the clients. I have no problem with that, but I do have a few questions: Are there any issues I should be aware of ? Can I re-use the configuration files ? Can the clients be upgraded after the server or should it all be done simultaneously ? Can anyone shed some light on these matters ? Bert
Windows clients
I have read in the documentation that Amanda uses smbclient to connect to windows hosts. I am going to install (well, if all goes well, that is ;-) ) Amanda on an Open Suse 10.2 the day after tomorrow; I know Novell have dropped smb support from the kernel. Does anyone know whether there are any pitfalls if SMB support is not compiled in in the Linux kernel as far as Amanda is concerned ? TIA Bert
Re: PATH when using a wrapper
The path should be the one of the user executing the script. Kind regards Bert De Ridder PeopleWare NV - Head Office Cdt.Weynsstraat 85 B-2660 Hoboken Tel: +32 3 448.33.38 Fax: +32 3 448.32.66 PeopleWare NV - Branch Office Geel Kleinhoefstraat 5 B-2440 Geel Tel: +32 14 57.00.90 Fax: +32 14 58.13.25 http://www.peopleware.be http://www.mobileware.be Olivier Nicole [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 29/05/2006 09:18 To amanda-users@amanda.org cc Subject PATH when using a wrapper Hi, I have been struggling with setting up a wrapper (inspired by http://www.amanda.org/docs/howto-wrapper.html) to stop a Zope web site before dumping it. Restarting would always cause a problem. I tracked it down to what I think is the reason. When Amanda calll GNU tar or the wrapper script, the PATH is set to be empty. Am I right? This is mentionned nowhere in the howto page and that seems to be solved when I force a PATH in my script. If that is the case, that should be mentionned in the howto page. Best regards, Olivier
Re: asking for real-life examples of Amanda implementations for upcoming book
--- Name of your organization (optional, but highly desirable). If you can't tell the name of your employer, maybe you can tell what kind of organization that is, e.g. university, manufacturing company, financial services, government, etc PeopleWare NV - Belgium Tailor made software; consultancy Any interesting Amanda stories you can tell. For how long have you been using Amanda? (I especially look for examples where people used Amanda for more than a year in production) 4+ years What is your current version of Amanda? 2.4.4p4 What OS do you use for Amanda server? SuSE Linux 9.x and 10.0 How many Amanda servers do you have? One How many Amanda clients per server do you have? (I especially look for examples with 10+ clients) 9 What operating systems do you backup? SuSE Linux, MacOSx, Windows What is total amount of data you backup? 35GB Do you use dump or tar and why? tar possibility to exclude and use subdir's How often do you do full backups? Daily :-) I am very interested in examples of tape-free implementations of Amanda, where backups are done only to disk. How large is your holding disk? 20GB. How often do you restore files? (on average and what are thy typical scenarios) Weekly, mostly due to accidental deletion on Samba shares; source code is kept in CVS. Do you use compression and where (hardware, client or server)? server (for Windows machines) and client Do you use encryption and which one? No How do you backup Windows? (if you have any) Amanda - SMBClient
Re: Exclude list and tar on SUSE OES.
You did put the exclude file on the client, didn't you ? http://www.amanda.org/docs/exclude.html#id2533384 Regards, Bert De Ridder PeopleWare NV - Head Office Cdt.Weynsstraat 85 B-2660 Hoboken Tel: +32 3 448.33.38 Fax: +32 3 448.32.66 PeopleWare NV - Branch Office Geel Kleinhoefstraat 5 B-2440 Geel Tel: +32 14 57.00.90 Fax: +32 14 58.13.25 http://www.peopleware.be http://www.mobileware.be Owen Williams [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 19/10/2005 12:21 To amanda-users@amanda.org cc Subject Exclude list and tar on SUSE OES. Hello, I've been struggling with this for a while. I have this defined in lots of places now: exclude list /usr/local/amanda/exclude.conf e.g. define dumptype root-tar { global program GNUTAR comment root partitions dumped with tar compress none index exclude list /usr/local/amanda/exclude.conf priority low } but it doesn't create the right command : /bin/tar --create --file /dev/null --directory / --one-file-system --listed-incremental /var/lib/amanda/gnutar-lists/localhost__0.new --sparse --ignore-failed-read --totals . at the client. Help? Thanks, Owen.
I am enjoying my holidays
I will be out of the office starting 16/09/2005 and will not return until 03/10/2005. I will respond to your message when I return. For urgent matters, you may contact the PeopleWare head office.
Re: How smart is AMANDA
Hi, Chris You could use a script that 'replaces' tar on the client and that checks to see if a job is still running, if there is, it waits with the tar command. I don't have the document describing the procedure with me right now, but I use this kind of scripts to shut down databases and/or other services on clients before I send the data. I have send the document to Stefan Weichinger for the Amanda documentation I'm sure he will send you a copy if he reads this :-) Regards, Bert De Ridder PeopleWare NV - Head Office Cdt.Weynsstraat 85 B-2660 Hoboken Tel: +32 3 448.33.38 Fax: +32 3 448.32.66 PeopleWare NV - Branch Office Geel Kleinhoefstraat 5 B-2440 Geel Tel: +32 14 57.00.90 Fax: +32 14 58.13.25 http://www.peopleware.be http://www.mobileware.be u r lame if u insist on trying 2 b l337 by abbrev evythng u type when asking ppl 4 hlp. kiddie speak is teh sux. ppl. plz stop teh kiddie speak. thx. hint: aol kiddie speak is not cool, it just makes people not want to read your post. Chris Saunders [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 13/07/2005 00:18 To amanda-users@amanda.org cc Subject How smart is AMANDA I am in search of a backup solution for 25 linux boxes and 10 WinXP boxes spread out in 3 different cities. Amanda seems quite capable of handling straight forward backups, however my situation is a bit difficult. I will be the only one doing these backups and I would like the process to be as automated as possible. Our linux boxes run traffic simulation models that can take 25 to 30 hours to run. Our engineers relentlessly run these boxes almost non-stop. Our simulations are extremly heavy on the I/O, so running a backup while a simulation is running is out of the question. And since these simulations take so long to run, telling my engineers they cannot use the machine over the weekend because of a scheduled backup would not work at all. So I need a smart backup plan that can adjust to different schedules based on machine avaliability, but at the end of the week have a dump of each machine. Any ideas? Is there a way for AMANDA to determine if a machine is busy or idle and do the backup only when it is idle? On the same token can it pause its backup of that box if another simulation is started. Would I have any issues dumping to disk or NAS? Thanks for the help! Chris Saunders PBConsult
Re: Hostname lookup failed
I have had the same problem once, one of the machines that I back up sometimes wasn't found; I always thought it was some kind of time out problem since everything else worked (ping, dig). I ended up adding the machine in the backup server's /etc/hosts file. That should of course only be done if the ip address is fixed. HTH Bert De Ridder PeopleWare NV - Head Office Cdt.Weynsstraat 85 B-2660 Hoboken Tel: +32 3 448.33.38 Fax: +32 3 448.32.66 PeopleWare NV - Branch Office Geel Kleinhoefstraat 5 B-2440 Geel Tel: +32 14 57.00.90 Fax: +32 14 58.13.25 http://www.peopleware.be http://www.mobileware.be Dominique Arpin [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 04/07/2005 18:18 To Montagni, Giovanni [EMAIL PROTECTED] cc amanda-users@amanda.org Subject Re: Hostname lookup failed Hi to all, I have a problem with amanda. In december i've set-up amanda to backup the same machine that have the tape drive. Everything worked fine but today amcheck give me this error: Amanda Tape Server Host Check - NOTE: skipping tape-writable test Tape bkimmob01 label ok WARNING: tapecycle (20) = runspercycle (20). Server check took 0.275 seconds Amanda Backup Client Hosts Check ERROR: auriga: [addr 172.30.2.195: hostname lookup failed] Client check: 1 host checked in 0.007 seconds, 1 problem found Verify if you have a reverse DNS for this IP. You can test the reverse DNS with : dig -x 172.30.2.195 (brought to you by Amanda 2.4.4p4) As you can see, the machine can resolve its hostname: [EMAIL PROTECTED] local]# ping auriga PING auriga.manord.com (172.30.2.195) 56(84) bytes of data. 64 bytes from 172.30.2.195: icmp_seq=0 ttl=64 time=0.043 ms 64 bytes from 172.30.2.195: icmp_seq=1 ttl=64 time=0.058 ms --- auriga.manord.com ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 999ms rtt min/avg/max/mdev = 0.043/0.050/0.058/0.010 ms, pipe 2 -- [EMAIL PROTECTED] local]# nslookup auriga Server: 172.30.2.128 Address:172.30.2.128#53 Name: auriga.manord.com Address: 172.30.2.195 -- i've tried to shutdown firewall, or restart xinetd, but nothing have changed. any help would be appreciated, Giovanni p.s. sorry for bad english. -- Dominique Arpin___[ Espace administrateur réseau Courbe ] A+,Linux+,Server+,MCP http://www.espacecourbe.com/ téléphone 514.933.9861 télécopieur 514.933.9546
Re: R: LTO-2 - Tape Type
Is this a request Send me your tape-types everyone ? Bert Stefan G. Weichinger [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 29/06/2005 12:21 Please respond to [EMAIL PROTECTED] To amanda-users amanda-users@amanda.org cc Subject Re: R: LTO-2 - Tape Type Paul Bijnens wrote: Tom Brown wrote: Yes i know - but rather than wait all that time i wondered if anyone allready had one to hand. It takes about 4-7 hours, assuming you give a good '-e XXXg' value to amtapetype. And about 1-2 minutes to post the result to amanda-users, for others to find ;) Maybe someone is motivated to grep for all those tapetypes out there and collect them all in one big tapetype-list? As I am thinking about splitting the tapetypes off from amanda.conf it might me a good chance to start building a new collection ... -- Stefan G. Weichinger AMANDA core team member mailto://[EMAIL PROTECTED] -- oops! linux consulting implementation http://www.oops.co.at --
Re: amcheck but I am running as amanda user
Looks like some type-o to me ERROR: server.domain.co.uk: [access as amanda not allowed from i read domain [EMAIL PROTECTED] open of /home/amanda/.amandahosts failed i read doman Try to correct this error first Bert Hi I have run the rpm's which creates a Amanda user in the /etc/passed file but does not create a /home dir but creates /var/lib/amanda/.amandahosts file instead. Please confrim list if I am also to have a /home/amanda directory. Cheers On Wed, 2005-05-18 at 12:11 -0500, Frank Smith wrote: --On Wednesday, May 18, 2005 17:50:24 +0100 Chuck Amadi Systems Administrator [EMAIL PROTECTED] wrote: Holding disk /dumps/amanda: 137194148 KB disk space available, that's plenty ERROR: cannot overwrite active tape DailySet101 (expecting a new tape) NOTE: skipping tape-writable test NOTE: info dir /var/lib/amanda/DailySet1/curinfo: does not exist NOTE: it will be created on the next run NOTE: index dir /var/lib/amanda/DailySet1/index: does not exist Server check took 0.012 seconds Amanda Backup Client Hosts Check ERROR: server.domain.co.uk: [access as amanda not allowed from [EMAIL PROTECTED] open of /home/amanda/.amandahosts failed Looks like your amanda user doesn't have read permissions on /home/amanda/.amandahosts (or it doesn't exist, or the amanda user doesn't have execute permissions on the upper level directories (/home and/or /home/amanda). Frank Client check: 1 host checked in 0.012 seconds, 1 problem found (brought to you by Amanda 2.4.4p2) Hey something different but I am running amcheck as amanda user su amanda -c /usr/sbin/amcheck DailySet1
Re: Pre/Post backup scripts on clients ?
Amanda Control other processes - Mini How-To This is a mini-howto explaining how to control other running tasks on a server where the amanda software is used to backup data. Problem : Lots of software is picky about their datafiles being backed up while the files are in use. It sometimes is even necessary to know the state of the datafiles at the moment of backup so that when restoring you know exactly *what* you are restoring. And most of the time there are dependencies between the datafiles as well (for instance, the pure datafiles and the controlfiles of an Oracle database.) The solution is actually quite simple; you just use a custom made backupscript in stead of the standard tar command. Inside this tar command, you do some necessary processing before executing the tar command and if necessary do some more processing. This way, you can easily stop an Oracle database, tar the files, send them to the tape server and restart the Oracle database. This of course is just an example, anything you can do in a shell script can be done. Step 1 : Create the script This is the most important step, this script is the work horse of the solution. I've called it /bin/amandatar. You can call it whatever you want though. It's a Perl script, it may not be very pretty code, but it does the job. In the script, an example is given for the backup of a Lotus Notes Domino server. #!/usr/bin/perl # Tar wrapper for Amanda's tar. # use Getopt::Long qw(:config pass_through); # Obtain directory and file information from the command line. $result = GetOptions ( 'directory=s' = \$dir, 'file=s' = \$file ); # Check whether Amanda wants to do some administrative task (eg. indexinfo # or obtain the number of bytes to be backed up) # if file = /dev/null it's an administrative task and most of the time, no extra # processing is necessary. # What you see here is just a log of the backup start time, and more important # the stopping of the domino server if ( $file ne '/dev/null' ) { if ( $dir eq '/local/notesdata' ) { system echo 'Start backup notes at ' /var/lib/amanda/runtime ; system date /var/lib/amanda/runtime; system ( /etc/init.d/domino stop /var/lib/amanda/runtime ); } } # The command line is being 'reconstructed'. Necessary because the GetOptions # call above has stripped the file and directory information. # This is what I meant with 'ugly' code ;-) while ( $ARGV[0] ne '' ) { $val = $ARGV[0] ; unshift ( @NEWARGV, $val, ) ; shift @ARGV; } while ( $NEWARGV[0] ne '' ) { $val = $NEWARGV[0] ; unshift ( @ARGV, $val ) ; shift @NEWARGV; } if ( $dir ne '' ) { unshift ( @ARGV, '--directory', $dir ); } if ( $file ne '' ) { unshift ( @ARGV, '--file', $file ); } if ( $file ne '/dev/null' ) { system echo 'Backing up directory ' $dir /var/lib/amanda/runtime ; } # And finally make sure tar is called :-) # (path may differ on your installation) unshift ( @ARGV , /bin/tar ) ; system ( @ARGV ) ; # Postprocessing # # If Notes backup was requested, restart the server. # Log the backup end time. # if ( $file ne '/dev/null' ) { if ( $dir eq '/local/notesdata' ) { system ( /etc/init.d/domino start /var/lib/amanda/runtime ); system echo 'End backup notes at ' /var/lib/amanda/runtime ; system date /var/lib/amanda/runtime; } } exit 0; # End script On some systems it may be necessary to setuid root the script. Step 2 : Rebuild Amanda so that it uses your newly created script. Download the sources, untar them to a directory. I'm sure there are lots of documents already available on how to do this, so I won't go in to too much detail. fast path : /usr/local/src # tar -xvzf amanda-source.tar.gz /usr/local/src # cd amanda-version /usr/local/src/amanda-version # ./configure \ --with-user=amanda \ --prefix=/usr/local \ --exec-prefix=/usr \ --bindir=/usr/bin \ --sbindir=/usr/sbin \ --libexecdir=/usr/lib/amanda \ --with-configdir=/etc/amanda \ --with-group=disk \ --with-gnutar=/bin/amandatar \ --with-gnutar-listdir=/var/lib/amanda/gnutar-lists \ --with-tmpdir=/tmp/amanda \ --with-smbclient=/usr/bin/smbclient \ --mandir=/usr/local/man Here, it may be necessary to adjust some paths to match your installation. This setup works on SuSE Linux (also SLES) and MacOSX although you may have to use another binary tar. As you see, you can also 'replace' the smbclient if necessary. I haven't yet tested it though. I'll leave it as an exercise for the reader g /usr/local/src/amanda-version # make /usr/local/src/amanda-version # make instal Now proceed as with a 'normal' installation. Kind regards, Bert De Ridder PeopleWare NV - Head Office Cdt.Weynsstraat 85 B-2660 Hoboken Tel: +32 3 448.33.38 Fax: +32 3 448.32.66 PeopleWare NV - Branch Office Geel
Re: running commands on client [Scanned by ClamAV]
This is a short howto : many thanks to Paul Bijnens (also on this list), he is the one that put me on the right track in implementing this solution. HTH Bert De Ridder PeopleWare NV - Head Office Cdt.Weynsstraat 85 B-2660 Hoboken Tel: +32 3 448.33.38 Fax: +32 3 448.32.66 PeopleWare NV - Branch Office Geel Kleinhoefstraat 5 B-2440 Geel Tel: +32 14 57.00.90 Fax: +32 14 58.13.25 http://www.peopleware.be http://www.mobileware.be |-+---| | Mike [EMAIL PROTECTED]| | | | | | Sent by: | To| | [EMAIL PROTECTED]| a| | org | m| | | a| | 04/15/2005 09:23 PM | n| | | d| | | a| | | -| | | u| | | s| | | e| | | r| | | s| | | @| | | a| | | m| | | a| | | n| | | d| | | a| | | .| | | o| | | r| | | g| | | cc| | | | | |Subject| | | r| | | u| | | n| | | n| | | i| | | n| | | g| | | c| | | o| | | m| | | m| | | a| | | n| | | d| | | s| | | o| | | n| | | c| | | l| | | i| | | e| | | n| | | t| | | | | | | | | | | | | | | | | | | |-+---|
localhost amandad busy
Not a question, just something I encountered today; I had a disklist containing some local directories and some nt server's directories; something like this : # Local directory goscinny /home server-compress-low goscinny /root server-compress goscinny /var server-compress some more # NT-machine localhost //CMS/CMS server-compress-low localhost //CMS/wwwroot server-compress-low localhost //CMS/IIS_NR server-compress-low When doing an amcheck, I got this error : WARNING: Usage of fully qualified hostname recommended for Client localhost. WARNING: Usage of fully qualified hostname recommended for Client localhost. ERROR: NAK localhost: amandad busy Client check: 3 hosts checked in 20.062 seconds, 1 problem found I should also mention that xinetd was being used on site, not inetd. Googling around didn't solve too much, some suggestions about changing the amanda configuration in xinetd.d directory. But all to no avail. Simple solution : do what Amanda asks you to do : don't use localhost :-) So, after changing the localhost for smb-shares to goscinny; the problem went away. Regards, Bert De Ridder PeopleWare NV - Head Office Cdt.Weynsstraat 85 B-2660 Hoboken Tel: +32 3 448.33.38 Fax: +32 3 448.32.66 PeopleWare NV - Branch Office Geel Kleinhoefstraat 5 B-2440 Geel Tel: +32 14 57.00.90 Fax: +32 14 58.13.25 http://www.peopleware.be http://www.mobileware.be
Re: backup Oracle DB at AMANDA server
Build amanda with this parameter : --with-gnutar=/bin/amandatar In this /bin/amandatar you can do something like this : ( I know this perl code is probably awful coding, but it works) #!/usr/bin/perl use Getopt::Long qw(:config pass_through); $result = GetOptions ( 'directory=s' = \$dir, 'file=s' = \$file ); if ( $file ne '/dev/null' ) { if ( $dir eq '/your/oracle/dir' ) { system echo 'Start backup oracle at ' /var/lib/amanda/runtime ; system date /var/lib/amanda/runtime; system ( command to stop oracle /var/lib/amanda/runtime ); } } # reconstruct command line while ( $ARGV[0] ne '' ) { $val = $ARGV[0] ; unshift ( @NEWARGV, $val, ) ; shift @ARGV; } while ( $NEWARGV[0] ne '' ) { $val = $NEWARGV[0] ; unshift ( @ARGV, $val ) ; shift @NEWARGV; } if ( $dir ne '' ) { unshift ( @ARGV, '--directory', $dir ); } if ( $file ne '' ) { unshift ( @ARGV, '--file', $file ); } if ( $file ne '/dev/null' ) { system echo 'Backing up directory ' $dir /var/lib/amanda/runtime ; } unshift ( @ARGV , /bin/tar ) ; system ( @ARGV ) ; # postprocessing # if ( $file ne '/dev/null' ) { if ( $dir eq '/your/oracle/dir' ) { system ( command to start oracle /var/lib/amanda/runtime ); system echo 'End backup oracle at ' /var/lib/amanda/runtime ; system date /var/lib/amanda/runtime; } } exit 0; I don't even take credit for this solution; all credits should go to Paul Bijnens - also on this list. (alles kits, Paul ? ;-) ) Kind regards, Bert De Ridder PeopleWare NV - Head Office Cdt.Weynsstraat 85 B-2660 Hoboken Tel: +32 3 448.33.38 Fax: +32 3 448.32.66 PeopleWare NV - Branch Office Geel Kleinhoefstraat 5 B-2440 Geel Tel: +32 14 57.00.90 Fax: +32 14 58.13.25 http://www.peopleware.be http://www.mobileware.be Jack$on [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 04/03/2005 13:27 Please respond to Jack$on [EMAIL PROTECTED] To amanda-users@amanda.org cc Subject backup Oracle DB at AMANDA server Hello amanda-users, I have configured AMANDA Server, my daily weekly backups from my servers working successful... but I wonna backup My Oracle Database by The AMANDA. previously, i must do export of DB, or stop Oracle Database... only after this i may backup my Database files, or export files... but how i can synchronize my export procedure amanda backup? PS I'm sorry for my bad English... -- Best regards, Jack$on mailto:[EMAIL PROTECTED]
Re: Some questions about Amanda's emailing of backup reports
1) In your amanda.conf, have a line like this : mailto [EMAIL PROTECTED] 2) amreport has a -f switch that takes as an argument a filename, that's where the report will be saved to; I believe it's an OR situation : or you get a mail, or the report gets saved to a file In the job that runs amanda, you could have this amreport -f ; then you'll get them both. Kind regards, Bert De Ridder PeopleWare NV - Head Office Cdt.Weynsstraat 85 B-2660 Hoboken Tel: +32 3 448.33.38 Fax: +32 3 448.32.66 PeopleWare NV - Branch Office Geel Kleinhoefstraat 5 B-2440 Geel Tel: +32 14 57.00.90 Fax: +32 14 58.13.25 http://www.peopleware.be http://www.mobileware.be Matt Emmott [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 03/03/2005 17:20 Please respond to Matt Emmott [EMAIL PROTECTED] To amanda-users@amanda.org cc Subject Some questions about Amanda's emailing of backup reports Hi all, I can't find any documentation on this, but if I'm just missing something, please point me in the right direction, and I'm sorry for wasting everyone's time. 2 questions: First, where can I specify who amanda sends emails to, and who they appear to be from? After a backup it emails [EMAIL PROTECTED], and I'd like to change this. Second, is there a way to have Amanda log its reports to a file instead of (or in addition to) emailing them? Thanks!
Re: Windows client to use?
If I understand your question correctly, you are looking for smbclient; which is being called by Amanda in case of backing up an smb server (your windowsserver) smbclient is part of the Samba suite. In your amanda disklist you would have sth. like this : localhost //WindowsServerName/WindowShareName server-compress in your /etc/amandapass there would be an entry like this : //WindowServerName/WindowsShareName domainuserwithaccess%passwordforthisuser HTH Bert turgut kalfaoglu [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 02/24/2005 11:07 AM To amanda-users@amanda.org cc Subject Windows client to use? Hello! We have our amanda server running on Linux, we use large disks as backup medium and it works great.. However, I am not sure which windows client to use for our Windows 2000 server machine.. Can anyone point me to which client I should use? Regards, -turgut -- Turgut Kalfaoglu Manager,EgeNet Internet Services http://www.egenet.com.tr
Re: install amanda on macosx-server
You'll have to configure it using the --without-server directive Probably best to use hfstar in stead of tar too ( http://www.metaobject.com/Products.html#hfstar ) to backup resource forks. (configure using --with-gnutar=/path/to/hfstar ) hth Bert De Ridder PeopleWare NV - Head Office Cdt.Weynsstraat 85 B-2660 Hoboken Tel: +32 3 448.33.38 Fax: +32 3 448.32.66 PeopleWare NV - Branch Office Geel Kleinhoefstraat 5 B-2440 Geel Tel: +32 14 57.00.90 Fax: +32 14 58.13.25 http://www.peopleware.be http://www.mobileware.be josh [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 28/07/2004 05:35 To [EMAIL PROTECTED] cc Subject install amanda on macosx-server I have a new mac G5 Xserve and have been told that Amanda will work just find as a back up. I am already running Amanda (2.4.2) with an old Linux machine serving as a tape host. I haven't found any instructions or accounts on installing Amanda on OSX machines. ( I suspect this is simply because the terms Mac OS X server wind up matching to much indvidually, but nothing as a string - making it hard for me to find previous related posts.) Can a kind soul point me in the right direction? Will I be able to compile the 2.4.2 client on OS X or will I have to upgrade to 2.4.4? I am currently using gnu tar and zip with linux. Will I have trouble with Mac versions of gnu tar and zip programs? -- Josh Kuperman [EMAIL PROTECTED]
Re: Amanda Through firewall
There is an excellent how-to about this in the Amanda Faq-O-Matic : http://amanda.sourceforge.net/cgi-bin/fom?_highlightWords=10080file=139 HTH Bert De Ridder PeopleWare NV - Head Office Cdt.Weynsstraat 85 B-2660 Hoboken Tel: +32 3 448.33.38 Fax: +32 3 448.32.66 PeopleWare NV - Branch Office Geel Kleinhoefstraat 5 B-2440 Geel Tel: +32 14 57.00.90 Fax: +32 14 58.13.25 http://www.peopleware.be http://www.mobileware.be Kaushal Shriyan [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 13/07/2004 06:48 To [EMAIL PROTECTED] cc Subject Amanda Through firewall Can I allow amanda backup server to talk through firewall for accessing amanda client host, Is there any way out Any help -- Regards, Kaushal Shriyan Technical Engineer Red Hat India Pvt. Ltd. Tel : +91-22-22881326/27 Fax : +91-22-22881318
Confirmation of amandad
Can anyone confirm this : Does the content of you 'first' amandad.x.debug file on a client machine contain this kind of info : GNUTAR /opt 0 1970:1:1:0:0:0 -1 GNUTAR /opt 1 2004:7:2:8:51:57 -1 GNUTAR /var 0 1970:1:1:0:0:0 -1 GNUTAR /var 1 2004:7:2:8:46:47 -1 ie : for each directory 2 entries ? It is like that on all servers I back up nightly; except one I added last night; that one has sth. like this : GNUTAR /opt 0 1970:1:1:0:0:0 -1 GNUTAR /var 0 1970:1:1:0:0:0 -1 GNUTAR /var 1 2004:7:2:8:46:47 -1 That's not the fun part though; I use a perl wrapper script for tar on each client machine that logs which directories are being backed up when. And /opt gets backed up up twice... funny, no ? Well... funny... Thanks in advance Kind regards, Bert De Ridder PeopleWare NV - Head Office Cdt.Weynsstraat 85 B-2660 Hoboken Tel: +32 3 448.33.38 Fax: +32 3 448.32.66 PeopleWare NV - Branch Office Geel Kleinhoefstraat 5 B-2440 Geel Tel: +32 14 57.00.90 Fax: +32 14 58.13.25 http://www.peopleware.be http://www.mobileware.be
Re: FW: unsubscribe please
I don't wanna unsubscribe; this is a great list !! :-) Met vriendelijke groeten, Bert De Ridder PeopleWare NV - Head Office Cdt.Weynsstraat 85 B-2660 Hoboken Tel: +32 3 448.33.38 Fax: +32 3 448.32.66 PeopleWare NV - Branch Office Geel Kleinhoefstraat 5 B-2440 Geel Tel: +32 14 57.00.90 Fax: +32 14 58.13.25 http://www.peopleware.be http://www.mobileware.be Bryan K. Walton [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 11/05/2004 14:57 To [EMAIL PROTECTED] cc Subject Re: FW: unsubscribe please On Tue, May 11, 2004 at 02:38:03PM +0200, Mark Le Noury wrote: Hi, I was re-subscribed magically for some reason. I have also tried to unsubscribe and also get an error back. Could you also unsubscribe me from this list as well? I'm another person who was magically re-subscribed yesterday. Is there someone on this list who and explain what has happened. Also, I'm not able to unsubscribe either. Getting an error message back from Majordomo. Thanks, Bryan
Re: how to backup windows servers
Have you already tried accessing the client with smbclient ? That could give you a clue Met vriendelijke groeten, Bert De Ridder PeopleWare NV - Head Office Cdt.Weynsstraat 85 B-2660 Hoboken Tel: +32 3 448.33.38 Fax: +32 3 448.32.66 PeopleWare NV - Branch Office Geel Kleinhoefstraat 5 B-2440 Geel Tel: +32 14 57.00.90 Fax: +32 14 58.13.25 http://www.peopleware.be http://www.mobileware.be Fernando Serto [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 07/05/2004 08:11 To [EMAIL PROTECTED] cc Subject how to backup windows servers hi, I've trying to backup a few windows 2000 servers using amanda, without success... I followed the guide on http://www.fnal.gov/docs/products/amanda/docs/SAMBA, but when I run the amcheck -c xos, I get the following error: [EMAIL PROTECTED]:/usr/local/etc/amanda/xos$ amcheck -c xos Amanda Backup Client Hosts Check WARNING: taurus: selfcheck request timed out. Host down? WARNING: falcon: selfcheck request timed out. Host down? Client check: 5 hosts checked in 30.053 seconds, 2 problems found (brought to you by Amanda 2.4.4p2) I created a local user on these 2 win2k boxes called backup. my disklist file for these 2 boxes looks like: taurus //taurus/backup high-tar falcon //FALCON/Memetrics high-tar ** I tried with with lower and upper case, on a desperate try. and my amandapass file: //taurus/backup [EMAIL PROTECTED] //FALCON/Memetrics [EMAIL PROTECTED] any hints? cheers, Fernando -- Fernando Serto Systems Administrator Memetrics Pty. Phone: +61 2 95560833 Fax: +61 2 95556911 Mobile: 0403 338 005 E-mail: [EMAIL PROTECTED] --- Certain disclaimers and policies apply to all email sent from Memetrics. For the full text of these disclaimers and policies see a href=""> ailpolicy.html/a
RE: how to backup windows servers
Oh, now I see; disklist should look like this : backuphostname //taurus/backup high-tar backuphostname //FALCON/Memetrics high-tar Met vriendelijke groeten, Bert De Ridder PeopleWare NV - Head Office Cdt.Weynsstraat 85 B-2660 Hoboken Tel: +32 3 448.33.38 Fax: +32 3 448.32.66 PeopleWare NV - Branch Office Geel Kleinhoefstraat 5 B-2440 Geel Tel: +32 14 57.00.90 Fax: +32 14 58.13.25 http://www.peopleware.be http://www.mobileware.be Fernando Serto [EMAIL PROTECTED] 07/05/2004 08:26 To '[EMAIL PROTECTED]' [EMAIL PROTECTED], Fernando Serto [EMAIL PROTECTED] cc [EMAIL PROTECTED], [EMAIL PROTECTED] Subject RE: how to backup windows servers like this? [EMAIL PROTECTED]:~$ smbclient -L taurus -U [EMAIL PROTECTED] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager] Sharename Type Comment - --- IPC$ IPC Remote IPC D$ Disk Default share backup Disk CeeDriveDisk wwwrootDisk ADMIN$ Disk Remote Admin C$ Disk Default share Server Comment - --- Workgroup Master - --- [EMAIL PROTECTED]:~$ yes I've tried that before. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, 7 May 2004 4:17 PM To: Fernando Serto Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: how to backup windows servers Have you already tried accessing the client with smbclient ? That could give you a clue Met vriendelijke groeten, Bert De Ridder PeopleWare NV - Head Office Cdt.Weynsstraat 85 B-2660 Hoboken Tel: +32 3 448.33.38 Fax: +32 3 448.32.66 PeopleWare NV - Branch Office Geel Kleinhoefstraat 5 B-2440 Geel Tel: +32 14 57.00.90 Fax: +32 14 58.13.25 http://www.peopleware.be http://www.mobileware.be Fernando Serto [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 07/05/2004 08:11 [EMAIL PROTECTED] cc Subjecthow to backup windows servers hi, I've trying to backup a few windows 2000 servers using amanda, without success... I followed the guide on http://www.fnal.gov/docs/products/amanda/docs/SAMBA, but when I run the amcheck -c xos, I get the following error: [EMAIL PROTECTED]:/usr/local/etc/amanda/xos$ amcheck -c xos Amanda Backup Client Hosts Check WARNING: taurus: selfcheck request timed out. Host down? WARNING: falcon: selfcheck request timed out. Host down? Client check: 5 hosts checked in 30.053 seconds, 2 problems found (brought to you by Amanda 2.4.4p2) I created a local user on these 2 win2k boxes called backup. my disklist file for these 2 boxes looks like: taurus //taurus/backup high-tar falcon //FALCON/Memetrics high-tar ** I tried with with lower and upper case, on a desperate try. and my amandapass file: //taurus/backup [EMAIL PROTECTED] //FALCON/Memetrics [EMAIL PROTECTED] any hints? cheers, Fernando -- Fernando Serto Systems Administrator Memetrics Pty. Phone: +61 2 95560833 Fax: +61 2 95556911 Mobile: 0403 338 005 E-mail: [EMAIL PROTECTED] --- Certain disclaimers and policies apply to all email sent from Memetrics. For the full text of these disclaimers and policies see a href=""> ailpolicy.html/a --- Certain disclaimers and policies apply to all email sent from Memetrics. For the full text of these disclaimers and policies see a href=""> ailpolicy.html/a
Amanda time
Hi all, I've just set up an amanda installation at our branch office. Everything works like a charm (as expected grin) except for one thing : the dates are wrong... files thate were created this night, have a timestamp of 20 Nov. The date/time on the machine is correct. amreport also shows this wrong date. None of the other software on this server (Lotus notes, Apache, Tomcat, MySql, Plone) show this behaviour. Does anyone have any idea what could be causing this ? TIA Bert De Ridder PeopleWare NV - Head Office Cdt.Weynsstraat 85 B-2660 Hoboken Tel: +32 3 448.33.38 Fax: +32 3 448.32.66 PeopleWare NV - Branch Office Geel Kleinhoefstraat 5 B-2440 Geel Tel: +32 14 57.00.90 Fax: +32 14 58.13.25 http://www.peopleware.be
Re: Amanda time
In the year 2003 It is the date in the subject line of the mail AND the filename of the log (log.20031121.0) I'm looking at the file from bash-shell (if I 'touch' a file; it gets the correct date) The content of the log : (top 2 lines) START driver date 20031121 START planner date 20031121 The top line of amdump.1 amdump: start at Fri Nov 21 00:30:28 CET 2003 In november amanda was not yet installed on the server, so it's not an old file If i create an amreport in a file, that file gets the correct date. Weird, huh? Bert De Ridder [EMAIL PROTECTED] wrote: Everything works like a charm (as expected grin) except for one thing : the dates are wrong... files thate were created this night, have a timestamp of 20 Nov. In what year :-) Is it the date in the mail report Subject line? Or is the date that you see for a command like: $ ls -l ~amanda/ConFig/log.20040409.0 How do you look at that file? Using NFS or Samba maybe? The first line of that file also contains a date: $ head -1 ~amanda/ConFig/log.20040409.0 START driver date 20040409 The first line of amdump.1 also contains a datetime stamp. $ head ~amanda/ConFig/amdump.1 amdump: start at Fri Apr 9 00:04:01 CEST 2004 Maybe you're just looking in the wrong directory (one that was used 20 Nov 2003 for doing a test?) The date/time on the machine is correct. amreport also shows this wrong date. AFAIK, there is only a date in the Subject header of the mail, and on the postscript label. PS. [EMAIL PROTECTED] is not interested in these kind of msgs. Use that address only for sending administrative questions about the list itself (like Why can't I post this 30 Mbyte attachment to the list?) -- Paul Bijnens, Xplanation Tel +32 16 397.511 Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM Fax +32 16 397.512 http://www.xplanation.com/ email: [EMAIL PROTECTED] *** * I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, F6, * * quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, * * stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, * * PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, * * kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... * * ... Are you sure? ... YES ... Phew ... I'm out * ***
Re: Apple Mac G5 XServe with amanda?
I haven't had the possibility to test it myself, but according to this http://slashdot.org/comments.pl?sid=98105cid=8434535 it should work using hfstar. I have tested Amanda myself using serverside compression and only Amanda client on the client (duh) and that works, so compiling it using hfstar should work. (main problem being the 2 forks mac uses for older files) Kind regards, Bert De Ridder PeopleWare NV - Head Office Cdt.Weynsstraat 85 B-2660 Hoboken Tel: +32 3 448.33.38 Fax: +32 3 448.32.66 PeopleWare NV - Branch Office Geel Kleinhoefstraat 5 B-2440 Geel Tel: +32 14 57.00.90 Fax: +32 14 58.13.25 http://www.peopleware.be Gavin Henry [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 12/03/2004 11:54 To [EMAIL PROTECTED] cc Subject Apple Mac G5 XServe with amanda? Hi all, Searched the archives, but not found anything much, so I bit the bullet: Would it be possible to use Amanda with hfstar or similar? ** Kind Regards, Gavin Henry. BEng (Hons) MIEE Engineer Invsat Ltd. Discovery Drive, Arnhall Business Park, Westhill, Aberdeen, AB32 6FG. www.invsat.com Tel: + 44 (0) 1224 428453 Fax:+ 44 (0) 1224 428401 e-mail: [EMAIL PROTECTED] ** The information contained in the message above may be privileged and confidential and is intended for the use of the individual or entity named above. If you are not the intended recipient, please contact the sender as soon as possible and be aware that copying, disclosure, distribution or use of this information is prohibited.
Upgrade
Hi all, I have an installation where Amanda has been built by me (remember those annoying questions 'How do I execute scripts from within Amanda' last year ? ;-) ) I would like to upgrade to 2.4.4; is there anything I should keep in mind ? (I still have my 'original' config statement documented. ) TIA Bert De Ridder PeopleWare NV - Head Office Cdt.Weynsstraat 85 B-2660 Hoboken Tel: +32 3 448.33.38 Fax: +32 3 448.32.66 PeopleWare NV - Branch Office Geel Kleinhoefstraat 5 B-2440 Geel Tel: +32 14 57.00.90 Fax: +32 14 58.13.25 http://www.peopleware.be
Re: [Fwd: Amanda 2.4.4 and Samba 3.0.0 problems]
Would it work with a patched Samba ? Suppose the guys at Samba applied the (suggested) patch, would Amanda trap that ? Bert De Ridder Stefan G. Weichinger [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 31/10/2003 19:36 Please respond to Stefan G. Weichinger [EMAIL PROTECTED] To [EMAIL PROTECTED] cc Subject Re: [Fwd: Amanda 2.4.4 and Samba 3.0.0 problems] Hi, Jean-Louis Martineau, on Freitag, 31. Oktober 2003 at 16:47 you wrote to amanda-users: JLM Hi Matthew, JLM The latest amanda snapshot from JLM http://www.iro.umontreal.ca/~martinea/amanda JLM should work with an unpatched samba 3.0.0. Yes, it does. Just tested it. Thank you, Jean-Louis ... best regards, Stefan Stefan G. Weichinger mailto:[EMAIL PROTECTED]
Re: Another Amanda + Win32 backup problem
Your entries in amandapass should also have 2 slashes - //mymachine/temp username%password HTH Bert De Ridder PeopleWare NV - Head Office Cdt.Weynsstraat 85 B-2660 Hoboken Tel: +32 3 448.33.38 Fax: +32 3 448.32.66 PeopleWare NV - Branch Office Geel Kleinhoefstraat 5 B-2440 Geel Tel: +32 14 57.00.90 Fax: +32 14 58.13.25 http://www.peopleware.be Jason Tedesco [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 30/09/2003 08:45 To [EMAIL PROTECTED] cc Subject Another Amanda + Win32 backup problem I am trying to backup a win32 host with Amanda and keep running into problems. I compiled Amanda with smbclient full path. When I try executing an amcheck I receive the following error. Amanda Backup Client Hosts Check WARNING: mymachine.host.org: selfcheck request timed out. Host down? Client check: 1 host checked in 30.019 seconds, 1 problem found (brought to you by Amanda 2.4.4p1) I also receive this error in my logfile. ERROR planner Request to mymachine.host.org timed out. I increased the etimeout in amanda.conf although that did not change a thing. I can use smbclient to mount my drive without a problem, and the directory shard on the win32 host has no permissions set. This is what I have below in my disklist mymachine.host.org //mymachine/temp comp-root-tar I also have a username and password set out in /etc/amandapass and /usr/local/etc/amandapass . The reason why I have amandapass in two directories is because I am unsure which one will be used by amanda on a solaris 8 box. /mymachine/temp username%password Any advice would be appreciated. Regards, Jason
RE: Another Amanda + Win32 backup problem
Does the share have a large amount of data ? One of our file servers over here does and sometimes the amcheck also times out. Bert De Ridder PeopleWare NV - Head Office Cdt.Weynsstraat 85 B-2660 Hoboken Tel: +32 3 448.33.38 Fax: +32 3 448.32.66 PeopleWare NV - Branch Office Geel Kleinhoefstraat 5 B-2440 Geel Tel: +32 14 57.00.90 Fax: +32 14 58.13.25 http://www.peopleware.be Jason Tedesco [EMAIL PROTECTED] 30/09/2003 08:57 To [EMAIL PROTECTED] cc [EMAIL PROTECTED], [EMAIL PROTECTED] Subject RE: Another Amanda + Win32 backup problem Sorry that was just a typo, they do have 2 slashes in amandapass -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, 30 September 2003 4:54 PM To: Jason Tedesco Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Another Amanda + Win32 backup problem Your entries in amandapass should also have 2 slashes - //mymachine/temp username%password HTH Bert De Ridder PeopleWare NV - Head Office Cdt.Weynsstraat 85 B-2660 Hoboken Tel: +32 3 448.33.38 Fax: +32 3 448.32.66 PeopleWare NV - Branch Office Geel Kleinhoefstraat 5 B-2440 Geel Tel: +32 14 57.00.90 Fax: +32 14 58.13.25 http://www.peopleware.be Jason Tedesco [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 30/09/2003 08:45 To [EMAIL PROTECTED] cc Subject Another Amanda + Win32 backup problem I am trying to backup a win32 host with Amanda and keep running into problems. I compiled Amanda with smbclient full path. When I try executing an amcheck I receive the following error. Amanda Backup Client Hosts Check WARNING: mymachine.host.org: selfcheck request timed out. Host down? Client check: 1 host checked in 30.019 seconds, 1 problem found (brought to you by Amanda 2.4.4p1) I also receive this error in my logfile. ERROR planner Request to mymachine.host.org timed out. I increased the etimeout in amanda.conf although that did not change a thing. I can use smbclient to mount my drive without a problem, and the directory shard on the win32 host has no permissions set. This is what I have below in my disklist mymachine.host.org //mymachine/temp comp-root-tar I also have a username and password set out in /etc/amandapass and /usr/local/etc/amandapass . The reason why I have amandapass in two directories is because I am unsure which one will be used by amanda on a solaris 8 box. /mymachine/temp username%password Any advice would be appreciated. Regards, Jason
Re: smbtar
Anybody who remembers how this script was set up ? TIA Bert Jon LaBadie [EMAIL PROTECTED] 11/08/2003 16:23 To: [EMAIL PROTECTED] cc: Subject: Re: smbtar On Mon, Aug 11, 2003 at 03:47:30PM +0200, [EMAIL PROTECTED] wrote: Any chance I can create a wrapper script around smbclient ? (like I do with gnutar ) At least on list member, maybe 18 months ago, did that to implement a multi-file exclude feature. Amanda, as distributed, only one file can be specified as being excluded when using samba. -- Jon H. LaBadie [EMAIL PROTECTED] JG Computing 4455 Province Line Road(609) 252-0159 Princeton, NJ 08540-4322 (609) 683-7220 (fax)
Re: smbtar
Any chance I can create a wrapper script around smbclient ? (like I do with gnutar ) Bert Jon LaBadie [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 11/08/2003 15:26 Please respond to amanda-users To: [EMAIL PROTECTED] cc: Subject: Re: smbtar On Mon, Aug 11, 2003 at 10:21:42AM +0200, [EMAIL PROTECTED] wrote: I have a question regarding backing up smbshares; As i understand it, smbclient should be used by Amanda to perform this task. I also thought that (somewhere along the line) smbtar would get called. The backup of the share works perfectly. (I can restore it as well) however; my problem is that smbtar does NOT get called; am I missing something ? Yeah, a section of the man page. From the man page of smbclient: -T tar options smbclient may be used to create tar(1) compatible back- ups of all the files on an SMB/CIFS share. The secon- dary tar flags that can be given to this option are : smbtar is not needed. -- Jon H. LaBadie [EMAIL PROTECTED] JG Computing 4455 Province Line Road(609) 252-0159 Princeton, NJ 08540-4322 (609) 683-7220 (fax)
Re: smbtar
The problem I'm having is that I can't get smbclient to work properly when it's wrapped in a script. What I have done is rename smbclient to smbclient.am and create a script (smbclient) that calls smbclient.am with the same command line parameters the script itself gets. (I had to rename smbclient because no matter what I tell configure to use in --with-smbclient Amanda insists on using /usr/bin/smbclient ) amcheck seems to work, but amdump doesn't. I would like a working example of such a script (if possible) TIA Bert Jon LaBadie [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 11/08/2003 18:37 Please respond to amanda-users To: [EMAIL PROTECTED] cc: Subject: Re: smbtar On Mon, Aug 11, 2003 at 05:22:26PM +0200, [EMAIL PROTECTED] wrote: Anybody who remembers how this script was set up ? Jon LaBadie [EMAIL PROTECTED] 11/08/2003 16:23 To: [EMAIL PROTECTED] cc: Subject:Re: smbtar On Mon, Aug 11, 2003 at 03:47:30PM +0200, [EMAIL PROTECTED] wrote: Any chance I can create a wrapper script around smbclient ? (like I do with gnutar ) At least on list member, maybe 18 months ago, did that to implement a multi-file exclude feature. Amanda, as distributed, only one file can be specified as being excluded when using samba. If you mean the logic of multiple excludes, they were passed as a file containing the list (as per exclude list or exclude append) and the script converted the list into command line args. Something like: ExcludeListFile=$??? # some cmd line arg ExcludeList= for Next in $ExcludeListFile do ExcludeList=$ExcludeList $Next done Then $ExcludeList was used on the real smbclient command line after the X option, I think as the last args on the cmd line. -- Jon H. LaBadie [EMAIL PROTECTED] JG Computing 4455 Province Line Road(609) 252-0159 Princeton, NJ 08540-4322 (609) 683-7220 (fax)
smbtar
I have a question regarding backing up smbshares; As i understand it, smbclient should be used by Amanda to perform this task. I also thought that (somewhere along the line) smbtar would get called. The backup of the share works perfectly. (I can restore it as well) however; my problem is that smbtar does NOT get called; am I missing something ? Bert
Newbie question : controlling Lotus Notes
Hi, all, I'm new to Amanda; recently I got the assignment of revising a backup strategy. As I can tell from the script that's executed nightly, first the Lotus Notes server application is being shut down; then the Lotus databases are being copied, the Lotus Notes server app gets restarted, then the amdump is launched (backing up the copies of the files) and when that's finished, the copies of the databases are deleted. This of course takes care of open files (as far as lotus notes databases is concerned anyway), but the downside is that there are a few gigs of lotus notes data files that are (temporarily) hanging around. There are a few more servers that are being backed up in the same run, this means that notes would be down too long if I scheduled the backup as Shutdown notes - backup everything - restart notes. My question : Isn't it possible to have more control over the process; say, restart Notes as soon as all its files (as indicated in the configuration) are backed up so that the Notes appserver can already be restarted while the 'rest' of the backup is still running ? I want to get rid of this 'intermediate' file system copy of the lotus files to another location prior to running the backup. However, I want to restart the notes appserver as soon as possible. I hope I have clearly explained my problem and hope someone out there can help me. ( PS The OS is Linux; Suse 7.3; there is only 1 tape drive, so scheduling 2 jobs is not really an option.) TIA Bert De Ridder