Hi people! I am trying to create a backup server using Amanda , so I have installed it on a machine (enseada), configurate the server and a client (itaunas) just for a test. The client have a /homelocal directory with 8 Gb and and the server have a dds-2 tapedriver with uses 4Gb tapes (I have 5 of then). So the server must use at least 2 tapes per dump. I use "amcheck" to test my backup configuration (quinzenal) and it is ok. So I decide to test my backup and executed "amdump", but after some minutes the following errors apears: These dumps were to tape quinzenal01. The next 5 tapes Amanda expects to used are: a new tape, quinzenal02, quinzenal03, quinzenal04, quinzenal05. FAILURE AND STRANGE DUMP SUMMARY: itaunas /homelocal lev 0 FAILED [dump larger than tape, 3959705 KB, but cannot incremental dump new disk] planner: FATAL cannot fit anything on tape, bailing out ... I dont understeand. I know that my directory is bigger than my tape but why dont Amanda ask for another tape? Help! :) Thanks Adilson
Quoting Adilson Oliveira Cruz
FAILURE AND STRANGE DUMP SUMMARY: itaunas /homelocal lev 0 FAILED [dump larger than tape, 3959705 KB, but cannot incremental dump new disk] planner: FATAL cannot fit anything on tape, bailing out ...
I dont understeand. I know that my directory is bigger than my tape but why dont Amanda ask for another tape?
Amanda will not backup chunks larger than a tape. A way to handle this is to make a chunk that is smaller than the whole partition. For example: itaunas /homelocal/user1 comp-user itaunas /homelocal/user2 comp-user itaunas /homelocal/user3 comp-user AFAICT, Amamda does not support wildcards in disklist. If you are using GNU tar for compression, you can use symlinks and exclude lists. For example: Make symlinks to /home_local: ln -s /homelocal /homelocal_a-m ln -s /homelocal /homelocal_n-z ln -s /homelocal /homelocal_rest Add the following to disklist: itaunas /homelocal_a-m { user-tar exclude list ".exclude_all_but_a-m" compress server fast } 2 le0 # no line break before spindle and interface itaunas /homelocal_n-z { user-tar exclude list ".exclude_all_but_n-z" compress server fast } 2 le0 # no line break before spindle and interface itaunas /homelocal_rest { user-tar exclude list ".exclude_a-z" compress server fast } 2 le0 # no line break before spindle and interface I have have not tried this, but it does pass amcheck. I am assuming that /homelocal is users' home directories, i.e., there are a lot of them. If there are only a few sub-directories in /homelocal, make each one a backup chunk and forget the mess above. HTH, Jeffrey
participants (2)
-
Adilson Oliveira Cruz
-
Jeffrey L. Taylor