User Tools

Site Tools


backup

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
Next revisionBoth sides next revision
backup [2010/09/06 17:53] 138.246.2.47backup [2011/11/08 22:02] – old revision restored memeruiz
Line 7: Line 7:
  
 ===== Using netcat (nc) ===== ===== Using netcat (nc) =====
- 
 ==== Restoring the backup ==== ==== Restoring the backup ====
 +
 +  * In client:
 +
 +  nc -l -p 6666 | zcat > /dev/your_harddrive
  
   * In server:   * In server:
  
-  nc -l -p 6666< imagefile.img.gz+  nc -q 1 ip_client_machine 6666< imagefile.img.gz
  
-  * In client: 
- 
-  nc ip_server 6666 | gunzip -d -c > /dev/your_harddrive 
  
 ====== Procedure to recover from your backup ====== ====== Procedure to recover from your backup ======
Line 47: Line 47:
   * Restore from the backup /etc/mysql/debian.cnf   * Restore from the backup /etc/mysql/debian.cnf
   * Restart mysql-server twice (second time, you should not get an error)   * Restart mysql-server twice (second time, you should not get an error)
- 
- 
- 
backup.txt · Last modified: 2021/02/01 05:55 by 127.0.0.1