The easiest way to prevent this from resulting in losing all your files is to create "images" of your hard disk partitions on an external hard disk or on another system. An "image" backup is the fastest and most complete. It includes all hidden files and special areas of the disk which define how the files are organized and where the free space is. This is a disaster recovery method and is not for archiving. Don't delete any files after you have created the "image" with the idea that you will be able to retrieve them from the "image"
Other backup methods which save your files will require you to reinstall programs you have, configure them and retrieve/install
updates after recovering multiple backups.
When you restore an "image", any configuration, customization or tailoring your have done will be restored.
You MUST do this periodically, perhaps quarterly. Any files you add to your computer, any emails you receive will be lost when the disk expires. Perhaps monthly is a better choice. Hey it's your nickel. It's only necessary to keep 2 sets of images (one incase something goes wrong with the most recent one (even that is a "belt and suspenders" attidude)
When the disk in your computer fails you can have a new one installed and then copy the partition images to it.
You can backup too often. A backup also helps protect you from loosing your data in the event of a virus infection or incorrect updates.
Many of these problems may go undetected for several days or weeks.
If you backup up very frequently AND do not retain several versions of backups, you might end up with no "un-posioned" backups to recover to.
You should consider getting an external hard disk for backups.
Since the advent of hard disks measured in the tens and hundreds of gigabytes it is no longer practicle to use DVDs since DVDs only hold 4+ GB.
You can use the same external disk to backup multiple systems and they're inexpensive.
( 500GB or 1TB $70). Don't leave the external drive connected to the system when not doing backups, see virus.
Another approach is to use free space on system X for backup of system Y and vise versa.
The description is at :
clonezilla.org
Ignore discussion about multicasting as that is related to taking an image of a "master" and replicating a set of student PCs from it.
A "live CD" is bootable CD that contains everything needed for the task at hand.
It is no dependence on any existing Miscrosoft, Mac, Linux operating system
or other software on any media.
ISO
file to download it.
ÛÛÛ
Û
slive-config: hostname user-setiup
rpcbind: Cannot open /run/rpcbind/rpcbind/xdr file for reading
EN.us
as a prefered language
Don't touch Keymap
Start clonezilla start clonezilla
Device-image work with disk or partitions using images
local_dev Use local device (E.g ; hard driver, USB drive)
samba_server Use SAMBA
using Another System running MS Windows or even Mac OS for the backup storage
sda1
.. (There is no "0")
sda2
. (this is a list of the partitions on your hard drive).
sdb1
The external harddrive. This is where the images will be saved.sdc1
sdc1 500GB_ntfs_external(In_Ext_HDD_1021_)_us
Which directory is for the Clonezilla image (only the first level of directories are shown,
and the Clonezilla image (i.e. directory) itself will be excluded. If there is a space in
the directory name, it will _NOT_ be shown)?:
/ Top_directory_in_the_local_device
$RECYCLE.BIN Dec_22
83fea1743140242b9c1c7305 Apr_27
BACKUPS Dec_21
|
Avail
able space on the destination.
Filesystem Size Used Avail Use% Mounted on
proc 0 0 0 - /proc
sysfs 0 0 0 - /sys
usbfs 0 0 0 - /proc/bus/usb
fusectl 0 0 0 - /sys/fs/fuse/connections
/dev/sdc1 466G 356G 111G 77% /tmp/local-dev
|
Saveparts
or savedisk
*Clonezilla is free (GPL) software, and comes with ABSOLUTELY NO WARRANTY*
This software will overwrite the data on your hard drive when restoring! It is recommended
to backup important files before restoring!***
///Hint! From now on, if multiple choices are available, you have to press space key to
mark your selection. An asterisk (*) will be shown when the selection is done///
Select mode:
savedisk Save_local_disk_as_an_image
saves all partitions with same options
saveparts Save_local_partitions_as_an_image
select different compression for each partition
restoredisk Restore_an_image_to_local_disk
restoreparts Restore_an_image_to_local_partitions
1-2-mdisks Restore_an_image_to_multiple_local_disks
recovery-iso-zip Create_recovery_Clonezilla_live
chk-img-restorable Check_the_image_restorable_or_not
exit Exit. Enter command line prompt
|
Robs_windowsC_yymmdd
…
Excluding busy parttition or disk ... Finding Partitions .... Partition number : nn actually number of partittions … dd
Choose the source partition(s) to save…Move cusor to the partition to save using arrow keys and
-sfsck Skip checking/repairing source file system
-scs No, skip checking the saved image
-senc not to encrypt -enc
-p choose choose … when backup finished -p reboot -p poweroff
*********** PS. Next time you can run this command directly: but why bother writing it down Press "Enter" to continue:... Activating the partition info Selected devices: [sdxn] found! The selected devices [sdxn Getting /dev/sdxx The following step is to save the hard disk/partition(s) on this machine as an image: *****************************************************. Machine: s5703w sdb9 (8389MB_ntfs_DATA0(In_ST3500418AS_)_ata-ST3500418AS_9VM75LYZ) *****************************************************. -> "/home/partimag/DATA0-120501". Are you sure you want to continue? ? (y/n) OK, let's do it !! Failed to stop mkswapfile swap No worries Shutting down the lovical volume manager Finished … |
Partclone v0.2.45 http://partclone.org Starting to clone device (/dev/sdb9) to image (-) i.e. stdout Reading Super Block Calculating bitmap ... Please wait ... done! File system: NTFS Device size: xxx Spavce in use: yyyy Freespace: gg Block size: 4096 Byte Image Version: 0001 Elapsed: 00:mm:ss Remaining: 00:mm:ss Rate 300 MB/min kinda slow over wifi Current Block: nnnnnnn Total BLock: nnnnnnnn Data block process: █████████████████████████ Total Block Process: ██████████████████████ |
Total Time: 00:00:01, 100.00% completed! done! File system: NTFS Device size: 8.4 GB Space in use: 6.6 GB Free Space: 1.8 GB Block size: 4096 Byte Used block : 1601944 Elapsed: 00:03:29, Remaining: 00:00:26, Completed: 88.86%, 1.67GB/min,Finished saving /dev/xxx as /home/partimag/... ********** Saving hardware info by lshw... Savind DMI info Saving PCI info Saving package info End of saveparts job forn image /home/partimag/... ********* Checking if udevd rules have to be restored... This program is no started by Clonezilla server... Finished Generating a fag file for the images Now synbcing - flush filesystem buffers... Ending /usr/bin/ocs-sr at .... ***************** If you want to use CLonezilla again: (1) Stay in this console (cobsole 1) enter command line prompt (2) Run command "exit" or "logout" ******* When everything is done... ***** Press "enter" to cointinue
[Alt]
and press [F2]
top
1
to display the usage for each of the CPUsh
to display the help screen
[Alt]
and press [F3]
df -h /tmp/local-dev
To display and log the space as it is being used:
( ` are back-tics.)
(Be sure to use spaces around the 1
in the while statment.)
Copy the following then past it to a command prompt
export yymmdd=`date +%y%m%d`
|
[Alt]
and press [F1]
At anytime you can view the available space : Hold [Alt]
and press [F3]
or return to the progress screen : Hold [Alt]
and press [F1]
Using another system running running Microsoft windows for the destination
Choose has shared volumes or directories
Mount Clonezilla image directory
Use: samba_server Use SAMBA server (Network Neighborhood server)
Mount Samba Server
If not sure of hostname, open another window and ping the hostname or go to the router to get a list of connected hostsDomain in the samba server
you most likely don't need this
Directory
Enter the name of the "share point"
password
continue
-z1
gzip compression (fast with a smaller image)
-z1p
parallel
-z2
bzip2 compression (slowest but smallest image)
-z2p
parallel
-z3
lzo compression (faster with image size approx.
-z4
lzma compression (slowest but also small image, faster decompression than bzip2)
-z5
xz compression (slowest but also small image, faster decompression than bzip2)
-z5p
parallel
-z6
lzip compression (slowest but also small image, faster decompression than bzip2)
-z6p
parallel
-z0
No compression (fastest but largest image size)
Use this with photos, music compressed volumes or
when destination is to a MS Windows system volume with compression enabled.
while [ 1 ]; do date; df -m /home/partimag; date >>/home/partimag/$yymmdd.space.log; df -m >>/home/partimag/$yymmdd.space.log; sleep 15; done
Windows only ALternates: