Difference between revisions of "MorphOS External USB Drive Backup Guide"

From MorphOS Library

(This tutorial show you how to create disk image based backups stored on an external USB drive.)
Line 18: Line 18:
 
You firstly need to create a disk image file. You can do this quite easily with Kryptos, however, you will need to memorize/write down a password, and this may become unwieldly. We will use Kryptos to create an image, but not use it's encryption feature. This is the only way I know of to create an image file.
 
You firstly need to create a disk image file. You can do this quite easily with Kryptos, however, you will need to memorize/write down a password, and this may become unwieldly. We will use Kryptos to create an image, but not use it's encryption feature. This is the only way I know of to create an image file.
  
#1. Open SYS:Applications/Kryptos
+
# Open SYS:Applications/Kryptos
#2. Select a Unit and click on Create New...
+
# Select a Unit and click on Create New...
#3. Save your image file somewhere on the Fat32 drive you formatted earlier by clicking on the file gadget. Give it an appropriate name, click ok, and click on Next.
+
# Save your image file somewhere on the Fat32 drive you formatted earlier by clicking on the file gadget. Give it an appropriate name, click ok, and click on Next.
#4. Make the volume an appropriate size. You can make it large enough for one backup, or large enough for several. You may want to consider making it 3800MB so it will safely fit on a DVD.
+
# Make the volume an appropriate size. You can make it large enough for one backup, or large enough for several. You may want to consider making it 3800MB so it will safely fit on a DVD.
#5. The crypto options don't matter. Click next.
+
# The crypto options don't matter. Click next.
#6. Enter any password. We won't be using it anyway, so it doesn't matter what it is. Click next.
+
# Enter any password. We won't be using it anyway, so it doesn't matter what it is. Click next.
#7. The filesystem page doesn't matter. Click Next.
+
# The filesystem page doesn't matter. Click Next.
#8. Wiggle the mouse, click Create.
+
# Wiggle the mouse, click Create.
#9. Wait while the image is created. It could take quite a while depending on its size. Click OK.
+
# Wait while the image is created. It could take quite a while depending on its size. Click OK.
#10. Back in the Kryptos main window, click Eject to eject your newly created image.
+
# Back in the Kryptos main window, click Eject to eject your newly created image.
#11. Quit Kryptos.
+
# Quit Kryptos.
  
 
Making The Disk Image Usabe as a Regular Disk
 
Making The Disk Image Usabe as a Regular Disk
  
#1. Open SYS:Tools/FileImageCtrl
+
# Open SYS:Tools/FileImageCtrl
#2. Click a unit to highlight it, then click Insert...
+
# Click a unit to highlight it, then click Insert...
#3. Select the disk image you created earlier, and click OK.
+
# Select the disk image you created earlier, and click OK.
#4. Make sure Read/Write is selected in the window.
+
# Make sure Read/Write is selected in the window.
#5. Close FileImageCtrl
+
# Close FileImageCtrl
#6. Open SYS:Tools/HDConfig
+
# Open SYS:Tools/HDConfig
#7. Under FILE IMAGE you should see your disk. It will likely appear as a red disk icon. Click to the right of its icon.
+
# Under FILE IMAGE you should see your disk. It will likely appear as a red disk icon. Click to the right of its icon.
#8. Select One partition from the selection window, unless you wan't more, but you're on your own if you go that route.
+
# Select One partition from the selection window, unless you wan't more, but you're on your own if you go that route.
#9. Click to the right of the image drive icon again. This time you will have to give the partition a name. Call it IMAGE0 or whatever you want. Just make sure it isn't named the same as other partitions! Click OK.
+
# Click to the right of the image drive icon again. This time you will have to give the partition a name. Call it IMAGE0 or whatever you want. Just make sure it isn't named the same as other partitions! Click OK.
#10. Click Save... under the drive image icon.
+
# Click Save... under the drive image icon.
#11. Close HDConfig
+
# Close HDConfig
#12. Open SYS:Tools/Mounter
+
# Open SYS:Tools/Mounter
#13. Select fileimage.device from the top pane
+
# Select fileimage.device from the top pane
#14. Highlight IMAGE0 (or whatever you named your image) in the bottom pane.
+
# Highlight IMAGE0 (or whatever you named your image) in the bottom pane.
#15. Select MorphOS SFS from the FileSystem: gadget.
+
# Select MorphOS SFS from the FileSystem: gadget.
#16. Click Mount, or Mount on Boot if you want the image to always be mounted when you insert the image using SYS:Tools/FileImageCtrl
+
# Click Mount, or Mount on Boot if you want the image to always be mounted when you insert the image using SYS:Tools/FileImageCtrl
#17. Close Mounter
+
# Close Mounter
#18. On your desktop (Ambient) select Utilities->Format Disk from the main menu (right click menu)
+
# On your desktop (Ambient) select Utilities->Format Disk from the main menu (right click menu)
#19. Select IMAGE0 (or whatever you named your image), give it a label, and click Quick Format... You may uncheck any of the options.
+
# Select IMAGE0 (or whatever you named your image), give it a label, and click Quick Format... You may uncheck any of the options.
#20. Close the format window.
+
# Close the format window.
#21. Your new disk image will show up on the desktop, or in My MorhpOS
+
# Your new disk image will show up on the desktop, or in My MorhpOS
  
 
Making Your Backup
 
