About Linus's condemnation of Dump
I just stumbled over an email from Linus stating the following: << snip snip >> "Note that dump simply won't work reliably at all even in 2.4.x: the buffer cache and the page cache (where all the actual data is) are not coherent. This is only going to get even worse in 2.5.x, when the directories are moved into the page cache as well. So anybody who depends on "dump" getting backups right is already playing russian rulette with their backups. It's not at all guaranteed to get the right results - you may end up having stale data in the buffer cache that ends up being "backed up". Dump was a stupid program in the first place. Leave it behind." << end snip >> Read whole thing here: http://www.cs.helsinki.fi/linux/linux-kernel/2001-16/1175.html Anyhoo, I find myself currently using the Reiser filesystem, and I am now considering backing up critical config files and directories on my servers with tar and rebuilding them from scratch using XFS since that filesystem has a working version of dump ('xfsdump'). Any comments, advice? (Does Amanda even work with xfsdump/xfsrestore? Thanks, Scott Phelps
Starting a new tape -> per partition
Hi, I have a 120 gig server that I need to back up. I want to do /boot ; / ; and /var on one tape, and /home on a second. I have chg-zd-mtx as my autoloader driver. Here's the question. If I configured my disklist file like this: bigserver/boot always-full bigserver / always-full bigserver /var always-full bigserver /home always-full When Amanda is done with /boot, /, and /var say there is only 10gig left on tape 1. Will amanda automatically 'see' the lack of space and autoload a new tape before starting on /home? Or should I create another config directory like this: /etc/amanda/bgserver-Daily-roots /etc/amanda/bgserver=Daily-home If this is the right idea, I also need to know if I just copy ALL of the files (except disklists of course) from one directory to the other so that they match? Here's a list of files that would be listed in one of the above pseudo-directories. Which ones need to be copied accross to the other config directory? Assume I have been only running backups on bgserver-Daily-roots. These files are now already existing in that directory. amanda.conf mtx-changer-access mtx-changer-clean mtx-changer.conf mtx-changer-barcodes mtx-changer-slot tapelist tapelist.amlabel tapelist.yesterday disklist Now say I add a 80 gig home directory to the server. How should I configure Amanda to start a new tape when it gets to this new remote partition? Thanks a million! Scott Phelps
New prob: Disk Offline? error
OK, I am running my first dump. amcheck returns 0 errors now, but heres a new problem I need help with. Can anybody tell me why I am getting these errors? The only clue I have is that /boot was not mounted. Thanks Again!! <> planner: time 5.802: got result for host client01 disk /samba: 0 -> -1K, -1 -> -1K, -1 -> -1K planner: time 5.803: got result for host client01 disk /home: 0 -> -1K, -1 -> -1K, -1 -> -1K planner: time 5.803: got result for host client01 disk /var: 0 -> -1K, -1 -> -1K, -1 -> -1K planner: time 5.803: got result for host client01 disk /: 0 -> -1K, -1 -> -1K, -1 -> -1K planner: time 5.803: got result for host client01 disk /boot: 0 -> 3538K, -1 -> -1K, -1 -> -1K planner: time 5.803: getting estimates took 5.796 secs FAILED QUEUE: 0: client01 /samba 1: client01 /home 2: client01 /var 3: client01 / DONE QUEUE: 0: client01 /boot ANALYZING ESTIMATES... pondering client01:/boot... next_level0 -12297 last_level -1 (due for level 0) (new disk, can't switch to degraded mode) curr level 0 size 3538 total size 3715 total_lev0 3538 balanced-lev0size 176 planner: FAILED client01 /samba 20030901 0 [disk /samba offline on rid96pdc?] planner: FAILED client01 /home 20030901 0 [disk /home offline on rid96pdc?] planner: FAILED client01 /var 20030901 0 [disk /var offline on rid96pdc?] planner: FAILED client01 / 20030901 0 [disk / offline on rid96pdc?] --- Scott Phelps
Re: amcheck: Permission Denied
I fixed it. I needed execute permissions on the devices. Thanks.
amcheck: Permission Denied
I'm stumped When I run amcheck I get: Amanda Tape Server Host Check - Holding disk /dumps/amanda: 78137024 KB disk space available, using 78137024 KB amcheck-server: slot 2: date Xlabel DailySet1-VOL2 (first labelstr match) NOTE: skipping tape-writable test Tape DailySet1-VOL2 label ok NOTE: info dir /var/spool/amanda/DailySet1/curinfo: does not exist NOTE: it will be created on the next run Server check took 11.399 seconds Amanda Backup Client Hosts Check ERROR: client99: [could not access /dev/hde1 (/dev/hde1): Permission denied] I have added amanda to the disk group on both server and client. Both sides have respective .amandahosts entries as outlined @ Frankenlinux And I changed the group on the /dev files (../ide/* & ../hde1) to disk. Any help much appreciated!! -- Scott
Re: Does amanda need a shell?
On Sunday 31 August 2003 07:41 pm, Stefan Keel wrote: > Amanda does need its own user to operate. You can create a new user, named > Amanda, and make the user a part of the 'disk' group. This gives Amanda > permission to do its stuff. > > There's good information here... > > http://people.web.psi.ch/bearpark/mirror/frankenlinux.com/guides/amandaintr >o.html > > ...that discusses the Amanda user, and specific permissions that the Amanda > user needs to have in order to operate effectively, as well as a good deal > of additional advice. You can also check the docs directory of the source > for more information. Thank you so much! That site is awesome and I fixed my problem. -- Scott
Does amanda need a shell?
Hi, I am a new subscriber and a new user of Amanda. I'm just getting it set up and, I was reading through my new copy of Curtis Preston's book when I came to the point where I need to issue the command: # su amanda -c "amlabel DailySet-01 VOL1 slot 1" The problem is that nothing happens because (correct me if I'm wrong) su -c will not work without that user having a shell account. I have all of my config files set up, and i am really anxious to start using it. Could somebody shed some light on how to use Amanda's commands? Thanks, Scott