Solved

Backing up ENTIRE SUN SERVER

Posted on 1998-11-16
3
203 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
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 how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…

771 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now