Making Your Backup
 
You may now copy clone your drive to the image.
 
You may now copy clone your drive to the image.
  
#1. Open a new shell (Action-N from ambient).
+
# Open a new shell (Action-N from ambient).
#2. Input the following command line commands. Press entere at the end of each line.
+
# Input the following command line commands. Press entere at the end of each line.
  
 
sys:
 
sys:
 
copy clone all #? IMAGE0:
 
copy clone all #? IMAGE0:
  
#3. Wait for the copy to finish.
+
# Wait for the copy to finish.
#4. Repeat for each drive you want to backup.
+
# Repeat for each drive you want to backup.
  
 
CONGRATULATIONS! You now have perfect backups of your MorphOS drives!
 
CONGRATULATIONS! You now have perfect backups of your MorphOS drives!
Line 70: Line 70:
 
To Restore:
 
To Restore:
  
#1. Open SYS:Tools/FileImageCtrl
+
# Open SYS:Tools/FileImageCtrl
#2. Select a Unit
+
# Select a Unit
#3. Click Insert...
+
# Click Insert...
#4. Select your backup image
+
# Select your backup image
#5. Close FileImageCtrl
+
# Close FileImageCtrl
#6. Open SYS:Tools/Mounter
+
# Open SYS:Tools/Mounter
#7. Select fileimage.device from the top pane
+
# Select fileimage.device from the top pane
#8. Highlight IMAGE0 (or whatever you named your image) in the bottom pane.
+
# Highlight IMAGE0 (or whatever you named your image) in the bottom pane.
#9. Select MorphOS SFS from the FileSystem: gadget.
+
# Select MorphOS SFS from the FileSystem: gadget.
#10. Click Mount, or Mount on Boot if you want the image to always be mounted when you start MorphOS
+
# Click Mount, or Mount on Boot if you want the image to always be mounted when you start MorphOS
#11. Close Mounter
+
# Close Mounter
#12. You may now copy all or some of the files from IMAGE0: to wherever you want.
+
# You may now copy all or some of the files from IMAGE0: to wherever you want.

Revision as of 20:24, 4 May 2010

MorphOS External USB Drive Backup Guide

Starting Out: First things first, you need an external drive. 500GB to 1TB drives are now very inexpensive, so go out and buy one.

You will nedd to format the drive in filesystem format that MorphOS understands. I ecommend FAT32 as I have been told that external drives formatted as MorphOS SFS can cause serious problems.

