backup
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
backup [2010/09/06 17:53] – 138.246.2.47 | backup [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 > / | ||
* In server: | * In server: | ||
- | nc -l -p 6666< imagefile.img.gz | + | nc -q 1 ip_client_machine |
- | * In client: | ||
- | |||
- | nc ip_server 6666 | gunzip -d -c > / | ||
====== Procedure to recover from your backup ====== | ====== Procedure to recover from your backup ====== | ||
Line 47: | Line 47: | ||
* Restore from the backup / | * Restore from the backup / | ||
* 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