It is currently Mon May 20, 2013 11:34 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: System snapshot recommendations
PostPosted: Mon Jan 10, 2011 12:32 pm 
Offline

Joined: Sat Sep 05, 2009 6:35 pm
Posts: 287
[Moderator note: This thread replies to a related but separate topic about registry defrag.]

webfork wrote:
For my part, I just reinstall Windows every 6-9 months.

Wouldn't it be easier to take a snapshot (PartClone, Partimage) after a clean install.

I can restore an image of a fresh clean system in ~3 min.


Last edited by webfork on Tue Jan 11, 2011 12:08 pm, edited 1 time in total.
(added moderator note)


Top
 Profile  
 
 Post subject: Re: Do you defrag your registry?
PostPosted: Mon Jan 10, 2011 1:26 pm 
Offline
User avatar

Joined: Wed Apr 11, 2007 8:06 pm
Posts: 3473
Location: US, Texas
Ruby wrote:
webfork wrote:
For my part, I just reinstall Windows every 6-9 months.


Wouldn't it be easier to take a snapshot (PartClone, Partimage) after a clean install.

I can restore an image of a fresh clean system in ~3 min.

Yes I have a system using VMware under Mac. I haven't worked out a system snapshot system like Returnil, DeepFreeze, or one of the ones you suggested simply because I don't have multiple Windows systems running anymore. However, if you'd like to list your setup, I'd be curious to hear it.

_________________
Supporting the Electronic Frontier Foundation | DuckDuckGo user | My GPG key | Projects donated to: VLC, CubicExplorer, Ditto, Greenshot, TrueCrypt


Top
 Profile  
 
 Post subject: Re: Do you defrag your registry?
PostPosted: Mon Jan 10, 2011 2:28 pm 
Offline
User avatar

Joined: Sat Jul 31, 2010 1:19 am
Posts: 807
Location: Helsinki, Finland
webfork wrote:
Ruby wrote:
Wouldn't it be easier to take a snapshot (PartClone, Partimage) after a clean install.

I can restore an image of a fresh clean system in ~3 min.

Yes I have a system using VMware under Mac. I haven't worked out a system snapshot system like Returnil, DeepFreeze, or one of the ones you suggested simply because I don't have multiple Windows systems running anymore. However, if you'd like to list your setup, I'd be curious to hear it.


Neither Returnil nor DeepFreeze actually create snapshots. They just block or redirect write operations so that they're never committed. The result is that it's impossible to make any pernament changes to the system.

Partclone, FSArchiver, partimage etc. have a different approach. They do create a snapshot. They don't attempt to keep the data from being changed, but if you want to revert the changes later, you can restore the disk image. After restoring, the content of the hard drive will be mostly equal* to the original state.

----

Ruby described the following setup:

  1. Install Windows.
  2. (optional) Install essential things such as drivers.
  3. Create a disk image.**
  4. Want to go back to the end of step 2? Just restore the image. ;)

*Almost everything, including physical locations of the files, will be restored. However, unused areas of the disk are not usually cloned. Most importantly, if you create a new file and restore a disk image after that, a tool such as Recuva or PhotoRec might be able to recover the file.

**Our instructions for Clonezilla Live. Ruby himself has recommended RIPLinuX instead.

_________________
My YouTube channel | Release date of my fourth playlist: April 11, 2013


Top
 Profile  
 
 Post subject: Re: Do you defrag your registry?
PostPosted: Mon Jan 10, 2011 9:27 pm 
Offline

Joined: Mon Feb 15, 2010 1:23 am
Posts: 84
A disk image basically is just a backup of the whole harddisk (or partition). Difference to backup via files is that it doesn't copy files - it doesn't even understand much about what a filesystem is - it just makes a raw data copy of a partition, so that you can later restore it.

If the current opensource solutions for disk imaging are too complicated for your taste (they are for me), then you could consider one of the commercial vendors, like Paragon or Acronis.

