Changeset 1150


Ignore:
Timestamp:
May 22, 2013, 12:54:32 PM (11 years ago)
Author:
joergs
Message:

use Bareos naming instead of Bacula

Location:
baculafs/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • baculafs/trunk/README.txt

    r1148 r1150  
    1 baculafs
     1bareos-fuse
    22
    33a python-fuse based virtual filesystem for recovery
     
    88
    99* What is working?
    10 - Bacula repository can be mounted and accessed
     10- Bareos (or Bacula) restore filesets can be mounted and accessed
    1111
    1212* What is not working?
     
    1919* Prerequisites:
    2020- bconsole must be installed and configured
     21- python-fuse must be installed
    2122
    2223* Usage:
    23 ./baculafs.py /mnt
     24./bareos-fuse.py /mnt
    2425ls -la /mnt
    2526ls -la /mnt/usr
     
    3132./baculafs.py -f -s -d /mnt
    3233
    33 Also take a look at the log files /tmp/baculafs.log and /tmp/bconsole.out
     34Also take a look at the log files /tmp/bareos-fuse.log and /tmp/bareos-fuse-bconsole.log
  • baculafs/trunk/bareos-fuse.py

    r1149 r1150  
    1919################
    2020
    21 BACULA_FS_VERSION = "$Rev$"
    22 
    23 LOG_FILENAME        = '/tmp/baculafs.log'
    24 LOG_BCONSOLE_DUMP   = '/tmp/bconsole.out'
    25 
    26 
    27 #BACULA_CMD = 'strace -f -o /tmp/bconsole.strace /usr/sbin/bconsole -n'
    28 BACULA_CMD = '/usr/sbin/bconsole -n'
     21BAREOS_FUSE_VERSION = "$Rev$"
     22
     23LOG_FILENAME        = '/tmp/bareos-fuse.log'
     24LOG_BCONSOLE_DUMP   = '/tmp/bareos-fuse-bconsole.log'
     25
     26
     27#BAREOS_CMD = 'strace -f -o /tmp/bconsole.strace /usr/sbin/bconsole -n'
     28BAREOS_CMD = '/usr/sbin/bconsole -n'
    2929
    3030BCONSOLE_CMD_PROMPT='\*'
     
    5151        self.last_items_dict = {}
    5252
    53         self.bconsole = pexpect.spawn( BACULA_CMD, logfile=file(LOG_BCONSOLE_DUMP, 'w'), timeout=timeout )
     53        self.bconsole = pexpect.spawn( BAREOS_CMD, logfile=file(LOG_BCONSOLE_DUMP, 'w'), timeout=timeout )
    5454        self.bconsole.setecho( False )
    5555        self.bconsole.expect( BCONSOLE_CMD_PROMPT )
     
    205205###############
    206206
    207 class BaculaFS(fuse.Fuse):
     207class BareosFuse(fuse.Fuse):
    208208
    209209    TYPE_NONE = 0
     
    346346
    347347    usage = """
    348     Bacula filesystem: displays files from Bacula backups as a (userspace) filesystem.
    349                        Internaly, it uses Baculas bconsole.
     348    Bareos Fuse filesystem: displays files from Bareos backups as a (userspace) filesystem.
     349                       Internaly, it uses the Bareos bconsole.
    350350
    351351    """ + fuse.Fuse.fusage
    352352
    353353
    354     fs = BaculaFS(
    355         version="%prog: " + BACULA_FS_VERSION,
     354    fs = BareosFuse(
     355        version="%prog: " + BAREOS_FUSE_VERSION,
    356356        usage=usage,
    357357        # required to let "-s" set single-threaded execution
Note: See TracChangeset for help on using the changeset viewer.