| 12 | 
 @cvs-info | 
 @cvs-info | 
| 13 | 
   $Id$ | 
   $Id$ | 
| 14 | 
   $Log$ | 
   $Log$ | 
| 15 | 
  | 
   Revision 1.58  2003/03/12 05:26:22  joko | 
| 16 | 
  | 
   + AUTOCOMMIT: updated/added content | 
| 17 | 
  | 
  | 
| 18 | 
  | 
   Revision 1.57  2003/03/12 04:55:52  joko | 
| 19 | 
  | 
   + AUTOCOMMIT: updated/added content | 
| 20 | 
  | 
  | 
| 21 | 
  | 
   Revision 1.56  2003/03/12 04:26:09  joko | 
| 22 | 
  | 
   + AUTOCOMMIT: updated/added content | 
| 23 | 
  | 
  | 
| 24 | 
  | 
   Revision 1.55  2003/03/12 02:55:54  joko | 
| 25 | 
  | 
   + AUTOCOMMIT: updated/added content | 
| 26 | 
  | 
  | 
| 27 | 
  | 
   Revision 1.54  2003/03/12 01:55:58  joko | 
| 28 | 
  | 
   + AUTOCOMMIT: updated/added content | 
| 29 | 
  | 
  | 
| 30 | 
  | 
   Revision 1.53  2003/03/12 01:25:57  joko | 
| 31 | 
  | 
   + AUTOCOMMIT: updated/added content | 
| 32 | 
  | 
  | 
| 33 | 
  | 
   Revision 1.52  2003/03/11 23:55:58  joko | 
| 34 | 
  | 
   + AUTOCOMMIT: updated/added content | 
| 35 | 
  | 
  | 
| 36 | 
   Revision 1.51  2003/03/11 23:25:49  joko | 
   Revision 1.51  2003/03/11 23:25:49  joko | 
| 37 | 
   + AUTOCOMMIT: updated/added content | 
   + AUTOCOMMIT: updated/added content | 
| 38 | 
  | 
  | 
| 937 | 
 o rsync working: view from the server-side: | 
 o rsync working: view from the server-side: | 
| 938 | 
  3968 ?        R      0:40 rsync --server --sender -vulogDtprz . /home/service/backup/ | 
  3968 ?        R      0:40 rsync --server --sender -vulogDtprz . /home/service/backup/ | 
| 939 | 
  | 
  | 
 | 
   | 
  | 
| 940 | 
  | 
 x finally: we have a backup-system! | 
| 941 | 
  | 
   - built on top of pdumpfs (ruby!), gets triggered by cron through shortcut-script 'backup' | 
| 942 | 
  | 
   - backs up: | 
| 943 | 
  | 
     x /home/*   (except /home/service) | 
| 944 | 
  | 
     x /data/bin  (approx. 9.2M) | 
| 945 | 
  | 
     x /data/libs  (approx. 1.7M) | 
| 946 | 
  | 
     x /data/opt  (approx. 27M) | 
| 947 | 
  | 
     o /data/var  (approx. 104M) | 
| 948 | 
  | 
       o mysql-db | 
| 949 | 
  | 
       o news-spool | 
| 950 | 
  | 
     o /data/www  (approx. 126M) | 
| 951 | 
  | 
       x /data/www/virtual/lashlarue  (approx. 28M) | 
| 952 | 
  | 
       x /data/www/virtual/netfrag  (approx. 68M) | 
| 953 | 
  | 
       x /data/www/virtual/wac  (approx. 4M) | 
| 954 | 
  | 
   o productive backup should go to /var/pdumpfs (similar to /var/backup) instead of /home/service/virtual/pdumpfs!!! | 
| 955 | 
  | 
   o prevent recursive backups (what happens if the backup directory itself would be specified to backup???) | 
| 956 | 
  | 
   => #> crontab -e | 
| 957 | 
  | 
         adding line: 03 03 * * * bash /home/service/virtual/agent/backup_all | 
| 958 | 
  | 
   o limit size of files that are backuped without user-request!?! (2MB, 10MB, 100MB, 1G) | 
| 959 | 
  | 
  | 
| 960 | 
  | 
 o establish logfile-rotation with logrotate!!! | 
| 961 | 
  | 
   #> cd /data/www/virtual/lashlarue/log | 
| 962 | 
  | 
   #> gzip access_log | 
| 963 | 
  | 
   #> gzip error_log | 
| 964 | 
  | 
  | 
| 965 | 
  | 
 o more todos: | 
| 966 | 
  | 
   1. clean more diskspace | 
| 967 | 
  | 
     How to find files larger than, hmm, let's say: 512MB? | 
| 968 | 
  | 
     use 'dus'! [Disk Usage Sorter] | 
| 969 | 
  | 
     http://marginalhacks.com/bin/dus | 
| 970 | 
  | 
     x now disk-usage-stats are prepared to be generated at service.netfrag.org (dus/fbf) | 
| 971 | 
  | 
     o /home/uml/skels aufräumen! | 
| 972 | 
  | 
   2. draw more diagrams | 
| 973 | 
  | 
   3. let 'monit' monitor our umls | 
| 974 | 
  | 
     together with heartbeat! | 
| 975 | 
  | 
   4. make more backups | 
| 976 | 
  | 
  | 
| 977 | 
  | 
 o look in /var/log/syslog after crash! (other logfiles?) | 
| 978 | 
  | 
  |