My take on this approach? Well, let me put it this way: It confuses me that people exist who do not do this. This should be standard practice on any PC in the world: You invest hours to install an OS and create the initial base environment - why not invest 10 minutes, perhaps 30 EUR and a few gigabytes, so that for this PC, you never have to do it again, and can instead whenver you want put the system back into this initial state with a 10 minutes restore-job?


Top
 Profile  
 
 Post subject: Re: Do you defrag your registry?
PostPosted: Mon Jan 10, 2011 11:16 pm 
Offline

Joined: Sat Sep 05, 2009 6:35 pm
Posts: 287
SYSTEM wrote:
*Almost everything, including physical locations of the files, will be restored.

I don't want anybody to be mislead by that statement.

When I restore an image/snapshot of my system my system is returned to the exact state it was in at the time it was copied/cloned; block for block, byte for byte.

lyx wrote:
You invest hours to install an OS and create the initial base environment


This is exactly what I just recently have done (01-01-11).

Clean install of Vista, reboot, install SP1, reboot, run Vista SP1 clean up tool, reboot, install SP2, reboot,
run SP2 clean up tool, reboot, install a few Windows security updates, reboot, run CCleaner, stop and start Explorer,
reboot. Let system settle in for ~10 min. run defrag and shutdown.

I now boot into a Linux rescue disk and run any one of the cloning/imaging programs and I now have a 'Stock' clean
image of my system.

I then boot back into Windows, install Antivirus/Security programs, disable some services, some registry tweaks, some
right-click entries, and anything else I want to be in my restore image. Run CCleaner and restart. Let system settle in,
run defrag and shutdown.

Now back into a Linux rescue disk and again run the cloning/imaging program and I now have a second image to be used
as my system backup.

Having that 'Stock' image/snapshot is good if you ever feel like you want a Fresh, Clean Install.

I can now restore to my 'Stock' or system backup image in under 3 minutes!

Anyway apologies to the OP as it seems I may have Hijacked this thread.


Top
 Profile  
 
 Post subject: Re: Do you defrag your registry?
PostPosted: Tue Jan 11, 2011 12:09 pm 
Offline
User avatar

Joined: Wed Apr 11, 2007 8:06 pm
Posts: 3473
Location: US, Texas
Ruby wrote:
Anyway apologies to the OP as it seems I may have Hijacked this thread.

Not at all -- it was easy to split the two threads and its a topic I'm interested in.

_________________
Supporting the Electronic Frontier Foundation | DuckDuckGo user | My GPG key | Projects donated to: VLC, CubicExplorer, Ditto, Greenshot, TrueCrypt


Top
 Profile  
 
 Post subject: Re: System snapshot recommendations
PostPosted: Tue Jan 11, 2011 4:18 pm 
Offline

Joined: Sat Sep 05, 2009 6:35 pm
Posts: 287
webfork wrote:
However, if you'd like to list your setup, I'd be curious to hear it.


Basically, once I have my system setup the way I want it, I shutdown and boot into a Linux distro.

For me, RipLinuX is my favorite but there are plenty others that have the tools to image/clone your system partition.

Once Rip is loaded (mere seconds) I mount my Windows partition (sda1 in my case) and delete 'hiberfile.sys' and 'pagefile.sys'
(they'll be recreated on Windows start) to save ~2GB on my restore image. YMMV

I then unmount Windows partition (sda1), open a console window, and type the following code:
Code:
partclone.ntfs -c -d -s /dev/sda1 | gzip -c > /mnt/sdb1/path/to/external_drive/image

That's it! Simple as can be. If you like, you can append an ext to the file, i.e. image.gz but it's really not necessary, I don't.

To restore the image you can mount any other partitions on the hard drive (a little safer) except the one you're restoring.
The restore code:
Code:
zcat /mnt/sdb1/path/to/external_drive/image | partclone.ntfs -r -d -o /dev/sda1


To copy out is ~20 min for my 8.5 GB (after delete 2 files) > 3.5 GB image.
To restore is ~3 min!

PartClone:
-c - Clone command
-d - Debug - Shows debug info; outputs to the console, i.e. time, time left, copied etc.
-s - Source FILE can be a partition or image file.
-o - Output FILE can be a partition.
-r - Restore from the image file.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group