"bacula erreur /dev/backup"
Fermé
Hassen_Gharbi
Messages postés
12
Date d'inscription
jeudi 13 octobre 2016
Statut
Membre
Dernière intervention
8 mai 2019
-
Modifié le 29 mars 2018 à 16:22
Hassen_Gharbi Messages postés 12 Date d'inscription jeudi 13 octobre 2016 Statut Membre Dernière intervention 8 mai 2019 - 29 mars 2018 à 18:47
Hassen_Gharbi Messages postés 12 Date d'inscription jeudi 13 octobre 2016 Statut Membre Dernière intervention 8 mai 2019 - 29 mars 2018 à 18:47
A voir également:
- "bacula erreur /dev/backup"
- Telecharger dev c++ - Télécharger - Langages
- Erreur 0x80070643 - Guide
- Cobian backup - Télécharger - Sauvegarde
- Windows backup - Guide
- Logiciel backup - Guide
2 réponses
brupala
Messages postés
109453
Date d'inscription
lundi 16 juillet 2001
Statut
Membre
Dernière intervention
25 avril 2024
13 623
29 mars 2018 à 16:02
29 mars 2018 à 16:02
Salut,
de quoi parles tu en fait ?
de quoi parles tu en fait ?
Pinzou76
Messages postés
609
Date d'inscription
dimanche 17 septembre 2017
Statut
Membre
Dernière intervention
25 février 2019
190
29 mars 2018 à 16:20
29 mars 2018 à 16:20
Bonjour,
Il faut d'abord que tu crée un volume pour le Device.
Je ne peux pas trop en dire plus, j'ai abandonné Bacula car trop difficile à utiliser et la documentation est dure à lire.. Mais je sais que cette erreur est résolue par ça.
Bon courage
Il faut d'abord que tu crée un volume pour le Device.
Je ne peux pas trop en dire plus, j'ai abandonné Bacula car trop difficile à utiliser et la documentation est dure à lire.. Mais je sais que cette erreur est résolue par ça.
Bon courage
Hassen_Gharbi
Messages postés
12
Date d'inscription
jeudi 13 octobre 2016
Statut
Membre
Dernière intervention
8 mai 2019
29 mars 2018 à 18:47
29 mars 2018 à 18:47
J'ai installé bacula ... Et voici ce qui trouve dans les fichiers de configurations
Director { # define myself
Name = Master-dir
#DIRport = 9101 # where we listen for UA connections
QueryFile = "/etc/bacula/scripts/query.sql"
WorkingDirectory = "/var/lib/bacula"
PidDirectory = "/var/run/bacula"
Maximum Concurrent Jobs = 20
Password = "rdAN57eTIo4uIBaLEAGqmImU8Pz21Uc16" # Console password
Messages = Daemon
#DirAddress = 127.0.0.1
DirAddresses = {
ip = { addr = 192.168.1.47; port = 9101; }
}
}
Storage {
Name = File1
# Address = 192.168.1.47 here # N.B. Use a fully qualified name here
SDPort = 9103
Password = "irWoo5Xo3IuDHXv7kn3-FWwl6oMAEZNw0"
Device = /dev/backup
Media Type = Home
Maximum Concurrent Jobs = 10 # run up to 10 jobs a the same time
}
Pool {
Name = Home
Pool Type = Backup
Label Format = Local-
Recycle = yes # Bacula can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 365 days # one year
Maximum Volume Bytes = 50G # Limit Volume size to something reasonable
Maximum Volumes = 100 # Limit number of Volumes in Pool
}
Pool { Pool definition
Name = File
Pool Type = Backup
Recycle = yes # Bacula can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 365 days # one year
Maximum Volume Bytes = 50G # Limit Volume size to something reasonable
Maximum Volumes = 100 # Limit number of Volumes in Pool
Label Format = "Vol-" # Auto label
}
Mais lorsque je vais connecté sur la console et faible le label une erreur s'affiche le voici
# bconsole
Connecting to Director 192.168.1.47:9101
1000 OK: 1 Master-dir Version: 7.0.5 (28 July 2014)
Enter a period to cancel a command.
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
The defined Storage resources are:
1: File1
2: File2
Select Storage resource (1-2): 1
Enter new Volume name: file
Defined Pools:
1: Default
2: File
3: Scratch
4: RemoteFile
5: Home
Select the Pool (1-5): 1
Connecting to Storage daemon File1 at 192.168.1.47:9103 ...
Sending label command for Volume "file" Slot 0 ...
3999 Device "/dev/backup" not found or could not be opened.
Label command failed for Volume file.
Do not forget to mount the drive!!!
Director { # define myself
Name = Master-dir
#DIRport = 9101 # where we listen for UA connections
QueryFile = "/etc/bacula/scripts/query.sql"
WorkingDirectory = "/var/lib/bacula"
PidDirectory = "/var/run/bacula"
Maximum Concurrent Jobs = 20
Password = "rdAN57eTIo4uIBaLEAGqmImU8Pz21Uc16" # Console password
Messages = Daemon
#DirAddress = 127.0.0.1
DirAddresses = {
ip = { addr = 192.168.1.47; port = 9101; }
}
}
Storage {
Name = File1
# Address = 192.168.1.47 here # N.B. Use a fully qualified name here
SDPort = 9103
Password = "irWoo5Xo3IuDHXv7kn3-FWwl6oMAEZNw0"
Device = /dev/backup
Media Type = Home
Maximum Concurrent Jobs = 10 # run up to 10 jobs a the same time
}
Pool {
Name = Home
Pool Type = Backup
Label Format = Local-
Recycle = yes # Bacula can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 365 days # one year
Maximum Volume Bytes = 50G # Limit Volume size to something reasonable
Maximum Volumes = 100 # Limit number of Volumes in Pool
}
Pool { Pool definition
Name = File
Pool Type = Backup
Recycle = yes # Bacula can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 365 days # one year
Maximum Volume Bytes = 50G # Limit Volume size to something reasonable
Maximum Volumes = 100 # Limit number of Volumes in Pool
Label Format = "Vol-" # Auto label
}
Mais lorsque je vais connecté sur la console et faible le label une erreur s'affiche le voici
# bconsole
Connecting to Director 192.168.1.47:9101
1000 OK: 1 Master-dir Version: 7.0.5 (28 July 2014)
Enter a period to cancel a command.
- label
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
The defined Storage resources are:
1: File1
2: File2
Select Storage resource (1-2): 1
Enter new Volume name: file
Defined Pools:
1: Default
2: File
3: Scratch
4: RemoteFile
5: Home
Select the Pool (1-5): 1
Connecting to Storage daemon File1 at 192.168.1.47:9103 ...
Sending label command for Volume "file" Slot 0 ...
3999 Device "/dev/backup" not found or could not be opened.
Label command failed for Volume file.
Do not forget to mount the drive!!!
29 mars 2018 à 16:15
29 mars 2018 à 16:23
c'est donc ceci