1834513 Members
2314 Online
110068 Solutions
New Discussion

fbackup inconsistencies

 
Robin King_1
Regular Advisor

fbackup inconsistencies

I'm trying to troubleshoot our backups at the moment, as I'm convinced our incremental backups are backing up data that hasn't changed.

I've been reading about ensuring that the same graph file is used for the full and incrementtal backups, as fbackup bases it's incremental on specific graph files. I've also ensured I have the -u switch, to update the DB.

I decided to run a littel test on my home directory.

I created the /tmp/graph graph file, and awked the contents of my directory, so it would backup every file.

fbackup -v -g /tmp/graph -u -0 -f /dev/rmt/0m

fbackup(1421): no history is available for graph file /tmp/graph (below level 0)
fbackup(1004): session begins on Tue Apr 6 15:02:59 2004
fbackup(3203): volume 1 has been used 0 time(s)
fbackup(3024): writing volume 1 to the output file /dev/rmt/0m
1: .Xauthority
2: .dt
3: .dt/Desktop
4: .dt/Trash
5: .dt/Trash/.trashinfo
6: .dt/appmanager
7: .dt/errorlog
8: .dt/help
9: .dt/help/robink-lcwnc900.bacon-woodrow.com-0
10: .dt/help/robink-lcwnc900.bacon-woodrow.com-0/browser.hv
11: .dt/help/robink-lcwnc900.bacon-woodrow.com-0/browser00.ht
12: .dt/help/robink-lcwnc900.bacon-woodrow.com-0/browser01.ht
13: .dt/icons
14: .dt/sessions
15: .dt/startlog
16: .dt/tmp
17: .dt/types
18: .dt/types/fp_dynamic
19: .dtprofile
20: .profile
21: .sh_history
22: .ssh
23: .ssh/id_dsa
24: .ssh/id_dsa.pub
25: Aidrvlog.txt
26: Insight.ini
27: basil.err
28: basil.html
29: basil.txt
30: cfg2html.sh
31: js_copy
32: js_copy/.profile
33: test
34: test2
35: test3
fbackup(1005): run time: 23 seconds

I then made changes to the test* files, and re-ran using level 1.

fbackup(1418): the last level 0 session for graph /tmp/graph was
started : Tue Apr 6 15:02:59 2004
finished : Tue Apr 6 15:03:22 2004
fbackup(1004): session begins on Tue Apr 6 15:05:40 2004
fbackup(3203): volume 1 has been used 1 time(s)
fbackup(3024): writing volume 1 to the output file /dev/rmt/0m
1: .dt
2: .dt/Desktop
3: .dt/Trash
4: .dt/appmanager
5: .dt/help
6: .dt/help/robink-lcwnc900.bacon-woodrow.com-0
7: .dt/icons
8: .dt/sessions
9: .dt/tmp
10: .dt/types
11: .dt/types/fp_dynamic
12: .ssh
13: js_copy
14: test
15: test2
16: test3
fbackup(1005): run time: 13 seconds

My question is, why have those other files been backed up when they haven't changed?
4 REPLIES 4
Steve Steel
Honored Contributor

Re: fbackup inconsistencies

Hi

they are dirs

man page

Beginning at HP-UX Release 8.0, all directories lying on the path to a
file that qualifies for the incremental backup will also be on the
backup media, even if the directories do not qualify on their own
status.


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Robin King_1
Regular Advisor

Re: fbackup inconsistencies

I see your point, but there are no files in these direcories that qualify for backup.
SureshKumar_2
Valued Contributor

Re: fbackup inconsistencies

Hi robin

Plz observe the output of Both backups.

The reason is u would have been loged into dt, and .dt files will be accessed, when ever u r in X11.

Try with an different directory where only flat files are there, certainly you will not find out extra files.

All the best.
Things are very easy, when u know about it...
Robin King_1
Regular Advisor

Re: fbackup inconsistencies

I'm not logged into via an X session. I'm using straight telnet. But I'll try another directory.