Operating System - HP-UX
1748228 Members
4473 Online
108759 Solutions
New Discussion юеВ

fbackup to wrong path-root full

 
SOLVED
Go to solution
Fauziah Mahdan
Super Advisor

fbackup to wrong path-root full

Hi all,
I run fbackup just now but the path was wrong and it goes to root directory and make my root full.
What type of files I can remove from root directory which is generated due to fbackup command?
8 REPLIES 8
Mridul Shrivastava
Honored Contributor
Solution

Re: fbackup to wrong path-root full

you mean to say that you created backup it self on the root filesystem instead of taking on tape ??

If that so then delte index and backup files then initiate the backup once again using the old graph file on tape or a new path.. If you are not sure then you can keep a copy of the current things in some other directory. Once you are sure that it is not required then those files can be deleted.
Time has a wonderful way of weeding out the trivial
Fauziah Mahdan
Super Advisor

Re: fbackup to wrong path-root full

Yes i believe.
What is the index file name?
I did not see any big lates file created which can cause the root full.
Shrikant Lavhate
Esteemed Contributor

Re: fbackup to wrong path-root full

Index file is the file which contains all info about backed up files. During running fbackup you should give index file name with -I option so that you can view it later to trace backed up items.

-=ShRi=-
Will it remain a personal, if I broadcast it here!
whiteknight
Honored Contributor

Re: fbackup to wrong path-root full

Fauziah,

Check your tape device, see got any big files written to device

#ll /dev/rmt/*

WK
Problem never ends, you must know how to fix it
Fauziah Mahdan
Super Advisor

Re: fbackup to wrong path-root full

OK I think I know but need some clarification.
I was typing command fbackup -vf /dev/rmt/2m -i /

The right command should in /dev/rmt/0m

So when I check /dev/rmt
I found filename 2m
SO temp I move this 2m and my root decrease to 27% and rerun another backup into the right path /dev/rmt/0m (dds4tape).

Pls comment

Mridul Shrivastava
Honored Contributor

Re: fbackup to wrong path-root full

yes, you got it right.... that was the archive file which contains all the backed up files...

Now you can safely re-run the fbackup using the correct device file name... for more details and options please refer man pages.
Time has a wonderful way of weeding out the trivial
Bill Hassell
Honored Contributor

Re: fbackup to wrong path-root full

All of the backup programs such as fbackup or tar or cpio will not tell you if the output device does not exist. Instead, if you make a spelling error, in your case, 2m rather than 0m, then the programs will create an ordinary file and put all of the data in that file. Remove the 2m file as it was a mistake. Always verify that the output file, the -f option, is the correct tape drive. The lssf command is useful:

lssf /dev/rmt/2m
lssf /dev/rmt/0m

The man page for lssf is useful.


Bill Hassell, sysadmin
Fauziah Mahdan
Super Advisor

Re: fbackup to wrong path-root full

Thanks all
:-)