old server 2.4.2p2 fails to backup newer client 2.5.1p1
the actual dump occurs and then sendsize fails. If I downgrade the version of amanda to 2.4.4p3 then it seems to work fine. Any suggestions? -- Carl D. Blake Director of Engineering Boeckeler Instruments, Inc. 4650 S. Butterfield Dr. Tucson, AZ 85714 PH: 520-745-0001 FAX: 520-745-0004 EMAIL: [EMAIL PROTECTED]
old server 2.4.2p2 fails to backup newer client 2.5.1p1
the actual dump occurs and then sendsize fails. If I downgrade the version of amanda to 2.4.4p3 then it seems to work fine. Any suggestions? -- Carl D. Blake Director of Engineering Boeckeler Instruments, Inc. 4650 S. Butterfield Dr. Tucson, AZ 85714 PH: 520-745-0001 FAX: 520-745-0004 EMAIL: [EMAIL PROTECTED]
incremental backups on FAT partition
I have a FAT partition on a system that will not get backed up incrementally. Full backups are done on the partition every time. The partition is mounted on a linux RedHat 8.0 system. It is mounted read/write. It needs to be a FAT partition because the user is using it for running Windows 2000 via VMWare. Is there a problem with incremental backups on FAT partitions? I searched with google and found some references to some problems, but no real explanations or solutions. Can somebody explain what is going on and how to work around the problem? Would one solution be to backup the partition with SAMBA rather than the standard amanda client? According to the SAMBA document it should do incremental backups. Any help is greatly appreciated.
Re: Backing up Netware systems
On Wed, 2002-11-13 at 16:24, [EMAIL PROTECTED] wrote: I can tell you Yes It Works, we are doing that right now in fact, we are backing up two Novell 4.11 servers with Amanda in a Linux Debian and it works fine with ncp. What do you do about backing up NDS and access control lists? Or do you just not worry about them? Quoting Carl D. Blake [EMAIL PROTECTED]: Does anybody know how to backup a netware system using amanda over a network? Would mounting the netware system using ncpfs and then backing up the mount point work? I know I would probably lose the NDS data and the access control lists, but would I get the data files? This would be done on a Netware 4.11 system using a RedHat Linux 6.0 system running amanda 2.4.3. -- -- Carl D. Blake Director of Engineering Boeckeler Instruments, Inc. 4650 S. Butterfield Dr. Tucson, AZ 85714 Phone: 520-745-0001 FAX: 520-745-0004 email: [EMAIL PROTECTED] .com
Re: incomplete backups
On Tue, 2002-11-12 at 18:02, Gene Heskett wrote: Greets folks; I now have recovered as much as I can, but a couple of things need to be said. Not enough emphasis is placed on the fact that tar won't access a file with any kind of a lock on it, and in the case of amanda, its certainly a fixable problem. I recovered all the indexes and curfiles and such but absolutely nothing else that could be construed as a configuration file. So chg-scsi.conf, amanda.conf, disklist, tapelist the rest of the configuration stuff in /usr/local/etc/amanda/DailySet1 is gone and I'm going to have to re-invent a goodly number of wheels before amanda is back up and running. I'm a little puzzled. When I look at the files that amanda says it backed up it looks like it backed up the above files you mentioned on my system. My system is a RedHat Linux 6.0 system using GNU tar V1.12. Is your system and/or tar different? -- Carl D. Blake Director of Engineering Boeckeler Instruments, Inc. 4650 S. Butterfield Dr. Tucson, AZ 85714 Phone: 520-745-0001 FAX: 520-745-0004 email: [EMAIL PROTECTED] .com
Backing up Netware systems
Does anybody know how to backup a netware system using amanda over a network? Would mounting the netware system using ncpfs and then backing up the mount point work? I know I would probably lose the NDS data and the access control lists, but would I get the data files? This would be done on a Netware 4.11 system using a RedHat Linux 6.0 system running amanda 2.4.3. -- Carl D. Blake Director of Engineering Boeckeler Instruments, Inc. 4650 S. Butterfield Dr. Tucson, AZ 85714 Phone: 520-745-0001 FAX: 520-745-0004 email: [EMAIL PROTECTED] .com
Re: Why can't amanda backup open samba files?
On Fri, 2002-11-08 at 10:28, Leonid Mamtchenkov wrote: Dear Carl D. Blake, Once you wrote about Why can't amanda backup open samba files?: Would somebody explain why amanda can't backup Windows files over SAMBA that are open? I'm confused by this because I know that multiple people can open a file on a Windows share over a network (or at least I thought they could). If multiple people can open a file on a Windows share, why can't amanda open and read that same file even though it's open? If everyone opens the file for reading, then it's OK. But if someone opens the file for writing, you will, most probably, run into all sorts of different problems, starting with Permission denied errors and ending at corrupted contents. Good luck. :) But, this would be a problem with UNIX also. UNIX always allows multiple people to read the same file. I believe it even allows multiple people to write to the same file which of course has major problems. I'm trying to understand why amanda will not backup Windows files over SAMBA that are already opened by another program on that Windows machine. It doesn't make much sense to me since I'm pretty sure that multiple programs can have the same file open on Windows and multiple people can read the same file at the same time over SAMBA networking. Is this an issue where amanda is able to protect itself on UNIX - preventing people from modifying a file while it's backing it up, but it can't do the same type of mechanism for Windows machines over SAMBA? Any info you can provide would be helpful -- Best regards, Leonid Mamtchenkov, RHCE System Administrator Francoudi Stephanou Ltd. -- Carl D. Blake Director of Engineering Boeckeler Instruments, Inc. 4650 S. Butterfield Dr. Tucson, AZ 85714 Phone: 520-745-0001 FAX: 520-745-0004 email: [EMAIL PROTECTED] .com
Re: Requesting comments on a possible amanda configuration
On Fri, 2002-11-08 at 10:29, Jon LaBadie wrote: On Fri, Nov 08, 2002 at 09:54:46AM -0700, Carl D. Blake wrote: I'm trying to setup an AMANDA backup system with the following characteristics: Full backup every Wednesday on a different weekly tape Differential backup on Thurday, Friday, Monday, and Tuesday Full backup on the last Wednesday of each month which is then archived for a year. So far I've setup a Weekly configuration with runspercycle set to 0, dumpcycle set to 0, and tapecycle set to 7. record is set to yes so that differentials run on a daily basis will have a date that the last full backup was done on. I have a Monthly configuration with runspercycle set to 0, dumpcycle set to 0, and tapecycle set to 14. Again, record is set to yes for the sake of the daily differentials. The Daily configuration is runspercycle set to 4, dumpcycle set to 1 weeks, and tapecycle set to 7. I have cron setup to run amdump Daily on Monday, Tuesday, Thursday, and Friday; amdump Weekly on Wednesday for the first 3 (or 4) weeks of the month; and amdump Monthly on the last Wednesday of the month. Does this sound like my configuration will do what I want? Or do I have something really messed up? Any comments or suggestions would be appreciated. This is an i don't know, but consider this type of comment. How would you do a recovery? amrecover requires a config and your Daily config knows nothing about the level 0 backup except their dates. It seems to me that it will not know what tape you need to load to get the level 0 starting point. This is a good point. It looks like I would have to know which config to use to get a particular file. In other words I would have to know that a file changed since the last full backup and use the last Daily tape rather than getting the file from the last full backup. However, for a complete disaster recovery you almost always restore the last full backup tape first and then do the last difference (level 1) tape. Maybe, just maybe, you could have common curinfo and index directories among the three configs, and common disklists (linked) as well. Interesting idea. I'll have to look at this. I'm a little afraid that I'll mess up the curinfo and index databases. The disklists are linked between the three configs right now. I have multiple archive configs, one for system dirs and one for user data dirs. They share curinfo and index dirs, but different disklist files and never do incrementals. Separate topic, how do you have your crontab file set up for Weekly and Monthly? I know how to set it up for the first Wed and all Wed but the first one, but I'm not sure how to do the last Wed and all Wed but the last one. I would end up running every Wed a shell script that selects the correct amdump command. I setup my crontab file to run a script called runamdump every day of the week. The crontab file runs the script as runamdump Weekly for the first 24 days of 31 day months, the first 23 days of 30 day months, and the first 21 days of February (this scheme doesn't handle leap years yet). The crontab file runs the script as runamdump Monthly for the days 25-31 for 31 day months, 24-30 for 30 day months and 22-28 for February. The script file checks to see if the current day is Wednesday by using the date command and if it is then runs amdump, otherwise it exits. Rather complicated, but it seems to work so far. However, I've only been doing this for about a week. I'm sure that there is some debugging in my future. The reason I'm trying to setup my backup system in this manner is because I want to have 3 to 4 sets of Weekly backups and 12 sets of Monthly backups as well as the normal daily difference backups. With this kind of arrangement you can restore within a day for the previous week, within a week for the previous month, and within a month for the previous year. With amanda I couldn't see how to do this without a huge number of tapes in it's normal configuration. I would need 5 tapes for each week (15 to 20) and 5 tapes for each month (60) for a grand total of 80 tapes. Currently a complete full backup of all our systems being backed up using amanda will fit on 1 tape. This means the total number of tapes I actually need are 4 tapes for the daily differences, 3 to 4 tapes for the weekly backups, and 12 tapes for the monthly backups for a grand total of 20 tapes. This is a lot fewer tapes (obviously :) and a lot easier to deal with. Any other suggestions or comments? -- Jon H. LaBadie [EMAIL PROTECTED] JG Computing 4455 Province Line Road(609) 252-0159 Princeton, NJ 08540-4322 (609) 683-7220 (fax) -- Carl D. Blake Director of Engineering Boeckeler Instruments, Inc. 4650 S. Butterfield Dr. Tucson, AZ 85714 Phone: 520-745-0001 FAX: 520-745-0004 email: [EMAIL PROTECTED] .com
Re: Requesting comments on a possible amanda configuration
On Tue, 2002-11-12 at 11:59, Jay Lessert wrote: On Tue, Nov 12, 2002 at 10:29:08AM -0700, Carl D. Blake wrote: [clip] this kind of arrangement you can restore within a day for the previous week, within a week for the previous month, and within a month for the previous year. Carl, If this is your goal, and you want to use Amanda, I would suggest this: config daily, run 5X/week: - dumpcycle 7 days - runspercycle 5 - tapecycle 25 - index yes - record yes - strategy normal config monthly, run 1X/month - dumpcycle 0 - runspercycle 1 - tapecycle 12 - index yes - record no - strategy noinc This gets you within a day for 5 weeks, and within a month for 1 year, using 37 tapes. It will just work, with very little effort on your part, because there are Amanda users all over the world doing something *very* close this. Note that I've freely mixed dumptype and non-dumptype parameters here for brevity, you'll be more careful, of course. :-) Once you get over the extra tapes (hey, 37 20, but 80!) and get used to the idea that Amanda will do your daily fulls when *she* wants (not when you want), you'll like it. Trust me. :-) This doesn't sound too bad. My only question is how would I run the monthly config. Would I just pick a day in the month on which I would run amdump monthly instead of amdump daily? If so, would that cause the daily dumps to get offset by one day? Does this even matter? Thanks for your help. -- Carl D. Blake Director of Engineering Boeckeler Instruments, Inc. 4650 S. Butterfield Dr. Tucson, AZ 85714 Phone: 520-745-0001 FAX: 520-745-0004 email: [EMAIL PROTECTED] .com
Re: Requesting comments on a possible amanda configuration
On Tue, 2002-11-12 at 10:56, [EMAIL PROTECTED] wrote: Carl D. Blake [EMAIL PROTECTED] wrote: I'm trying to setup an AMANDA backup system with the following characteristics: Full backup every Wednesday on a different weekly tape Differential backup on Thurday, Friday, Monday, and Tuesday Full backup on the last Wednesday of each month which is then archived for a year. So far I've setup a Weekly configuration with runspercycle set to 0, dumpcycle set to 0, and tapecycle set to 7. record is set to yes so that differentials run on a daily basis will have a date that the last full backup was done on. I have a Monthly configuration with runspercycle set to 0, dumpcycle set to 0, and tapecycle set to 14. Again, record is set to yes for the sake of the daily differentials. The Daily configuration is runspercycle set to 4, dumpcycle set to 1 weeks, and tapecycle set to 7. I have cron setup to run amdump Daily on Monday, Tuesday, Thursday, and Friday; amdump Weekly on Wednesday for the first 3 (or 4) weeks of the month; and amdump Monthly on the last Wednesday of the month. Does this sound like my configuration will do what I want? Or do I have something really messed up? Any comments or suggestions would be appreciated. Comments or suggestions? You are trying to swim upstream. Tommy McGuire Could you explain what you mean by this? What is a better way to handle this? I would prefer to use amanda the way it was meant to be used rather than try to force her into some peculiar mode. -- Carl D. Blake Director of Engineering Boeckeler Instruments, Inc. 4650 S. Butterfield Dr. Tucson, AZ 85714 Phone: 520-745-0001 FAX: 520-745-0004 email: [EMAIL PROTECTED] .com
Re: Requesting comments on a possible amanda configuration
On Tue, 2002-11-12 at 11:28, Jon LaBadie wrote: BTW I forgot, amand will not do an incremental until a level 0 is done for that config. So I don't think your dailies could be just incrementals. Again, maybe, just maybe, with merged info/index files. That's interesting because I've been doing daily backups and they seem to be working just fine as difference backups. Of course, the fact that I set strategy to nofull in the global dumptype for the Daily config might have something to do with this. -- Carl D. Blake Director of Engineering Boeckeler Instruments, Inc. 4650 S. Butterfield Dr. Tucson, AZ 85714 Phone: 520-745-0001 FAX: 520-745-0004 email: [EMAIL PROTECTED] .com
Re: Requesting comments on a possible amanda configuration
On Tue, 2002-11-12 at 14:43, [EMAIL PROTECTED] wrote: Carl D. Blake [EMAIL PROTECTED] wrote: On Tue, 2002-11-12 at 10:56, [EMAIL PROTECTED] wrote: Carl D. Blake [EMAIL PROTECTED] wrote: I'm trying to setup an AMANDA backup system with the following characteristics: Full backup every Wednesday on a different weekly tape Differential backup on Thurday, Friday, Monday, and Tuesday Full backup on the last Wednesday of each month which is then archived for a year. Comments or suggestions? You are trying to swim upstream. Tommy McGuire Could you explain what you mean by this? What is a better way to handle this? I would prefer to use amanda the way it was meant to be used rather than try to force her into some peculiar mode. Amanda is really very good at set-it-and-forget-it backups: you tell it what you want to back up, how often you want a full backup, and how many tapes to use. It figures out when to do what level of backup to spread out your backups across the schedule. For example, we have two configurations. The daily config, which is run 6 nights per week, is set to do a full backup of each filesystem every two weeks, incrementals in between, and to update the equivalent of /etc/dumpdates with when it does what level. The archive config, which runs once a week, doesn't do incremental backups, doesn't record what it does, and does a full backup of each filesystem once a month. This configuration is very similar to what is described above except that it doesn't mention what day of the week or month things are supposed to happen. This sounds similar to what I want to do with our backups. I've been trying to get used to the idea of not knowing when a full backup or an incremental backup occurs. This is why I was asking for comments and suggestions. Do I know what level the daily config is doing for a particular filesystem on a given day? Not really. Do I know what week a particular filesystem will get archived? Nope. Do I care? No. When we have to restore something, Amanda tells us what tapes to get it off of. What does it get us? Back before Amanda, when we had a schedule somewhat like that above, the archive run once a month was taking between two and three days. Some of the dailys wanted several tapes and others less than half of one. This was a while back; that kind of config wouldn't work for us at all now. When you try to tell Amanda to do a full backup every Wednesday, or to do a full backup of everything the last Wednesday of the month, you are trying to manually do something that Amanda was designed to automate. You're not using Amanda's power and you're going have to do perverted things to the configuration to get it to work at all, which it probably won't. You are swimming upstream, and it would be easier to write your own backup scripts to follow your schedule. If you need Amanda's power, you have to let it handle the scheduling. I would prefer to let amanda handle the scheduling. I'm just having trouble figuring out a reasonable configuration where I can get weekly full backups as well as monthly (or every 4 weeks) full backups that I can archive for a year. You mention that your archive config runs once a week and does monthly backups for each filesystem. Is that configuration something like: dumpcycle 0 runspercycle 4 tapecycle 52 where dumpcycle 0 tells amanda to perform full backups every time, runspercycle 4 tells amanda to put the full backups on 4 tapes, and tapecycle 52 provides enough tapes for a year? Also, how many tapes do you use for your daily config? Is it enough to cover an entire month? Tommy McGuire -- Carl D. Blake Director of Engineering Boeckeler Instruments, Inc. 4650 S. Butterfield Dr. Tucson, AZ 85714 Phone: 520-745-0001 FAX: 520-745-0004 email: [EMAIL PROTECTED] .com
Why can't amanda backup open samba files?
Would somebody explain why amanda can't backup Windows files over SAMBA that are open? I'm confused by this because I know that multiple people can open a file on a Windows share over a network (or at least I thought they could). If multiple people can open a file on a Windows share, why can't amanda open and read that same file even though it's open? -- Carl D. Blake Director of Engineering Boeckeler Instruments, Inc. 4650 S. Butterfield Dr. Tucson, AZ 85714 Phone: 520-745-0001 FAX: 520-745-0004 email: [EMAIL PROTECTED] .com
Requesting comments on a possible amanda configuration
I'm trying to setup an AMANDA backup system with the following characteristics: Full backup every Wednesday on a different weekly tape Differential backup on Thurday, Friday, Monday, and Tuesday Full backup on the last Wednesday of each month which is then archived for a year. So far I've setup a Weekly configuration with runspercycle set to 0, dumpcycle set to 0, and tapecycle set to 7. record is set to yes so that differentials run on a daily basis will have a date that the last full backup was done on. I have a Monthly configuration with runspercycle set to 0, dumpcycle set to 0, and tapecycle set to 14. Again, record is set to yes for the sake of the daily differentials. The Daily configuration is runspercycle set to 4, dumpcycle set to 1 weeks, and tapecycle set to 7. I have cron setup to run amdump Daily on Monday, Tuesday, Thursday, and Friday; amdump Weekly on Wednesday for the first 3 (or 4) weeks of the month; and amdump Monthly on the last Wednesday of the month. Does this sound like my configuration will do what I want? Or do I have something really messed up? Any comments or suggestions would be appreciated. -- Carl D. Blake Director of Engineering Boeckeler Instruments, Inc. 4650 S. Butterfield Dr. Tucson, AZ 85714 Phone: 520-745-0001 FAX: 520-745-0004 email: [EMAIL PROTECTED] .com