Ask a Question related to AIX, Design and Development.

  1. #1

    Default Backup logs

    Hi all,

    I have setup the cron deamon so it will execute two backup scripts (one that
    will be executed from monday to friday and the other will be executed over
    the weekend). These two scripts use the BACKUP command to backup some
    filesystems. These filesystems contains a LOT of FILES. I want to log the
    contents of what will be backupped on a file named with the current date.
    (So it will result in having a log file for each day). However, a simple
    log file take about 16 megs of disk space, which is enormous for a simple
    text file!

    Is there any lighter or brighter way to keep clean and useful backup logs?

    Thanks in advance,

    Steve
    Steve Hemond Guest

  2. Similar Questions and Discussions

    1. I need to clear the backup logs
      A while back, we realized our Windows Server 2003 machine's clock had gotten off by exactly a year. I set it back, but a very frustrating, though...
    2. I want to re-backup logs again. Can I reset is_backed_up flag?
      Hi all, Our tape died. Logs that were saved to it are lost. I want to do an onbar -b -l again, but as the logs have been saved already, nothing is...
    3. Error 131 during salvage backup of the logs
      Hi, Well, we are doing a bunch of test relative to onbar in the moment. Unfortunaltly, yesterday I had the error 131 during the salvage of the...
    4. DB backup of logical Logs to disk v tape...
      Hello all, Could anyone provide the following details on backing up logs to disk v tape using ONBAR with VERITAS. ? We are currently doing log...
    5. loop - begin backup, end backup Oracle 8.1.7
      Hello, we have the problem named after: last weekend (22.12.2002), we did a reorganisation of a tablespace with the tool "sapdba" from SAP....
  3. #2

    Default Re: Backup logs

    In article <bKS6b.402$z5.68906@news20.bellglobal.com>, Steve Hemond <shemond@hotmail.com> wrote:
    >
    > I have setup the cron deamon so it will execute two backup scripts (one that
    > will be executed from monday to friday and the other will be executed over
    > the weekend). These two scripts use the BACKUP command to backup some
    > filesystems. These filesystems contains a LOT of FILES. I want to log the
    > contents of what will be backupped on a file named with the current date.
    > (So it will result in having a log file for each day). However, a simple
    > log file take about 16 megs of disk space, which is enormous for a simple
    > text file!
    >
    > Is there any lighter or brighter way to keep clean and useful backup logs?
    Install bzip2 and then have it do a 'bzip2 -9 <file>' afterwards -- that
    should reduce it to about 200K or so, afterwards. (bzip2 -9 tend to reduce
    an ASCII text file to about 1% of its original size, give or take a bit.)

    -Dan
    Dan Foster Guest

  4. #3

    Default Re: Backup logs

    Steve Hemond wrote:
    > Hi all,
    >
    > I have setup the cron deamon so it will execute two backup scripts (one that
    > will be executed from monday to friday and the other will be executed over
    > the weekend). These two scripts use the BACKUP command to backup some
    > filesystems. These filesystems contains a LOT of FILES. I want to log the
    > contents of what will be backupped on a file named with the current date.
    > (So it will result in having a log file for each day). However, a simple
    > log file take about 16 megs of disk space, which is enormous for a simple
    > text file!
    >
    > Is there any lighter or brighter way to keep clean and useful backup logs?
    >
    I just write the filenames to the log file and my log file is about 160K
    for about 8 GB of files. I don't know why your file is over 100 times
    the size.

    > Thanks in advance,
    >
    > Steve
    Michael W Ryder Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139