Solved

Backing up ENTIRE SUN SERVER

Posted on 1998-11-16
3
213 Views
Last Modified: 2013-12-27
I got a sun server that have no tape drive but 2 hd.
Currently, hd1 is almost 80% full while my hd2 is use to backup database on the server as well.

I intend to backup the filesystem to hd2.
How can I do that ? The command to issue.
Afteer that, I will probably FTP the backup out and
burn it into some CD etc....

yeap.. you got the picture.. I got stingy mgnt..
haha...

Thanks.
0
Comment
Question by:slok
3 Comments
 

Expert Comment

by:tgreaser
ID: 2007880
Well what version of Sun OS or Solaris are you using?????
I would do a dump..  There are to many swithces and I dont know them all so go out to suns page and see what you can find or do a  man lookup on dump.  

Another option is to do a dd this command will make a image of your partion. This is probably what you want. Its not a flexable as a dump but you will have the images of your complete hard drive  partions and the data on them.. (kinda like a ghost image)

do a man look up on it too
0
 
LVL 3

Author Comment

by:slok
ID: 2007881
I manage to do a ufsdump.
Pretty fast and ftp the backup files out to a workstation to be archived.
Better than leaving it in the server.

Thanks.
0
 
LVL 4

Accepted Solution

by:
jlms earned 100 total points
ID: 2007882
If you have Solaris:

ufsdump 0uf /a_file_in_your_2nd_disk /filesystem_to_backup

So, lets assume you are backing up the root ( / ) filesystem, and that you want the backup file to go to something called ROOT.dmp in your second hard disk, that is mounted in /dumps, the command will be:

ufsdump 0uf /dumps/ROOT.dmp /

after this you can ftp ROOT.dmp wherever you want.

If you have a machine running SunOS the command to use is dump.

Please notice that you have to make this for each filesystem that you have.

  Don't use tar, dd or cpio by any means, dump and ufsdump are designed for full filesystem backups, tar, cpio and others are not.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question