Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wiki:backup [2011/05/24 06:11] – [Duration of Start Up and Shut Down] Guy | wiki:backup [2011/06/16 13:00] (current) – Guy | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Backup ====== | ====== Backup ====== | ||
- | Backup may be used to save files and settings in Tiny Core. | + | Backup may be used to save files and settings in Tinycore. |
==== Time taken to Start Up and Shut Down ==== | ==== Time taken to Start Up and Shut Down ==== | ||
- | The more you have in backup, the longer it will take to start up and shut down Tiny Core. | + | The more you have in backup, the longer it will take to start up and shut down Tinycore. |
For quicker start up and shut down, minimize the size of backup, or if installed on a hard drive, don't use backup at all. | For quicker start up and shut down, minimize the size of backup, or if installed on a hard drive, don't use backup at all. | ||
Line 23: | Line 23: | ||
==== Safe Backup ==== | ==== Safe Backup ==== | ||
- | When shutting down Tiny Core, you may select Safe Backup. This saves the previous backup as mydatabk.tgz, | + | When shutting down Tinycore, you may select Safe Backup. This saves the previous backup as mydatabk.tgz, |
- | If you want to save additional backup files, see | + | To save additional backup files, see |
* [[backup date|Backup with Date and Time]] | * [[backup date|Backup with Date and Time]] | ||
Line 35: | Line 35: | ||
If you are using version 3.6 or higher, you can change the name of the backup file. | If you are using version 3.6 or higher, you can change the name of the backup file. | ||
- | To change the name of the backup file, include " | + | To change the name of the backup file, include " |
==== If you don't want to use Backup ==== | ==== If you don't want to use Backup ==== | ||
Line 45: | Line 45: | ||
When using persistent home and opt you may choose not to use backup at all, by including the “norestore” boot option in the bootloader. | When using persistent home and opt you may choose not to use backup at all, by including the “norestore” boot option in the bootloader. | ||
- | If you do use backup, all references to the home and opt directories can be removed from / | + | If you do use backup, all references to the home and opt directories can be removed from / |
==== Other Ways to save Files and Settings ==== | ==== Other Ways to save Files and Settings ==== | ||
Line 53: | Line 53: | ||
1. Making extensions for settings. For more information, | 1. Making extensions for settings. For more information, | ||
- | 2. Saving in /opt. For an example of this, see [[passwd|Tiny Core Passwords]]. | + | 2. Saving in /opt. For an example of this, see [[passwd|Tinycore |
==== Exclude Anything Unnecessary from Backup ==== | ==== Exclude Anything Unnecessary from Backup ==== | ||
Line 59: | Line 59: | ||
Exclude anything unnecessary from backup. Following are examples. | Exclude anything unnecessary from backup. Following are examples. | ||
- | ==== Large Files ==== | + | ==== Files which Don't Change |
- | It is a good idea to make extensions for any large files which don't change. | + | You may make extensions for files which don't change, particularly large ones, and exclude them from backup. |
To list large files in /home/tc, open the terminal and use | To list large files in /home/tc, open the terminal and use | ||
Line 79: | Line 79: | ||
You may also edit the preferences in Xfe, to permanently delete files instead of adding them to trash. To do this, go to Edit, then Preferences. Click the square preceeding " | You may also edit the preferences in Xfe, to permanently delete files instead of adding them to trash. To do this, go to Edit, then Preferences. Click the square preceeding " | ||
+ | |||
+ | ==== Extract a Backup File ==== | ||
+ | |||
+ | You normally access a backup by starting the computer, and restoring it. | ||
+ | |||
+ | Backup files can also be extracted manually. | ||
+ | |||
+ | Backup files are normally saved in the tce directory (somewhere like / | ||
+ | |||
+ | To access the contents of a backup, create a new directory and copy the backup file to it. Open the terminal and type | ||
+ | |||
+ | < | ||
+ | tar -xvf backup-name</ | ||
==== Using Commands ==== | ==== Using Commands ==== | ||
Line 100: | Line 113: | ||
Also see | Also see | ||
- | * [[backup_hd|Backup | + | * [[backup_hd|Options |
+ | |||
+ | * [[backup_usb|Options when Installed on a USB Drive]] | ||
- | * [[backup_usb|Backup when Installed on a USB Drive]] |