Menu

#3403 Backup ignores other files

1.470
open
5
2009-05-28
2009-05-28
No

When I do a backup of my configuration files I select all modules.
Select download in browser
Select Webmin module configuration files
Select Server configuration files
And select Other listed files ..

Then in the textarea I type

/etc/ietd.conf

(I want to backup my iscsitarget config file too).

This file is being ignored by the backup-config module and is not in the backup.tgz file.

Furthermore,

Where does the backup-config script check wether a/which module is linked to a config file?
I have an iSCSI target module which is linked to /etc/ietd.conf but backup-config doesn't list
it in the available modules to backup.

I use Webmin 1.470
Debian Linux 5.0 Lenny

Kind regards,
Caspar Smit

Discussion

  • Jamie Cameron

    Jamie Cameron - 2009-05-28

    Odd, this works fine for me. Are you sure that file isn't in the tar.gz archive? The / at the start will be stripped, so it will be etc/ietd.conf . Also, shouldn't it be /etc/inetd.conf ?

    Each module that wants to participate in config backups needs to have a backup_config.pl file that exports the files to include..

     
  • Anonymous

    Anonymous - 2009-05-29

    I first thought this was due to the other bug I reported about the cluster file copy.

    The files I tested with were are 0-byte due to that bug.

    But selecting any other (non 0-byte) file results in it not being backupped.

    I tested with /etc/inetd.conf too..

    /etc/ietd.conf is the config file for the iSCSI Enterprise Target Deamon

    I will check if I can get the backup_config.pl thing working.
    Is that documented anywhere? Maybe good to know for module developers.

     
  • Jamie Cameron

    Jamie Cameron - 2009-05-29

    It isn't really documented anywhere, but if you look at one of the backup_config.pl files under one of the other modules, you should be able to see the format..

     

Log in to post a comment.

Auth0 Logo