Hi,

I have instaled the Bacula 1.38.9 and i have problems with restore files.

I have a machine that is my backup server and client (naira) with bacula and an other machine with bacula-client (artemis).

The backups for two machines is OK but the restore no. The restore from bacula-client don't work, the log messages is OK, but the archives aren't created.

Can help-me???

My config files:

---> bacula-dir.conf

# Director
Director {
  Name = bacula-director
  DIRport = 9101
  Description = "Teste com Bacula - Naira"
  QueryFile = "/etc/bacula/query.sql"
  WorkingDirectory = "/usr/local/var/bacula/working"
  PidDirectory = "/var/run"
  Maximum Concurrent Jobs = 10
  Password = "bacula-director"
  Messages = Daemon
}

 Trabalho ( job )
Job {
  Name = "Naira-Backup-Inc"
  Type = Backup
  Level = Incremental
  Client = cliente-naira
  FileSet = "Maquina Naira"
  Messages = Standard
  Pool = pool-naira
  Schedule = "diario-arquivos"
  Storage = storage-naira
}

Job {
  Name = "Naira-Backup-Full"
  Type = Backup
  Level = Full
  Client = cliente-naira
  FileSet = "Maquina Naira"
  Messages = Standard
  Pool = pool-naira
  Storage = storage-naira
}

Job {
  Name = "Artemis-Backup-Full"
  Type = Backup
  Level = Full
  Client = cliente-artemis
  FileSet = "backup-etc"
  Messages = Standard
  Pool = pool-artemis
  Storage = storage-artemis
}

Job {
        Name = "Restore"
        Type = Restore
        #  Level = Full
        Client = cliente-artemis
        FileSet = "Padrao"
        Messages = Standard
        Pool = Padrao
        Storage = storage-artemis
        Where = /backup/restore
        }


# FileSet Naira
FileSet {
        Name = "Maquina Naira"
        Include {
        Options { compression=GZIP signature=SHA1 }
                 File=/home/naira
                }
        }

FileSet {
        Name = "backup-etc"
        Include {
        Options { compression=GZIP signature=SHA1 }
                 File=/etc
                }
        }

FileSet {
        Name = "Padrao"
        Include {
                Options { }
                }
        Exclude { }
        }

# Agendamentos
Schedule {
        Name = "diario-arquivos"
        Run = Incremental mon-sat at 23:00
        }

Schedule {
        Name = "diario-confs"
        Run = Full mon-sat at 22:00
        }

# Clientes
Client {
        Name = cliente-naira
        Address = 172.17.5.1
        Catalog = BaculaDB
        Password = "bacula-director"
        File Retention = 7d
}

Client {
        Name = cliente-artemis
        Address = 172.17.5.10
        Catalog = BaculaDB
        Password = "bacula-director"
        File Retention = 7d
}


# Storages
Storage {
       Name = storage-naira
       Address = 172.17.5.1
       Password = "senha-storage"
       Device = device-naira
       Media Type = File
       }

Storage {
        Name = storage-artemis
        Address = 172.17.5.1
        Password = "senha-storage"
        Device = device-artemis
        Media Type = File
        }

Catalog {
        Name = BaculaDB
        dbname = bacula; user=bacula; password=""
        }

# Pool
Pool {
       Name = pool-naira
       Use Volume Once = yes
       Pool Type = Backup
       LabelFormat = "Maquina_Naira-"
       AutoPrune = yes
       VolumeRetention = 3d
       Maximum Volumes = 15
       Recycle = yes
       }

Pool {
        Name = pool-artemis
        Use Volume Once = yes
        Pool Type = Backup
        LabelFormat = "Maquina_Artemis-"
        AutoPrune = yes
        VolumeRetention = 3d
        Maximum Volumes = 15
        Recycle = yes
        }


Pool {
        Name = Padrao
        #Pool Type = Backup
        Pool Type = Restore
        Recycle = yes
        AutoPrune = yes
        Volume Retention = 21d
        }

Catalog {
  Name = MyCatalog
  dbname = bacula; user = bacula; password = ""
}

# Reasonable message delivery -- send most everything to email address
#  and to the console
Messages {
  Name = Standard
  console = all, !skipped, !saved
}

--
Naira Kaieski
------------------------------------
NĂșcleo de Internet/Redes - FACCAT
www.faccat.br


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to