Solved

Backing up ENTIRE SUN SERVER

Posted on 1998-11-16
3
221 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…
Suggested Courses

615 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