Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
There are several ways to do that.
You must have a ready volume, or partition, or separate space to store the image into.
First use rsync. root--# rsync -rplog / /mnt/drive/myimage
Second, use dd. --root# dd if=/dev/mysolarixpartition /mnt/some_other_partition/mysolarisimage.iso
Third, us cp (copy).
Or use " tar " to archive the / files.
Make a little research on the webs about "rsync" there are plenty of options you can choose with to fit your desire. rsync is very versatile. Read also some intructions about " dd ". Both shall copy a running system. Don't worry if cache and live files are ignored.
Enjoy.
Last edited by malekmustaq; 09-05-2014 at 12:41 PM.
I would like to take the image of my Solaris box before going to patch the box
Hi Mustaq
Thank you for your input to my query, will check with those.
Regards
Saroj M.
Quote:
Originally Posted by malekmustaq
There are several ways to do that.
You must have a ready volume, or partition, or separate space to store the image into.
First use rsync. root--# rsync -rplog / /mnt/drive/myimage
Second, use dd. --root# dd if=/dev/mysolarixpartition /mnt/some_other_partition/mysolarisimage.iso
Third, us cp (copy).
Or use " tar " to archive the / files.
Make a little research on the webs about "rsync" there are plenty of options you can choose with to fit your desire. rsync is very versatile. Read also some intructions about " dd ". Both shall copy a running system. Don't worry if cache and live files are ignored.
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
Quote:
Originally Posted by saroj1439
Hi Mustaq
Thank you for your input to my query, will check with those.
Did you understood both of my replies?
None of Mustaq suggestions will take a synchronous image of a the partition.
If your goal is to backup static files, then "rsync" and "tar" should be fine but "dd" will create a partially or totally unusable file system.
If your goal is to take an image of a running Solaris, use the snapshot approach, i.e. something that take an instantaneous copy of a running file system.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.