PDA

View Full Version : no files in backup, only directories



FHogenhout
April 19th, 2011, 02:34 AM
I am performing some restore-tests just to check "if evrything I need is the backup".
I now see that the backup made does only contain directories and no files.

As we have 2 datacentres with similar configurations we use 2 amanda-servers with similar configurations. While the same setup is used in a similar situation th ebackup made using auth = ssh does backup files as well.

We use auth=ssh for this specific server were we use auth=bsdtcp by default.

from amanda.conf ;

define dumptype global {
program "GNUTAR"
auth "bsdtcp"
compress fast
priority high
index yes
record yes # Only for production runs
exclude list "/var/lib/amanda/daily.exclude"
}

define dumptype comp-tar {
comment "Default Used Dumptype"
global
}

define dumptype ssh-comp-tar {
comment "For dumps using SSH-authentication"
global
auth "ssh"
ssh_keys "/var/lib/amanda/.ssh/id_rsa_amdump"
client_username "amandabackup"
amandad_path "/usr/libexec/amanda/amandad"
}

disklist-entry;
server / ssh-comp-tar

Does anyone have any idea why this occurs ?

FHogenhout
April 27th, 2011, 02:35 AM
OK, found an old post which set me on the right track.
It seems that we don't have enough tapes (diskspace) to store all the full-backups.

Have seen the message: Last full dump overwritten in 1 run
but misinterpreted this message. Thought that Amanda would figure out that there was no full dump so would perform a full dump in the next run.

Because the full dump was overwritten, a lot of files were not shown when I want to restore, all directories were still there.

So, guess we have to increase our diskspace to make the backup's like we want to.