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