Re: fixed day backup
On Thursday 13 March 2003 04:36 pm, Wayne Richards wrote: Well, there are a couple of options I can think of off the top of my head. 1. Use a second config file for the weekend backups and add the line: strategy noinc in the dumptype definition 2. Do a: amadmin config force hostname prior to running the weekly backups. Wayne I have to do this since I have to use a DLT-4 drive for incrementals, and an SDLT-220 drive for full backups. What I do (I should really stick this in the FAQ-o-matic) is the following: 1. Create 2 configurations, one for Full only, and one for Incremental only. Full is run on the weekend, and Incremental is run during the week. 2. The Full configuration has a dumptype always-full which defines dumpcycle 0. This makes sure every partition is a level 0 dump when it runs. Disklist entries should be told to use a dumptype that include always-full. 3. Since amanda's planner is rather tenacious about the full backups, we need to really make it work to give us a level 0 dump. So, in the Incremental config file, set tapecycle to the number of tapes you have, but set dumpcycle and runspercycle to something silly, like 1000. This will keep the planner assuming that it has lots of time before it needs to do a level 0 of any given partition. 4. After the full backup runs, rm -rf the incremental backup directory (where indexes and logs are kept) in the amanda user's home directory, and cp -r the full backup directory to the incremental backup directory. This will keep the two in sync, and restart the 1000 day count each week. This isn't totally fool-proof. If you have a very small partition (e.g., /tmp) then you may often get a level 0 dump of it. For larger partitions, you will almost never get a level 0, but in the end it accomplishes the full on weekends, incremental during week issue that occasionally pops up without performing too much magic.
Re: fixed day backup
Hi David, Jay, and Wayne, Thanks for replying. I had tried the options strategy noinc and strategy nofull as Jay has mentioned. In fact, we can get away with only one config with two dumptypes and have to call the correct one on the correct day with cron. We just override the dumpcycle options in the dumptypes. It works so far, but there was the Mail drive from another machine, which I use smb to mount to the backup server, that almost always has a full backup, no matter if it is called with the incremental dumptype or the full dumptype. Its contents changes constantly, but I don't think that's the reason why it should be fully backed up. I also tried two separate configs, in combination with the two options mentioned above. I also used amadmin to force a level 0 backup right before the full is performed. I will try with record no as soon as I get back to the office. Maybe because I was using all of your suggested methods at the same time that caused the problem :) -Original Message- From: David Olbersen [EMAIL PROTECTED] To: bao [EMAIL PROTECTED]; amanda [EMAIL PROTECTED] Date: Thursday, March 13, 2003 2:53 PM Subject: RE: fixed day backup Bao, I don't know why the FAQ says that -- it's simply not true! We currently have a setup similar to this: incremental every day and full backups every other weekend. The trick is to make 2 amanda configurations (say, 'Daily' and 'Archive'). Once you've got that you can just call amanda with the correct configuration on the right days, i.e. amdump Daily amdump Archive -- David Olbersen iGuard Engineer 11415 West Bernardo Court San Diego, CA 92127 1-858-676-2277 x2152 -Original Message- From: bao [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2003 12:25 PM To: amanda Subject: fixed day backup Hello, In the Amanda FAQ, there is one question How can I configure Amanda to perform full backups on the weekend and incrementals on weekdays?. The answer is You can't. It's unfortunate that the plan above is what I need. I need to run full backup once a week, and incrementals on the other days. All of the backups will stay on disk (tapeless backup), plus the full will be put on tape. Disk only keeps one week (full + incrementals), and tapes keep 8 weeks of full-only. If Amanda manages the full and incremental using its own way. How can I know which one has the full, and when the full is performed, to automate the process of transferring to tape?? Has anyone done this sucessfully and How can I do it?? Best regards,
fixed day backup
Hello, In the Amanda FAQ, there is one question How can I configure Amanda to perform full backups on the weekend and incrementals on weekdays?. The answer is You can't. It's unfortunate that the plan above is what I need. I need to run full backup once a week, and incrementals on the other days. All of the backups will stay on disk (tapeless backup), plus the full will be put on tape. Disk only keeps one week (full + incrementals), and tapes keep 8 weeks of full-only. If Amanda manages the full and incremental using its own way. How can I know which one has the full, and when the full is performed, to automate the process of transferring to tape?? Has anyone done this sucessfully and How can I do it?? Best regards,
Re: fixed day backup
Well, there are a couple of options I can think of off the top of my head. 1. Use a second config file for the weekend backups and add the line: strategy noinc in the dumptype definition 2. Do a: amadmin config force hostname prior to running the weekly backups. Wayne Hello, In the Amanda FAQ, there is one question How can I configure Amanda to perform full backups on the weekend and incrementals on weekdays?. The answer is You can't. It's unfortunate that the plan above is what I need. I need to run full backup once a week, and incrementals on the other days. All of the backups will stay on disk (tapeless backup), plus the full will be put on tape. Disk only keeps one week (full + incrementals), and tapes keep 8 weeks of full-only. If Amanda manages the full and incremental using its own way. How can I know which one has the full, and when the full is performed, to automate the process of transferring to tape?? Has anyone done this sucessfully and How can I do it?? Best regards,
RE: fixed day backup
Bao, I don't know why the FAQ says that -- it's simply not true! We currently have a setup similar to this: incremental every day and full backups every other weekend. The trick is to make 2 amanda configurations (say, 'Daily' and 'Archive'). Once you've got that you can just call amanda with the correct configuration on the right days, i.e. amdump Daily amdump Archive -- David Olbersen iGuard Engineer 11415 West Bernardo Court San Diego, CA 92127 1-858-676-2277 x2152 -Original Message- From: bao [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2003 12:25 PM To: amanda Subject: fixed day backup Hello, In the Amanda FAQ, there is one question How can I configure Amanda to perform full backups on the weekend and incrementals on weekdays?. The answer is You can't. It's unfortunate that the plan above is what I need. I need to run full backup once a week, and incrementals on the other days. All of the backups will stay on disk (tapeless backup), plus the full will be put on tape. Disk only keeps one week (full + incrementals), and tapes keep 8 weeks of full-only. If Amanda manages the full and incremental using its own way. How can I know which one has the full, and when the full is performed, to automate the process of transferring to tape?? Has anyone done this sucessfully and How can I do it?? Best regards,