#2757 MySQL scheduled backups problems still

1.330
closed
5
2007-03-09
2007-03-09
No

Scheduled backups still aren't saved as bz2. It only saves it that way manually.

Cron backups are saved as sql text files.

Discussion

  • Anonymous - 2007-03-09
    • summary: scheduled backups problems --> MySQL scheduled backups problems still
     
  • Anonymous - 2007-03-09

    Logged In: YES
    user_id=108233
    Originator: YES

    After doing a strace I noticed that the file never checks for the config variable "backup_compress_".

    open("/etc/webmin/mysql/config", O_RDONLY|O_LARGEFILE) = 3
    ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfbcad88) = -1 ENOTTY (Inappropriate ioctl for device)
    _llseek(3, 0, [0], SEEK_CUR) = 0
    fstat64(3, {st_mode=S_IFREG|0700, st_size=796, ...}) = 0
    fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
    read(3, "backup_cmode_=1\nbackup_drop_=1\nb"..., 4096) = 796
    read(3, "", 4096) = 0
    close(3) = 0

    This is the only time it checks the MySQL config and its only 2 values it looks for.

     
  • Jamie Cameron

    Jamie Cameron - 2007-03-09
    • status: open --> closed
     
  • Jamie Cameron

    Jamie Cameron - 2007-03-09

    Logged In: YES
    user_id=129364
    Originator: NO

    You're right - the code is completely ignoring that option.
    However, the attached updated module attached to this bug report will fix it.
    File Added: mysql-1.330-3.wbm.gz

     
  • Anonymous - 2007-03-09
    • status: closed --> pending
     
  • Anonymous - 2007-03-09

    Logged In: YES
    user_id=108233
    Originator: YES

    : Failed to gunzip file : gunzip: /tmp/.webmin/mysql-1.330-3.wbm.gz: decompression OK, trailing garbage ignored

    uh oh......

     
  • Anonymous - 2007-03-09
    • status: pending --> open
     
  • Anonymous - 2007-03-09

    Fixed tarball

     
  • Anonymous - 2007-03-09

    Logged In: YES
    user_id=108233
    Originator: YES

    Your tarball was bad so used the -i switch and re-uploaded here.

    File Added: mysql-1.330-4.wbm.gz

     
  • Jamie Cameron

    Jamie Cameron - 2007-03-09
    • status: open --> closed
     
  • Jamie Cameron

    Jamie Cameron - 2007-03-09

    Logged In: YES
    user_id=129364
    Originator: NO

    The best way to install that module is using Webmin Configuration -> Webmin Modules, by the way ..

     
  • Anonymous - 2007-03-09

    Logged In: YES
    user_id=108233
    Originator: YES

    Yes I know, that's where the error came from LOL

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks