how do I make a backup?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers how do I make a backup?
# 1  
Old 09-26-2002
Network how do I make a backup?

Hi all,

I am having problems trying to get a backup of the whole machine using two tapes. This is because it doesn't fit onto one tape. I am using a machine with HP-UX version B.10.20.

I'll try and sketch the problem

I have these file systems (output of bdf):
/
/stand
/var
/volA
/volB
/tmp
/usr

I want to put
/
/stand
/tmp
onto one tape and
/var
/volA
/volB
/usr
onto another tape

Backing up all file systems except the root (/) goes fine, but if I back up the root filesystem it grabs the rest also.

So, I suppose my question is; How do I backup the root file system WITHOUT grabbing the other mounted file systems?

I have also read the man pages on tar and cpio but still can't get it to work the way I would like it to.

thanks,
Ivo
# 2  
Old 09-26-2002
If you search this site for hp-ux backup you will find many discussions on backup for hp. Your using tar or cpio is probably not the best choice (for the reasons you state) so the other posts on the site should help...


like this one
# 3  
Old 09-26-2002
The thread that RTM provided is a useful link to look at.

In brief, proceeding on the assumption you do not have any specific third party backup software, I would recommend using a fbackup in conjunction with a graphfile. This will allow you two split the backup between two tapes.

Create two files that contain the following:

File one:

i /
i /stand
i /tmp
e /var
e /volA
e /volB
e /usr

File two:
i /var
i /volA
i /volB
i /usr


If you have other filesystems that you have not mentioned place the appropriate letter before them in these grapfiles - i = include in the backup, e = exclude in the backup.

Now specify these graphfiles in the fbackup command:

fbackup -f [tape_device] -g /path/to/graphfile

Execute this command twice - once for each graphfile.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Help with Backup Shell Script for Network Device Configuration backup

HI all, im new to shell scripting. need your guidence for my script. i wrote one script and is attached here Im explaining the requirement of script. AIM: Shell script to run automatically as per scheduled and backup few network devices configurations. Script will contain a set of commands... (4 Replies)
Discussion started by: saichand1985
4 Replies

2. Shell Programming and Scripting

rsync backup mode(--backup) Are there any options to remove backup folders on successful deployment?

Hi Everyone, we are running rsync with --backup mode, Are there any rsync options to remove backup folders on successful deployment? Thanks in adv. (0 Replies)
Discussion started by: MVEERA
0 Replies

3. Shell Programming and Scripting

Find all .htaccess files and make a backup copy in respective directories

Hey guys, I need to know how to locate all .htaccess files on the server and make a backup of them in the folder they reside before I run a script to modify all of them. So basically taking dir1/.htaccess and copying it as dir1/.htaccess_bk dir2/.htaccess copying as dir2/.htaccess_bk... (5 Replies)
Discussion started by: boxx
5 Replies

4. AIX

Make system backup for 2 nodes HACMP cluster

Hi all, I was wondering if someone direct me in how to Make system backup for 2 nodes HACMP cluster ( system image ) . What are the consideration for this task (3 Replies)
Discussion started by: h@foorsa.biz
3 Replies

5. UNIX for Advanced & Expert Users

how to make a full system backup excluding data and restoring it to a new system

Hi, In order to have a sand box machine that I could use to test some system changes before going to production state, I'd like to duplicate a working system to a virtual one. Ideally, I'd like to manage to do it this way : - Make a full system backup excluding the user file system (this... (7 Replies)
Discussion started by: pagaille
7 Replies

6. Solaris

I need make backup of OS solaris 10

Hello I need to do some backup of operation system Solaris 10, but I donīt know how can I do, I would like to do this backup in tape, but I need to do this backup in both to disk and to tape. How can I do backup of solaris 10 Operation System to disk? How can I do backup of solaris 10... (1 Reply)
Discussion started by: cata
1 Replies

7. Solaris

Gani Network Driver Won't Install - make: Fatal error: Don't know how to make targ...

I attached a README file that I will refer to. I successfully completed everything in the README file until step 4. # pwd /gani/gani-2.4.4 # ls COPYING Makefile.macros gem.c Makefile Makefile.sparc_gcc gem.h Makefile.amd64_gcc ... (1 Reply)
Discussion started by: Bradj47
1 Replies

8. SCO

Backup to SCSI Tape Backup aborts

I am trying to make a full backup of my system using the cpio command. The Tape Unit is a SCSI DDS. The process started fine but after about 30 minutes, it just stopped and showed the following message: 1755 Signal 31 - Core dumped Any idea of what is causing this and how to fix it? ... (4 Replies)
Discussion started by: zionpc
4 Replies

9. UNIX for Dummies Questions & Answers

Check backup file size on backup tape

Hi, I performed backup on tape and I want to append more files to my previous backup on the same backup tape. But before I do that I need to know the backup file size of the first backup I performed so that I know the available size on the backup tape. Can someone help me what command I will use... (0 Replies)
Discussion started by: ayhanne
0 Replies
Login or Register to Ask a Question