Solved

Backing up ENTIRE SUN SERVER

Posted on 1998-11-16
3
217 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

Independent Software Vendors: 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

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
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…

734 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