Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:backup_usb [2011/05/27 20:18] – [Make Extensions for Files that Don't Change] Guywiki:backup_usb [2011/06/16 13:03] (current) Guy
Line 1: Line 1:
 ====== Options when Installed on a USB Drive ====== ====== Options when Installed on a USB Drive ======
  
-When Tiny Core is installed on a USB drive, backup is designed to minimize the amount of writing to the USB drive, which results in the USB drive lasting longer. This also applies when solid state memory is used in a computer instead of a hard drive.+When Tinycore is installed on a USB drive, backup is designed to minimize the amount of writing to the USB drive, which results in the USB drive lasting longer. This also applies when solid state memory is used in a computer instead of a hard drive.
  
-When Tiny Core is run without persistent home, and a file is saved, it is saved to RAM. It is only written to the USB drive, when backup is run, normally when shutting down Tiny Core.+When Tinycore is run without persistent home, and a file is saved, it is saved to RAM. It is only written to the USB drive, when backup is run, normally when shutting down Tinycore.
  
 +The more you have in backup, the longer it will take to start up and shut down Tinycore.
  
 ==== Persistent opt ==== ==== Persistent opt ====
Line 14: Line 15:
 To set up persistent opt, edit the bootloader configuration file, adding persistent opt. To set up persistent opt, edit the bootloader configuration file, adding persistent opt.
  
-If you have installed Tiny Core using the installer, you should already have tce=UUID="9aff3da3-474d-440d-bb6c-3240afe84ac6" (the number will be different). To set up persistent opt, copy the UUID number, like this+If you have installed Tinycore using the installer, you should already have tce=UUID="9aff3da3-474d-440d-bb6c-3240afe84ac6" (the number will be different). To set up persistent opt, copy the UUID number, like this
  
 <code>opt=UUID="9aff3da3-474d-440d-bb6c-3240afe84ac6" tce=UUID="9aff3da3-474d-440d-bb6c-3240afe84ac6"</code> <code>opt=UUID="9aff3da3-474d-440d-bb6c-3240afe84ac6" tce=UUID="9aff3da3-474d-440d-bb6c-3240afe84ac6"</code>
Line 20: Line 21:
 Use the UUID number for your USB drive. Use the UUID number for your USB drive.
  
-If you have not installed Tiny Core using the installer, to find out the UUID, use+If you have not installed Tinycore using the installer, to find out the UUID, use
  
 <code>blkid -s UUID /dev/sda1</code> <code>blkid -s UUID /dev/sda1</code>
Line 28: Line 29:
 After setting up persistent opt, edit /opt/.filetool.lst, and remove all references to opt, so it is not included in backup. After setting up persistent opt, edit /opt/.filetool.lst, and remove all references to opt, so it is not included in backup.
  
-==== Make Extensions for Files which Don't Change ====+==== Persistent home or Backup ====
  
-It is a good idea to make extensions for files which don't change, particularly large ones.+Is it a good idea to have persistent home on a USB drive?
  
-To list large files in /home/tc, open the terminal and use+It depends on how you use the USB drive. For example:
  
-<code>/home/tc/ -type f -size +1M | xargs ls -lhS</code>+If you run Tinycore from a USB drive, and normally change a lot of files when using it, it may be better to backup the home directory.
  
-For more informationsee [[extension_for_settings|Make Extensions for Settings]].+If you use the USB drive as a repair and rescue tooland don't change many files when using it, it may be better to use persistent home.
  
 +Ask the question: Is less written to the USB drive by saving files each time they are changed, or by saving everything in backup each time the computer is turned off?
  
-For more informationsee+To set up persistent homeuse the UUID, as discussed above.
  
-  * [[install_usb_net|Install Tiny Core on a USB Drive with Internet]]+For more information, see
  
-  * [[install_usb_offline|Install Tiny Core on a USB Drive without Internet]]+  * [[install_usb|Install Tinycore on a USB Drive]]
  
   * [[usb_life|Maximize the life of a USB Drive]]   * [[usb_life|Maximize the life of a USB Drive]]
Print/export
QR Code
QR Code wiki:backup_usb (generated for current page)