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