PDA

View Full Version : List/Log of files having been backed up



lister171254
May 28th, 2011, 02:54 PM
Another newbie question.

Backups are working fine, but I have noticed that two of the directories /usr (size is 5.6GB) seems to be backed up completely every run. A similar issue is with /home/llist (9GB); I don't think I make that many changes in my home directory.


I there a way to find out what files were backed up in each run?

Thanks
------------------------------ Report ---------------------
Hostname: LeosLinux.zudiewiener.com
Org : MyConfig
Config : MyConfig
Date : May 29, 2011

These dumps were to tape MyConfig12.
The next 6 tapes Amanda expects to use are: 6 new tapes.
STRANGE DUMP SUMMARY:
LeosLinux.zudiewiener.com /home/llist lev 1 STRANGE (see below)



STATISTICS:
Total Full Incr. Level:#
-------- -------- -------- --------
Estimate Time (hrs:min) 0:07
Run Time (hrs:min) 0:26
Dump Time (hrs:min) 0:17 0:13 0:03
Output Size (meg) 14443.7 5725.4 8718.3
Original Size (meg) 14443.7 5725.4 8718.3
Avg Compressed Size (%) 100.0 100.0 100.0
DLEs Dumped 6 5 1 1:1
Avg Dump Rate (k/s) 14726.9 7274.7 45000.2

Tape Time (hrs:min) 0:03 0:01 0:01
Tape Size (meg) 14443.7 5725.4 8718.3
Tape Used (%) 1.0 0.4 0.6
DLEs Taped 6 5 1 1:1
Parts Taped 6 5 1 1:1
Avg Tp Write Rate (k/s) 88406.0 73931.7 101449

USAGE BY TAPE:
Label Time Size % DLEs Parts
MyConfig12 0:03 14G 1.0 6 6

STRANGE DUMP DETAILS:
/-- LeosLinux.zudiewiener.com /home/llist lev 1 STRANGE
sendbackup: start [LeosLinux.zudiewiener.com:/home/llist level 1]
sendbackup: info BACKUP=/bin/tar
sendbackup: info RECOVER_CMD=/bin/tar -xpGf - ...
sendbackup: info end
? /bin/tar: ./personal: Warning: Cannot stat: Permission denied
| Total bytes written: 9141811200 (8.6GiB, 46MiB/s)
sendbackup: size 8927550
sendbackup: end
\--------

NOTES:
planner: Last full dump of LeosLinux.zudiewiener.com:/boot on tape MyConfig11 overwritten in 3 runs.
planner: Last full dump of LeosLinux.zudiewiener.com:/bin on tape MyConfig11 overwritten in 3 runs.
planner: Last full dump of LeosLinux.zudiewiener.com:/etc on tape MyConfig11 overwritten in 3 runs.
planner: Last full dump of LeosLinux.zudiewiener.com:/usr on tape MyConfig11 overwritten in 3 runs.
planner: Last full dump of LeosLinux.zudiewiener.com:/var on tape MyConfig11 overwritten in 3 runs.
planner: Last full dump of LeosLinux.zudiewiener.com:/home/llist on tape MyConfig02 overwritten in 1 run.
planner: Full dump of LeosLinux.zudiewiener.com:/var promoted from 13 days ahead.
planner: Full dump of LeosLinux.zudiewiener.com:/usr promoted from 13 days ahead.
planner: Full dump of LeosLinux.zudiewiener.com:/etc promoted from 13 days ahead.
planner: Full dump of LeosLinux.zudiewiener.com:/boot promoted from 13 days ahead.
planner: Full dump of LeosLinux.zudiewiener.com:/bin promoted from 13 days ahead.
taper: tape MyConfig12 kb 14790330 fm 6 [OK]


DUMP SUMMARY:
DUMPER STATS TAPER STATS
HOSTNAME DISK L ORIG-GB OUT-GB COMP% MMM:SS KB/s MMM:SS KB/s
-------------------------- -------------------------------------- ----------------
LeosLinux.zu /bin 0 0 0 -- 0:02 3340.2 0:00 78100.0
LeosLinux.zu /boot 0 0 0 -- 0:02 73761.3 0:00 1151100.0
LeosLinux.zu /etc 0 0 0 -- 0:22 1971.7 0:00 442800.0
LeosLinux.zu /home/llist 1 9 9 -- 3:18 45000.1 1:28 101449.4
LeosLinux.zu /usr 0 5 5 -- 10:09 8214.7 1:16 65835.0
LeosLinux.zu /var 0 1 1 -- 2:50 4059.9 0:03 230706.7

(brought to you by Amanda version 3.2.2)

--------------------------------------------------------------------------------

lister171254
June 9th, 2011, 02:42 PM
I'd appreciate if anybody could let me know if the answer to my question is documented somewhere or to obvious for anybody to answer.

Thanks

jfarschman
June 15th, 2011, 09:20 AM
Lister,

This is not documented to my knowledge. It's in my personal knowledge base though:

dd if=the_file_on_tape bs=32k skip=1 | tar ztvf -

So, navigate to the appropriate slot location where you have the backups and then use an individual file name at the if and pipe it through tar to get the file listing. That will work.

dd if=00001.jira.mydomain.com._jira_jira_scripts.0 bs=32k skip=1 | tar ztvf -

That's the Unix method.

martineau
June 15th, 2011, 09:33 AM
The simpler way is to to look at the index file, if you enabled indexing.