Operating System - HP-UX
1834811 Members
2841 Online
110070 Solutions
New Discussion

Re: fbackup without tape drive

 
SOLVED
Go to solution

fbackup without tape drive

Hi,
manpage of fbackup (HP-UX 11.00) says:
"The output device can be a raw magnetic tape drive (for example, a DLT tape drive), the standard output, a rewritable magneto-optical disk, or a file".

I would prefer to backup a file system (11 GB) to another free disk.
Please tell me the fbackup-syntax for the "file"-output.

Thank you all,
Michael

5 REPLIES 5
Ivan Krastev
Honored Contributor

Re: fbackup without tape drive

TY 007
Honored Contributor

Re: fbackup without tape drive

Hi,

Issue command:
# fbackup -vf -i

Example (fbackup /usr filesystem):
# fbackup -vf /disk1/usr-20070807.fbackup -i /usr

If you intend to compress the the fbackup file:
# gzip -9

Example:
# cd /disk1
# gzip -9 usr-20070807.fbackup

You should see the final compressed file: /disk1/usr-20070807.fbackup.gz

Thanks








Rasheed Tamton
Honored Contributor
Solution

Re: fbackup without tape drive

Hi,

/usr/sbin/fbackup -f /var/tmp/backupfile -i /home/micahel

(the above would create a fbackup archive file called backupfile in /var/tmp comprising the contents of /home/micahel

To see the contents of the arhcive:
frecover -I `tty` -f /var/tmp/backupfile

Regards,
Rasheed Tamton.


Steven Schweda
Honored Contributor

Re: fbackup without tape drive

> If you intend to compress the the fbackup
> file:
> [...]

If you want compression, it would make more
sense to use a pipeline, as in the the thread
cited above. Although, as noted there, I'd
use bzip2 or gzip, rather than "compress" as
the compression program, but any of them
could be used in a pipeline, reducing the
transient demand for disk space.

Re: fbackup without tape drive

Hi all,
thank you for your solutions,
also for the frecover command.
Bye, Michael