Solved

Backing up ENTIRE SUN SERVER

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
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…
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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

932 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

16 Experts available now in Live!

Get 1:1 Help Now