> Lots of ideas, starting with If you want a reasonable response, you must 
> first 
> provide at least minimum information.  Please read the Support page on 
> www.bacula.org.
> 
> Perhaps you supplied it previously, but I don't see it in this email.
> 

Sorry, Kern. I didn't read the support info.

I am running bacula-dir and bacula-sd on a Suse Linux Enterprise Server
10 (hostname is bacula). Version is mysql-2.0.3 (rpm on sourceforge).
The client is a windows 2003 server running winbacula-2.0.3
(sourceforge, too). Hostname is hisservld. Attached is the relevant part
of my bacula-dir.conf.

I did a full dump of hisservld and tried to restore the files on the
client at c:\temp\bacula. All files a restored but I get lots of
messages complaining about errors changing the file permissions, e.g.:

05-Apr 16:12 hisservld-fd: RestoreFiles.2007-04-05_16.10.57 Warning:
Cannot change permissions of C:/temp/bacula/C/Dokumente und
Einstellungen/Administrator/StartmenÌ/Programme/Autostart: ERR=No such
file or directory

As you can see, the german umlaut ü "Startmenü" has been converted to a
2-byte UTF8 encoded character in the restoration path.

Thanks a lot for any help!

-- 
Regards
Christoph
________________________________________________________________________
Christoph Litauer                  [EMAIL PROTECTED]
Uni Koblenz, Computing Center,     http://www.uni-koblenz.de/~litauer
Postfach 201602, 56016 Koblenz     Fon: +49 261 287-1311, Fax: -100 1311
PGP-Fingerprint: F39C E314 2650 650D 8092 9514 3A56 FBD8 79E3 27B2

#
# Default Bacula Director Configuration file
#
#  The only thing that MUST be changed is to add one or more
#   file or directory names in the Include directive of the
#   FileSet resource.
#
#  For Bacula release 1.36.3 (22 April 2005) -- suse 9.2
#
#  You might also want to change the default email address
#   from root to your address.  See the "mail" and "operator"
#   directives in the Messages resource.
#

Director {                            # define myself
  Name = bacula-dir
  DIRport = 9101                # where we listen for UA connections
  QueryFile = "/etc/bacula/query.sql"
  WorkingDirectory = "/var/bacula"
  PidDirectory = "/var/run"
  Maximum Concurrent Jobs = 20
  Password = "xxxxx"
  Messages = Daemon
}

JobDefs {
  Name = "DefaultJob"
  Type = Backup
  Level = Incremental
  Client = bacula
  FileSet = "Full Set"
  Schedule = "WeeklyCycle"
  Storage = Files
  Pool = Default
  Messages = Standard
  Priority = 10
  SpoolData = no
}

FileSet {
  Name = "HISserver Files"
  Include {
        File = "C:/"
  }
  Enable VSS = yes
}


Client {
  Name = hisservld
  Address = hisservld
  FDPort = 9102
  Catalog = MyCatalog
  Password = "xxxxxxx"
  Auto Prune = yes
  File Retention = 3 months
  Job Retention = 5 months
}

Job {
  Name = hisservld
  JobDefs = "DefaultJob"
  Client = hisservld
  FileSet = "HISserver Files"
  Write Bootstrap = "/var/bacula/hisservld.bsr"
  Client Run Before Job = "ntbackup backup systemstate /F c:\\systemstate.bkf 
&& c:/programme/bacula/wait 300"
}


#################################################################


# Backup the catalog database (after the nightly save)
Job {
  Name = "BackupCatalog"
  JobDefs = "DefaultJob"
  Level = Full
  FileSet="Catalog"
  Schedule = "WeeklyCycleAfterBackup"
  # This creates an ASCII copy of the catalog
  RunBeforeJob = "/etc/bacula/make_catalog_backup bacula bacula"
  # This deletes the copy of the catalog
  RunAfterJob  = "/etc/bacula/delete_catalog_backup"
  Write Bootstrap = "/var/bacula/BackupCatalog.bsr"
  Priority = 11                   # run after main backup
}

# Standard Restore template, to be changed by Console program
Job {
  Name = "RestoreFiles"
  Type = Restore
  Client = bacula
  FileSet = "client files-to-backup"                  
  Storage = Files
  Pool = Default
  Messages = Standard
  Where = /tmp/bacula-restores
}


# List of files to be backed up
FileSet {
  Name = "client files-to-backup"
  Ignore FileSet Changes = yes
  Include {
    Options {
      signature = MD5
      compression=GZIP    
    }
    File = "\\</etc/bacula/files-to-backup"
  }

  Exclude {
    File = /proc
    File = /tmp
    File = /.journal
    File = /.fsck
  }
}

FileSet {
  Name = "Full Set"
  Include {
    Options {
      signature = MD5
    }
#    
#  Put your list of files here, preceded by 'File =', one per line
#    or include an external list with:
#
#    File = <file-name
#
#  Note: / backs up everything on the root partition.
#    if you have other partitons such as /usr or /home
#    you will probably want to add them too.
#
#  By default this is defined to point to the Bacula build
#    directory to give a reasonable FileSet to backup to
#    disk storage during initial testing.
#
    File = / 
  }

#
# If you backup the root directory, the following two excluded
#   files can be useful
#
  Exclude {
    File = /proc
    File = /tmp
    File = /.journal
    File = /.fsck
  }
}

#
# When to do the backups, full backup on first sunday of the month,
#  differential (i.e. incremental since full) every other sunday,
#  and incremental backups other days
Schedule {
  Name = "WeeklyCycle"
  Run = Full 1st sat at 4:05
  Run = Differential 2nd-5th sat at 4:05
  Run = Incremental sun-fri at 4:05
}

# This schedule does the catalog. It starts after the WeeklyCycle
Schedule {
  Name = "WeeklyCycleAfterBackup"
  Run = Full sun-sat at 6:10
}

# This is the backup of the catalog
FileSet {
  Name = "Catalog"
  Include {
    Options {
      signature = MD5
    }
    File = /var/bacula/bacula.sql
  }
}

########################################
# Storage definitions
#

Storage {
  Name = Files
  Address = bacula.uni-koblenz.de
  SDPort = 9103
  Password = "xxxxxxxxxxxxx"
  Device = FileStorage
  Autochanger = no
  Media Type = File
  Maximum Concurrent Jobs = 20
}

Storage {
  Name = Overland
  Address = bacula.uni-koblenz.de                # N.B. Use a fully qualified 
name here
  SDPort = 9103
  Password = "xxxxxx"
  Device = Overland-NEO2000
  Autochanger = yes
  Media Type = LTO2               # must be same as MediaType in Storage daemon
  Maximum Concurrent Jobs = 1
}

# Generic catalog service
Catalog {
  Name = MyCatalog
  dbname = bacula; 
  user = bacula; 
  DB Address = localhost
  password = ""
}




    
# Default pool definition
Pool {
  Name = Default
  Pool Type = Backup
  Recycle = yes                       # Bacula can automatically recycle Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 5 month
#  Accept Any Volume = yes             # write on any volume in the pool
  Label Format = "BaculaFile-"
}

Pool {
  Name = LTO
  Pool Type = Backup
  Recycle = yes                       # Bacula can automatically recycle Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 5 month
#  Accept Any Volume = yes             # write on any volume in the pool
  Label Format = "LTO-"
}




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to