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