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 ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| · 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 |
| ||||
| 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 |