← Back to team overview

nssbackup-team team mailing list archive

[Bug 303648] [NEW] If the target directory isn't accessable, execution of backup daemon and restoration gui fails.

 

Public bug reported:

If the target directory isn't accessable, execution of backup daemon and
restoration gui fails:

This bug is related to restoration gui and backup daemon:
* if the target directory isn't mounted, execution of the restoration gui fails with following exception:

console output:
    2008-11-20 10:30:33,322 - DEBUG - ConfigManager.py:validateConfigFileOpts(421) - Validating config file
    2008-11-20 10:30:33,323 - INFO - ConfigManager.py:__init__(269) - ConfigManager created with '/etc/nssbackup.conf'
    Traceback (most recent call last):
      File "nssbackup-restore-gui.py", line 37, in <module>
        main(sys.argv)
      File "/home/peer/programming/python/nssb/modified/progressbar/0.2/src/nssbackup/ui/SBRestoreGTK.py", line 662, in main
        w = SBRestoreGTK()
      File "/home/peer/programming/python/nssb/modified/progressbar/0.2/src/nssbackup/ui/SBRestoreGTK.py", line 65, in __init__
        self.fusefam.initialize()
      File "/home/peer/programming/python/nssb/modified/progressbar/0.2/src/nssbackup/managers/FuseFAM.py", line 193, in initialize
        os.mkdir(self.__config.get("general","target"))
    OSError: [Errno 2] No such file or directory: '/media/TRANSFER/home/pub/testbak/bak'


More desirable are following solutions:
    1) a fallback directory (e.g. /var/backup) should be opened/used as target directory; the user must get informed
    2) an error message occurs and informs the user; afterwards the application is terminated and the user has to mount the orignally specified target directory or to change the specified directory using the configuration tool

** Affects: nssbackup
     Importance: Critical
     Assignee: Jean-Peer Lorenz (peer.loz)
         Status: In Progress


** Tags: daemon ui

** Changed in: nssbackup
   Importance: Undecided => Critical
     Assignee: (unassigned) => Jean-Peer Lorenz (peer.loz)
       Status: New => In Progress
       Target: None => release0.2

-- 
If the target directory isn't accessable, execution of backup daemon and restoration gui fails.
https://bugs.launchpad.net/bugs/303648
You received this bug notification because you are a member of NSsbackup
team, which is subscribed to NSsbackup.



Follow ups

References