cancel
Showing results for 
Search instead for 
Did you mean: 

another silly question??

SOLVED
Go to solution
Ron Irving
Trusted Contributor

another silly question??

when using SAM to backup, and I just want to backup 1 directory, do I just add that directory into the include list, and nothing in the exclude list??

Thanx in advace

ron
Should have been an astronaut.
7 REPLIES
Alexander M. Ermes
Honored Contributor

Re: another silly question??

Hi there.
As far as i know, yes.
But with fbackup ( the backup program behind SAM ) you should try the command line statement. Check the manpages before that and do some tests.
Rgds
Alexander M. Ermes
.. and all these memories are going to vanish like tears in the rain! final words from Rutger Hauer in "Blade Runner"
Thierry Poels_1
Honored Contributor
Solution

Re: another silly question??


fbackup -v -f /dev/rmt/0m -i /your/dir

fbackup is a pretty nice backup utility, but using it through Sam is like driving a BMW in a Flintstone-way ;)
good luck,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
Ron Irving
Trusted Contributor

Re: another silly question??

Hahahaha...good one, Thierry...No bmw...new grand-prix, though...I'll have to take the floor out of it.
Should have been an astronaut.
Sachin Patel
Honored Contributor

Re: another silly question??

Hi Ron,
fbackup -f /dev/rmt/c?t?d?BEST -i /directory -0v (0=level, v=verbose)

or if you want multiple directory include and some to exclude use -g option

fbackup -f /dev/rmt/c?t?d?BEST -i /directory -0vg /graphfilename

graphfile
i /
i /home
e /var
etc......

Sachin
Is photography a hobby or another way to spend $
Ron Irving
Trusted Contributor

Re: another silly question??

but, if I wish to include everything, save one directory, my graph file should read,

i /
e /dir

correct??
Should have been an astronaut.
Thierry Poels_1
Honored Contributor

Re: another silly question??

correct!
same for the command line : fbackup -i / -e /dir ...
Just mind the sequence, "-e /dir -i /" will take everyting again; but with the right combination you can get and leave whatever you want.
good luck,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
Sachin Patel
Honored Contributor

Re: another silly question??

Hi Ron,
Correct. But use "i" first then e.
i.e if I want to save /home /usr /sbin and I want to exclude /tmp, /var, /cdrom and /nfs directorys.
i /home
i /usr
i /sbin
e /tmp
e /var
e /cdrom
e /nfs

Or if I want to save everything except /tmp
i /
e /tmp


Sachin
Is photography a hobby or another way to spend $