Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
wiki:backup-check [2011/10/08 22:57] – [Another quickie.] littlebatwiki:backup-check [2012/10/13 07:52] (current) – delete waffle ....command is best aus9
Line 1: Line 1:
-Checking your backup is correct before rebooting +======Checking your backup is correct before rebooting====== 
  
- +=====Make a copy of mydata.tgz=====
- +
-Warning +
- +
-I am a TC newbie, and for brevity have removed home/tc from my backup to keep it short. +
- +
-I am right handed, reverse instruction to RH click to LH if you are left handed please. +
- +
- +
-======  Suggest you put a copy of mydata.tgz onto an USB stick or cdrw or upload it to a host site ======+
 Let us pretend you have made a change to a system file, click on cpanel and clicked on backup....to backup the correct device. Let us pretend you have made a change to a system file, click on cpanel and clicked on backup....to backup the correct device.
-Do not click logout and try backup there, in case your file is not backed up. 
  
 Where is your backup file? Where is your backup file?
  
 <code>sudo find / -name mydata* <code>sudo find / -name mydata*
-/mnt/sda2/tce/mydata.tgz</code>+/mnt/sda1/tce/mydata.tgz</code>
  
 +Then copy that file onto usb stick etc or email it to yourself attaching mydata.tgz.\\
 +Most email clients should show a date stamp so you can keep various emails and so various backups.\\
 +Include a summary of your changes in the subject line.
  
-======  Using commands to explore your backup. ====== 
  
 +=====Quick way of viewing contents=====
  
-Change sda2 to whatever your result is in the below steps please.+<code> 
 +sudo tar tzf /mnt/sda1/tce/mydata.tgz | less 
 +</code>
  
 +Change sda1 to wherever the find command reports please
  
 +=====credits=====
  
-=====  The steps  =====+stu\\ 
 +aus9
  
-<code>mkdir mydata 
-cp /mnt/sda2/tce/mydata.tgz /home/tc/mydata 
-cd mydata 
-tar zxvf mydata.tgz ---> (result was) 
    
-etc/cups/ppd/ 
-etc/cups/ppd/110.ppd 
-etc/cups/printers.conf 
-etc/shadow 
-opt/.xfiletool.lst 
-opt/.filetool.lst 
-opt/tcemirror 
-opt/backgrounds/ 
-opt/shutdown.sh 
-opt/bootlocal.sh 
-</code> 
- 
- 
-If files do not appear in result, fix it before rebooting please. 
- 
- 
-======  Using MC file manager to explore backup ====== 
- 
-Consider installing mc.tcz (and its dependencies) 
- 
-Open a terminal and run the command mc 
- 
-At bottom of screen type the command to get you to your data file (for me its) 
- 
-cd /mnt/sda2/tce 
- 
-Arrow down to mydata.tgz 
- 
-Press F3 buttton to view it, and F3 to exit that view. 
- 
-{{http://stashbox.org/879401/b-mc.png}} 
- 
- 
-======  Using LXDE file manager to explore backup ====== 
- 
-Suggest you pulldown "File" and create new folder called (anything) I chose extract 
- 
-Navigate to /mnt/sda2/tce (or where ever) 
- 
-Bookmark it 
- 
-Right hand click mydata.tgz and select "extract to" 
- 
-{{http://stashbox.org/879390/b-lx-e.jpeg}} 
- 
-Choose /home/tc/extract 
- 
-Navigate to /home/tc/extract and bookmark it 
- 
-Click into it to view results 
- 
-{{http://stashbox.org/879392/b-lx-fold.png}} 
- 
- 
-<hr> 
-======  Another quickie. ====== 
- 
-I check by doing  
-<code> 
-sudo tar tzf /mnt/hda1/tce/mydata.tgz | less 
-</code> 
-then to save it I email myself attaching mydata.tgz. 
- 
- stu 
- 
  
Print/export
QR Code
QR Code wiki:backup-check (generated for current page)