Hmmmm, Marc N. Cannava wrote:
> An observation I've made -- > > On my Amanda server, in /usr/local/var/amanda/gnutar-lists, I did an ls > and I don't see any files that relate to my Samba share: > > [amanda@sevenof9 gnutar-lists]$ ls -l > total 2952 > -rw------- 1 amanda backup 375105 May 23 03:22 sevenof9__0 > -rw------- 1 amanda backup 376640 May 25 03:09 sevenof9__1 > -rw------- 1 amanda backup 376596 May 28 03:09 sevenof9__2 > -rw------- 1 amanda backup 376862 May 31 03:25 sevenof9__3 > -rw------- 1 amanda backup 376891 Jun 2 03:30 sevenof9__4 > -rw------- 1 amanda backup 376926 Jun 3 03:35 sevenof9__5 > -rw------- 1 amanda backup 9197 Jun 10 03:06 sevenof9_etc_0 > -rw------- 1 amanda backup 9197 Jun 11 03:07 sevenof9_etc_1 > -rw------- 1 amanda backup 7792 Jun 10 03:08 sevenof9_home_0 > -rw------- 1 amanda backup 8515 Jun 11 03:08 sevenof9_home_1 > -rw------- 1 amanda backup 16294 Jun 10 03:07 sevenof9_lib_0 > -rw------- 1 amanda backup 16294 Jun 11 03:07 sevenof9_lib_1 > -rw------- 1 amanda backup 11 Jun 10 03:06 sevenof9_misc_0 > -rw------- 1 amanda backup 11 Jun 11 03:07 sevenof9_misc_1 > -rw------- 1 amanda backup 11 Jun 10 03:05 sevenof9_opt_0 > -rw------- 1 amanda backup 11 Jun 11 03:07 sevenof9_opt_1 > -rw------- 1 amanda backup 307939 Jun 11 03:23 sevenof9_usr_0 > -rw------- 1 amanda backup 307939 Jun 10 03:12 sevenof9_usr_1 > > > Shouldn't I see files called "sevenof9_samba*" etc.? These files get created by tar, not amanda. They only could exist, if amanda would use smbmount and tar to create the samba backups. But amanda calls smbclient with the options needed to create a tar compatible archive directly, and smbclient doesn't create these files. > Could the lack of this file be causing Gnutar to delete my incremental > restores on Samba shares but not on the Linux filesystems? This seems to be plausible to me. i had a look at sources of amrecover and found that tar gets called with the options "-xpGvf" for restoring normal tar and samba backups. i'm wondering if the "G" option is correct for samba backups. Question to the amanda devellopers on the list: In the situation of restoring a samba backup to local unix/linux-disk shouldn't the "G" in the tar-options be droped? I beleave tar could missbehave if it is told to recover an incremental backup and does't find the listfile for that backup. second question: is option "G" correct to restore incrementals created with tar-option --listed-incremental, shouldn't it be "g" in this case? Christoph
