Hi all, I’m testing the restore process with Amanda and I’m getting this error with amfetchdump:
amfetchdump -p -a zfs-dataset ci-master rpool/jenkins 20170822000017 > 1 volume(s) needed for restoration > The following volumes are needed: slot-6 > ERROR: Attempt to read past tape-end file And here is the list of the relevant backups: > backup@backup-server:~$ amadmin zfs-dataset find --sort D ci-master > rpool/jenkins > > date host disk lv tape or file file part status > 2017-08-29 00:00:17 ci-master rpool/jenkins 2 slot-13 3 1/1 OK > 2017-08-28 00:00:17 ci-master rpool/jenkins 2 slot-12 1 1/1 OK > 2017-08-27 00:00:17 ci-master rpool/jenkins 2 slot-11 1 1/1 OK > 2017-08-26 00:00:17 ci-master rpool/jenkins 1 slot-10 3 1/1 OK > 2017-08-25 00:00:17 ci-master rpool/jenkins 1 slot-9 3 1/1 OK > 2017-08-24 00:00:17 ci-master rpool/jenkins 1 slot-8 3 1/1 OK > 2017-08-23 00:00:17 ci-master rpool/jenkins 1 slot-7 3 1/1 OK > 2017-08-22 00:00:17 ci-master rpool/jenkins 0 slot-6 3 1/1 OK > 2017-08-21 00:00:17 ci-master rpool/jenkins 2 slot-5 1 1/1 OK > 2017-08-20 00:00:17 ci-master rpool/jenkins 2 slot-4 1 1/1 OK > 2017-08-19 00:00:17 ci-master rpool/jenkins 2 slot-3 1 1/1 OK > 2017-08-18 00:00:17 ci-master rpool/jenkins 2 slot-2 1 1/1 OK > 2017-08-17 00:00:17 ci-master rpool/jenkins 1 slot-1 3 1/1 OK > 2017-08-16 00:00:17 ci-master rpool/jenkins 1 slot-15 1 1/1 OK > 2017-08-15 00:00:17 ci-master rpool/jenkins 1 slot-14 1 1/1 OK In other words, I’m trying to fetch the level 0 backup. Also, it should be noted that I’m using “tapes” with other Amanda clients as well.: > backup@backup-server:~$ amadmin zfs-dataset find --sort D | grep slot-6 > 2017-08-22 00:00:17 backup-server rpool/amanda-conf 1 slot-6 5 > 1/1 OK > 2017-08-22 00:00:17 backup-server rpool/amanda-state 1 slot-6 4 > 1/1 OK > 2017-08-22 00:00:17 ci-master rpool/jenkins 0 slot-6 3 > 1/1 OK > 2017-08-22 00:00:17 vpn-server rpool/openvpn 1 slot-6 2 > 1/1 OK > 2017-08-22 00:00:17 backup-server rpool/amanda-home 1 slot-6 1 > 1/1 OK I’m sure I’m missing something here, because this is a real bummer. Anyone on this list willing to help me, please? -- Giorgio Valoti