If you are using WindowsXP to format the drive, you will need a large capacity formatting tool as the built in tools will not allow you to format a large drive with patitions larger than 4GB.

A good tool is guiformat.exe available at: [1]

You can, of course, also use MorphOS to format the drive, but this is not something I will cover in this tutorial.

A solution to the Fat32 Problem: Fat32 cannot store Amiga file protection bits. A solution to this problem is to create an SFS Disk Image on the the Fat32 partition. Here is how to do it.

You firstly need to create a disk image file. You can do this quite easily with Kryptos, however, you will need to memorize/write down a password, and this may become unwieldly. We will use Kryptos to create an image, but not use it's encryption feature. This is the only way I know of to create an image file.

  1. Open SYS:Applications/Kryptos
  2. Select a Unit and click on Create New...
  3. Save your image file somewhere on the Fat32 drive you formatted earlier by clicking on the file gadget. Give it an appropriate name, click ok, and click on Next.
  4. Make the volume an appropriate size. You can make it large enough for one backup, or large enough for several. You may want to consider making it 3800MB so it will safely fit on a DVD.
  5. The crypto options don't matter. Click next.
  6. Enter any password. We won't be using it anyway, so it doesn't matter what it is. Click next.
  7. The filesystem page doesn't matter. Click Next.
  8. Wiggle the mouse, click Create.
  9. Wait while the image is created. It could take quite a while depending on its size. Click OK.
  10. Back in the Kryptos main window, click Eject to eject your newly created image.
  11. Quit Kryptos.

Making The Disk Image Usabe as a Regular Disk

  1. Open SYS:Tools/FileImageCtrl
  2. Click a unit to highlight it, then click Insert...
  3. Select the disk image you created earlier, and click OK.
  4. Make sure Read/Write is selected in the window.
  5. Close FileImageCtrl
  6. Open SYS:Tools/HDConfig
  7. Under FILE IMAGE you should see your disk. It will likely appear as a red disk icon. Click to the right of its icon.
  8. Select One partition from the selection window, unless you wan't more, but you're on your own if you go that route.
  9. Click to the right of the image drive icon again. This time you will have to give the partition a name. Call it IMAGE0 or whatever you want. Just make sure it isn't named the same as other partitions! Click OK.
  10. Click Save... under the drive image icon.
  11. Close HDConfig
  12. Open SYS:Tools/Mounter
  13. Select fileimage.device from the top pane
  14. Highlight IMAGE0 (or whatever you named your image) in the bottom pane.
  15. Select MorphOS SFS from the FileSystem: gadget.
  16. Click Mount, or Mount on Boot if you want the image to always be mounted when you insert the image using SYS:Tools/FileImageCtrl
  17. Close Mounter
  18. On your desktop (Ambient) select Utilities->Format Disk from the main menu (right click menu)
  19. Select IMAGE0 (or whatever you named your image), give it a label, and click Quick Format... You may uncheck any of the options.
  20. Close the format window.
  21. Your new disk image will show up on the desktop, or in My MorhpOS

Making Your Backup You may now copy clone your drive to the image.

  1. Open a new shell (Action-N from ambient).
  2. Input the following command line commands. Press entere at the end of each line.

sys: copy clone all #? IMAGE0:

  1. Wait for the copy to finish.
  2. Repeat for each drive you want to backup.

CONGRATULATIONS! You now have perfect backups of your MorphOS drives!

To Restore:

  1. Open SYS:Tools/FileImageCtrl
  2. Select a Unit
  3. Click Insert...
  4. Select your backup image
  5. Close FileImageCtrl
  6. Open SYS:Tools/Mounter
  7. Select fileimage.device from the top pane
  8. Highlight IMAGE0 (or whatever you named your image) in the bottom pane.
  9. Select MorphOS SFS from the FileSystem: gadget.
  10. Click Mount, or Mount on Boot if you want the image to always be mounted when you start MorphOS
  11. Close Mounter
  12. You may now copy all or some of the files from IMAGE0: to wherever you want.