Bacula-users

Re: [Bacula-users] Backups on Windows 2008 Servers

2009-08-05 13:26:24
Subject: Re: [Bacula-users] Backups on Windows 2008 Servers
From: Shawn <shawn AT artemide DOT us>
To: Liam Brennan <Liam.Brennan AT ukfast.co DOT uk>
Date: Wed, 05 Aug 2009 13:24:39 -0400



On Wed, 2009-08-05 at 12:15 +0100, Liam Brennan wrote:
Hi,

We’re currently testing an upgrade to Bacula 3.0.1 to resolve some issues we’ve been experiencing with Windows 2008 servers.

Since upgrading I have managed to fix problems we were having with VSS and what seems like junction points being created but now we’re getting a fairly bizarre error when attempting to run full and incremental backups (see below).

 

Server: Hyper-V VPS running Windows Datacentre 2008 X86
I have tested this on dedicated servers and the problems are replicable.

 

Could not open directory "C:/Users/Administrator/My Documents/My Videos": ERR=Access is denied.
Could not open directory "C:/Documents and Settings/Default/Application Data": ERR=Access is denied.

Could not open directory "C:/Documents and Settings/Administrator/AppData/Local/Temporary Internet Files": ERR=Access is denied.

Etc...

 

The directories themselves have default permissions i.e. SYSTEM with full control, administrators etc.. and Bacula is running as an administrator.

Any help would be greatly appreciated.

 

Regards,

 

Liam Brennan


    I believe the problem is because it's considered a form of Symlinks, you don't really need to back these up anyway.

I.E. - C:/Users/Administrator/My Documents, should be replaced by C:/Users/Administrator/Documents

    I used a persons template to compile my own fix up for Vista/Windows 2008, you can feel free to modify mine and play with it if you desire. 

You might have to put "Enable VSS = yes" after "Name = "whatever":

FileSet {
  Name = "solarset"
  Ignore FileSet Changes = yes
  Include {
    Options {    # exclude stuff here
      exclude = yes
      Ignore Case = yes
      WildFile = "*.tmp"
      Wild = "[A-Z]:/pagefile.sys"
      wilddir = "[A-Z]:/Boot"
      wilddir = "[A-Z]:/Temp"
      wilddir = "[A-Z]:/Windows/Temp*"
      wilddir = "*Temporary Internet Files*"
      WildDir = "[A-Z]:/Users/*/AppData/*/Mozilla/Firefox/Profiles/*/Cache"
      WildDir = "[A-Z]:/Users/*/AppData/*/Mozilla/Firefox/Profiles/*/*/Cache.Trash"
      WildDir = "[A-Z]:/$Recycle.Bin"
      WildDir = "[A-Z]:/Documents and Settings"
      WildDir = "[A-Z]:/CPQSYSTEM"
      WildDir = "[A-Z]:/compaq"
      WildDir = "[A-Z]:/Brother-MFC-7820N"
      WildDir = "[A-Z]:/HP"
      WildDir = "[A-Z]:/HP PCL5 Universal Print Driver"
      WildDir = "[A-Z]:/drivers"
      WildDir = "[A-Z]:/p21_updates"
      WildDir = "[A-Z]:/Windows"
      Wild = "[A-Z]:/Users/*/AppData/Local/Mozilla/Firefox/*"
      Wild = "[A-Z]:/Users/*/AppData/*/Microsoft/*"
      Wild = "[A-Z]:/Users/*/AppData/*"
      WildDir = "[A-Z]:/Users/*/Documents/My Music"
      WildDir = "[A-Z]:/Users/*/Documents/My Videos"
      WildDir = "[A-Z]:/Users/*/Documents/My Pictures"
      Wild = "[A-Z]:/Users/*/Documents/My Music/*"
      Wild = "[A-Z]:/Users/*/Documents/My Videos/*"
      Wild = "[A-Z]:/Users/*/Documents/My Pictures/*"
      WildDir = "[A-Z]:/ProgramData/Application Data"
      WildDir = "[A-Z]:/ProgramData/Desktop"
      WildDir = "[A-Z]:/ProgramData/Documents"
      WildDir = "[A-Z]:/ProgramData/Favorites"
      WildDir = "[A-Z]:/ProgramData/Start Menu"
      WildDir = "[A-Z]:/ProgramData/Templates"
      WildDir = "[A-Z]:/Users/*/Application Data"
      WildDir = "[A-Z]:/Users/*/Cookies"
      WildDir = "[A-Z]:/Users/*/Local Settings"
      WildDir = "[A-Z]:/Users/*/My Documents"
      WildDir = "[A-Z]:/Users/*/NetHood"
      WildDir = "[A-Z]:/Users/*/PrintHood"
      WildDir = "[A-Z]:/Users/*/Recent"
      WildDir = "[A-Z]:/Users/*/SendTo"
      WildDir = "[A-Z]:/Users/*/Start Menu"
      WildDir = "[A-Z]:/Users/*/Templates"
      WildDir = "[A-Z]:/Users/Default User"
      Wild = "[A-Z]:/Users/*/NTUSER.DAT*"
      WildDir = "[A-Z]:/Users/All Users"
    }
    Options {   # include stuff here
      Ignore Case = yes
      signature = SHA1
      compression = GZIP
      # noatime = yes
      # _onefs_ = yes
      ignore case = yes
      WildDir = "[A-Z]:/Users/*/AppData/*/Mozilla/Firefox/Profiles/"
      Wild = "[A-Z]:/Users/*/AppData/*/Mozilla/Firefox/Profiles/*"
        WildDir = "[A-Z]:/Users/*/AppData/*/Identities"
        WildDir = "[A-Z]:/Users/*/AppData/*/Mozilla"
        WildDir = "[A-Z]:/Users/*/AppData/*/Thunderbird"
        WildDir = "[A-Z]:/Users/*/AppData/*/Microsoft"
        WildDir = "[A-Z]:/Users/*/AppData/*/Application Data"
        WildDir = "[A-Z]:/Users/*/Documents"
        WildDir = "[A-Z]:/Users/*/Desktop"
        WildDir = "[A-Z]:/Users/*/Favorites"
        Wild = "[A-Z]:/Users/*/AppData/*/Identities/*"
        Wild = "[A-Z]:/Users/*/AppData/*/Mozilla/*"
        Wild = "[A-Z]:/Users/*/AppData/*/Thunderbird/*"
        WildDir = "[A-Z]:/Users"
        Wild = "[A-Z]:/Users/*"
        WildDir = "[A-Z]:/Users/*/Documents"
        WildDir = "[A-Z]:/Users"
        WildDir = "[A-Z]:/Users/*"
        Wild = "[A-Z]:/Users/*/Documents/*"
        Wild = "[A-Z]:/Users/*"
        Wild = "[A-Z]:/Users/*/*"
      }
    File = c:/
  }
}

Enjoy,

- Shawn Q.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>