Unix Technical Forum

Expand file system.

This is a discussion on Expand file system. within the Sun Solaris Administration forums, part of the Solaris Operating System category; --> I'm going to do a major work on a file system, how do I backup/restore the file system to/from ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > Sun Solaris Administration

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 10:22 AM
Mitch J.
 
Posts: n/a
Default Expand file system.

I'm going to do a major work on a file system,
how do I backup/restore the file system to/from
another system (using ssh to login).

Thanks,
M.J.



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2008, 10:22 AM
Alexander Skwar
 
Posts: n/a
Default Re: Expand file system.

· Mitch J. <tsmclcenbt@comcast.net>:

> I'm going to do a major work on a file system,


Like?

> how do I backup/restore the file system to/from
> another system (using ssh to login).


Generic answer: Create a tar (or cpio) file, eg. like so (run
from "another system"):

Backup:
ssh host "cd /file-system ; tar cf - ." > file-system.tar
Restore:
ssh host "cd /file-system ; tar xf -" < file-system.tar

A more specific answer depends on what tools you've got
available and on what file-system type (eg. ZFS vs. UFS vs. ...)
you've got and what you've actually want to do.

Alexander Skwar
--
The Ancient Doctrine of Mind Over Matter:
I don't mind... and you don't matter.
-- As revealed to reporter G. Rivera by Swami Havabanana

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-16-2008, 10:22 AM
Moody
 
Posts: n/a
Default Re: Expand file system.

On Mar 26, 10:59 am, "Mitch J." <tsmclce...@comcast.net> wrote:
> I'm going to do a major work on a file system,
> how do I backup/restore the file system to/from
> another system (using ssh to login).
>
> Thanks,
> M.J.


I would say you should go for the ufsdump for taking backup and then
ufsrestore for restoring the backup again and in between you need to
ftp the backup file on another system .


that's compact and elegent way to backups.

regards,

Moody

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:34 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com