Hello,
my name is dennis.
I wanna make a backup-system with bacula.
But i am NEW in bacula i need somebody indulgent to me.
I have installed:
ubuntu server 9.10:
- bacula 2.4.4-1ubuntu9 (from ubuntu repository)
ubuntu desktop 9.10
- bacula-client 2.4.4-1ubuntu9
The CFG is on the end of the mail.
My problem is, i dot have a TapeDrive at the moment.
So i wann backup to a disk-pool if possible.
But it do not work.
How to make a working diskpool ?
*mount localHDD
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
Storage resource "localHDD": not found
Automatically selected Storage: File
3001 OK mount. Device="FileStorage" (/bacula/archive)
*status localHDD
Automatically selected Storage: File
Connecting to Storage daemon File at baculaSRV:9103
baculaSRV-sd Version: 2.4.4 (28 December 2008) x86_64-pc-linux-gnu debian
squeez e/sid
Daemon started 31-Oct-09 08:00, 1 Job run since started.
Heap: heap=458,752 smbytes=219,281 max_bytes=285,929 bufs=94 max_bufs=102
Sizes: boffset_t=8 size_t=8 int32_t=4 int64_t=8
Running Jobs:
Writing: Full Backup job cliadmin-desktop.2009-10-31_08 JobId=7 Volume=""
pool="Default" device="FileStorage" (/bacula/archive)
spooling=0 despooling=0 despool_wait=0
Files=0 Bytes=0 Bytes/sec=0
FDReadSeqNo=6 in_msg=6 out_msg=4 fd=6
====
Jobs waiting to reserve a drive:
====
Terminated Jobs:
JobId Level Files Bytes Status Finished Name
===================================================================
1 Full 0 0 Error 31-Oct-09 07:20
BackupCatalog.2009- 10-31_07
3 Full 0 0 Cancel 31-Oct-09 07:43
BackupCatalog.2009- 10-31_07
5 Full 0 0 Error 31-Oct-09 08:17
Client1.2009-10-31_ 08
====
Device status:
Device "FileStorage" (/bacula/archive) is not open.
Device is BLOCKED waiting to create a volume for:
Pool: Default
Media type: File
====
Used Volume status:
====
====
*
the ouput of: bconsole -> show all
# bconsole
Connecting to Director localhost:9101
1000 OK: baculaSRV-dir Version: 2.4.4 (28 December 2008)
Enter a period to cancel a command.
*show alll
Director: name=baculaSRV-dir MaxJobs=1 FDtimeout=1800 SDtimeout=1800
query_file=/etc/bacula/scripts/query.sql
--> Messages: name=Daemon
mailcmd=/usr/lib/bacula/bsmtp -h localhost -f "(Bacula) <%r>" -s "Bacula
daemon message" %r
Client: name=cliadmin-desktop address=10.1.5.23 FDport=9102 MaxJobs=1
JobRetention=6 months FileRetention=1 month AutoPrune=1
--> Catalog: name=MyCatalog address=*None* DBport=0 db_name=bacula
db_user=bacula MutliDBConn=0
Client: name=baculaSRV-fd address=baculaSRV FDport=9102 MaxJobs=1
JobRetention=6 months FileRetention=1 month AutoPrune=1
--> Catalog: name=MyCatalog address=*None* DBport=0 db_name=bacula
db_user=bacula MutliDBConn=0
Job: name=Client1 JobType=66 level=Incremental Priority=10 Enabled=1
MaxJobs=1 Resched=0 Times=0 Interval=1,800 Spool=0 WritePartAfterJob=1
--> Client: name=baculaSRV-fd address=baculaSRV FDport=9102 MaxJobs=1
JobRetention=6 months FileRetention=1 month AutoPrune=1
--> Catalog: name=MyCatalog address=*None* DBport=0 db_name=bacula
db_user=bacula MutliDBConn=0
--> FileSet: name=Full Set
O M
N
I /build/buildd/bacula-2.4.4/debian/tmp-build-sqlite
N
E /proc
E /tmp
E /.journal
E /.fsck
N
--> Schedule: name=WeeklyCycle
--> Run Level=Incremental
hour=23
mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
26 27 28 29 30
month=0 1 2 3 4 5 6 7 8 9 10 11
wday=1 2 3 4 5 6
wom=0 1 2 3 4
woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
52 53
mins=5
--> Run Level=Differential
hour=23
mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
26 27 28 29 30
month=0 1 2 3 4 5 6 7 8 9 10 11
wday=0
wom=1 2 3 4
woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
52 53
mins=5
--> Run Level=Full
hour=23
mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
26 27 28 29 30
month=0 1 2 3 4 5 6 7 8 9 10 11
wday=0
wom=0
woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
52 53
mins=5
--> WriteBootstrap=/var/lib/bacula/Client1.bsr
--> Storage: name=File address=baculaSRV SDport=9103 MaxJobs=1
DeviceName=FileStorage MediaType=File StorageId=1
--> Pool: name=Default PoolType=Backup
use_cat=1 use_once=0 cat_files=1
max_vols=0 auto_prune=1 VolRetention=1 year
VolUse=0 secs recycle=1 LabelFormat=*None*
CleaningPrefix=*None* LabelType=0
RecyleOldest=0 PurgeOldest=0
MaxVolJobs=0 MaxVolFiles=0 MaxVolBytes=0
MigTime=0 secs MigHiBytes=0 MigLoBytes=0
--> Messages: name=Standard
mailcmd=/usr/lib/bacula/bsmtp -h localhost -f "(Bacula) <%r>" -s "Bacula:
%t %e of %c %l" %r
opcmd=/usr/lib/bacula/bsmtp -h localhost -f "(Bacula) <%r>" -s "Bacula:
Intervention needed for %j" %r
Job: name=cliadmin-desktop JobType=66 level=Incremental Priority=10 Enabled=1
MaxJobs=1 Resched=0 Times=0 Interval=1,800 Spool=0 WritePartAfterJob=1
--> Client: name=baculaSRV-fd address=baculaSRV FDport=9102 MaxJobs=1
JobRetention=6 months FileRetention=1 month AutoPrune=1
--> Catalog: name=MyCatalog address=*None* DBport=0 db_name=bacula
db_user=bacula MutliDBConn=0
--> FileSet: name=Full Set
O M
N
I /build/buildd/bacula-2.4.4/debian/tmp-build-sqlite
N
E /proc
E /tmp
E /.journal
E /.fsck
N
--> Schedule: name=WeeklyCycle
--> Run Level=Incremental
hour=23
mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
26 27 28 29 30
month=0 1 2 3 4 5 6 7 8 9 10 11
wday=1 2 3 4 5 6
wom=0 1 2 3 4
woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
52 53
mins=5
--> Run Level=Differential
hour=23
mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
26 27 28 29 30
month=0 1 2 3 4 5 6 7 8 9 10 11
wday=0
wom=1 2 3 4
woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
52 53
mins=5
--> Run Level=Full
hour=23
mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
26 27 28 29 30
month=0 1 2 3 4 5 6 7 8 9 10 11
wday=0
wom=0
woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
52 53
mins=5
--> WriteBootstrap=/var/lib/bacula/ubuntu-cli.bsr
--> Storage: name=File address=baculaSRV SDport=9103 MaxJobs=1
DeviceName=FileStorage MediaType=File StorageId=1
--> Pool: name=Default PoolType=Backup
use_cat=1 use_once=0 cat_files=1
max_vols=0 auto_prune=1 VolRetention=1 year
VolUse=0 secs recycle=1 LabelFormat=*None*
CleaningPrefix=*None* LabelType=0
RecyleOldest=0 PurgeOldest=0
MaxVolJobs=0 MaxVolFiles=0 MaxVolBytes=0
MigTime=0 secs MigHiBytes=0 MigLoBytes=0
--> Messages: name=Standard
mailcmd=/usr/lib/bacula/bsmtp -h localhost -f "(Bacula) <%r>" -s "Bacula:
%t %e of %c %l" %r
opcmd=/usr/lib/bacula/bsmtp -h localhost -f "(Bacula) <%r>" -s "Bacula:
Intervention needed for %j" %r
Job: name=BackupCatalog JobType=66 level=Full Priority=11 Enabled=1
MaxJobs=1 Resched=0 Times=0 Interval=1,800 Spool=0 WritePartAfterJob=1
--> Client: name=baculaSRV-fd address=baculaSRV FDport=9102 MaxJobs=1
JobRetention=6 months FileRetention=1 month AutoPrune=1
--> Catalog: name=MyCatalog address=*None* DBport=0 db_name=bacula
db_user=bacula MutliDBConn=0
--> FileSet: name=Catalog
O M
N
I /var/lib/bacula/bacula.sql
N
--> Schedule: name=WeeklyCycleAfterBackup
--> Run Level=Full
hour=23
mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
26 27 28 29 30
month=0 1 2 3 4 5 6 7 8 9 10 11
wday=0 1 2 3 4 5 6
wom=0 1 2 3 4
woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
52 53
mins=10
--> WriteBootstrap=/var/lib/bacula/BackupCatalog.bsr
--> Storage: name=File address=baculaSRV SDport=9103 MaxJobs=1
DeviceName=FileStorage MediaType=File StorageId=1
--> RunScript
--> Command=/usr/bin/awk -f /etc/bacula/scripts/make_catalog_backup_awk -v
cat1=<CatalogName> /etc/bacula/bacula-dir.conf
--> Target=
--> RunOnSuccess=1
--> RunOnFailure=0
--> FailJobOnError=1
--> RunWhen=2
--> RunScript
--> Command=/etc/bacula/scripts/delete_catalog_backup
--> Target=
--> RunOnSuccess=1
--> RunOnFailure=0
--> FailJobOnError=1
--> RunWhen=1
--> Pool: name=Default PoolType=Backup
use_cat=1 use_once=0 cat_files=1
max_vols=0 auto_prune=1 VolRetention=1 year
VolUse=0 secs recycle=1 LabelFormat=*None*
CleaningPrefix=*None* LabelType=0
RecyleOldest=0 PurgeOldest=0
MaxVolJobs=0 MaxVolFiles=0 MaxVolBytes=0
MigTime=0 secs MigHiBytes=0 MigLoBytes=0
--> Messages: name=Standard
mailcmd=/usr/lib/bacula/bsmtp -h localhost -f "(Bacula) <%r>" -s "Bacula:
%t %e of %c %l" %r
opcmd=/usr/lib/bacula/bsmtp -h localhost -f "(Bacula) <%r>" -s "Bacula:
Intervention needed for %j" %r
Job: name=RestoreFiles JobType=82 level= Priority=10 Enabled=1
MaxJobs=1 Resched=0 Times=0 Interval=1,800 Spool=0 WritePartAfterJob=1
--> Client: name=baculaSRV-fd address=baculaSRV FDport=9102 MaxJobs=1
JobRetention=6 months FileRetention=1 month AutoPrune=1
--> Catalog: name=MyCatalog address=*None* DBport=0 db_name=bacula
db_user=bacula MutliDBConn=0
--> FileSet: name=Full Set
O M
N
I /build/buildd/bacula-2.4.4/debian/tmp-build-sqlite
N
E /proc
E /tmp
E /.journal
E /.fsck
N
--> Where=/nonexistant/path/to/file/archive/dir/bacula-restores
--> Storage: name=File address=baculaSRV SDport=9103 MaxJobs=1
DeviceName=FileStorage MediaType=File StorageId=1
--> Pool: name=Default PoolType=Backup
use_cat=1 use_once=0 cat_files=1
max_vols=0 auto_prune=1 VolRetention=1 year
VolUse=0 secs recycle=1 LabelFormat=*None*
CleaningPrefix=*None* LabelType=0
RecyleOldest=0 PurgeOldest=0
MaxVolJobs=0 MaxVolFiles=0 MaxVolBytes=0
MigTime=0 secs MigHiBytes=0 MigLoBytes=0
--> Messages: name=Standard
mailcmd=/usr/lib/bacula/bsmtp -h localhost -f "(Bacula) <%r>" -s "Bacula:
%t %e of %c %l" %r
opcmd=/usr/lib/bacula/bsmtp -h localhost -f "(Bacula) <%r>" -s "Bacula:
Intervention needed for %j" %r
Storage: name=File address=baculaSRV SDport=9103 MaxJobs=1
DeviceName=FileStorage MediaType=File StorageId=1
Catalog: name=MyCatalog address=*None* DBport=0 db_name=bacula
db_user=bacula MutliDBConn=0
Schedule: name=WeeklyCycle
--> Run Level=Incremental
hour=23
mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
26 27 28 29 30
month=0 1 2 3 4 5 6 7 8 9 10 11
wday=1 2 3 4 5 6
wom=0 1 2 3 4
woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
52 53
mins=5
--> Run Level=Differential
hour=23
mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
26 27 28 29 30
month=0 1 2 3 4 5 6 7 8 9 10 11
wday=0
wom=1 2 3 4
woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
52 53
mins=5
--> Run Level=Full
hour=23
mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
26 27 28 29 30
month=0 1 2 3 4 5 6 7 8 9 10 11
wday=0
wom=0
woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
52 53
mins=5
Schedule: name=WeeklyCycleAfterBackup
--> Run Level=Full
hour=23
mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
26 27 28 29 30
month=0 1 2 3 4 5 6 7 8 9 10 11
wday=0 1 2 3 4 5 6
wom=0 1 2 3 4
woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
52 53
mins=10
FileSet: name=Full Set
O M
N
I /build/buildd/bacula-2.4.4/debian/tmp-build-sqlite
N
E /proc
E /tmp
E /.journal
E /.fsck
N
FileSet: name=Catalog
O M
N
I /var/lib/bacula/bacula.sql
N
Pool: name=Default PoolType=Backup
use_cat=1 use_once=0 cat_files=1
max_vols=0 auto_prune=1 VolRetention=1 year
VolUse=0 secs recycle=1 LabelFormat=*None*
CleaningPrefix=*None* LabelType=0
RecyleOldest=0 PurgeOldest=0
MaxVolJobs=0 MaxVolFiles=0 MaxVolBytes=0
MigTime=0 secs MigHiBytes=0 MigLoBytes=0
Pool: name=Scratch PoolType=Backup
use_cat=1 use_once=0 cat_files=1
max_vols=0 auto_prune=1 VolRetention=1 year
VolUse=0 secs recycle=1 LabelFormat=*None*
CleaningPrefix=*None* LabelType=0
RecyleOldest=0 PurgeOldest=0
MaxVolJobs=0 MaxVolFiles=0 MaxVolBytes=0
MigTime=0 secs MigHiBytes=0 MigLoBytes=0
Messages: name=Standard
mailcmd=/usr/lib/bacula/bsmtp -h localhost -f "(Bacula) <%r>" -s "Bacula:
%t %e of %c %l" %r
opcmd=/usr/lib/bacula/bsmtp -h localhost -f "(Bacula) <%r>" -s "Bacula:
Intervention needed for %j" %r
Messages: name=Daemon
mailcmd=/usr/lib/bacula/bsmtp -h localhost -f "(Bacula) <%r>" -s "Bacula
daemon message" %r
No counter resource defined
Console: name=baculaSRV-mon SSL=0
JobDefs: name=DefaultJob JobType=66 level=Incremental Priority=10 Enabled=1
MaxJobs=1 Resched=0 Times=0 Interval=1,800 Spool=0 WritePartAfterJob=1
--> Client: name=baculaSRV-fd address=baculaSRV FDport=9102 MaxJobs=1
JobRetention=6 months FileRetention=1 month AutoPrune=1
--> Catalog: name=MyCatalog address=*None* DBport=0 db_name=bacula
db_user=bacula MutliDBConn=0
--> FileSet: name=Full Set
O M
N
I /build/buildd/bacula-2.4.4/debian/tmp-build-sqlite
N
E /proc
E /tmp
E /.journal
E /.fsck
N
--> Schedule: name=WeeklyCycle
--> Run Level=Incremental
hour=23
mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
26 27 28 29 30
month=0 1 2 3 4 5 6 7 8 9 10 11
wday=1 2 3 4 5 6
wom=0 1 2 3 4
woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
52 53
mins=5
--> Run Level=Differential
hour=23
mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
26 27 28 29 30
month=0 1 2 3 4 5 6 7 8 9 10 11
wday=0
wom=1 2 3 4
woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
52 53
mins=5
--> Run Level=Full
hour=23
mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
26 27 28 29 30
month=0 1 2 3 4 5 6 7 8 9 10 11
wday=0
wom=0
woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
52 53
mins=5
--> Storage: name=File address=baculaSRV SDport=9103 MaxJobs=1
DeviceName=FileStorage MediaType=File StorageId=1
--> Pool: name=Default PoolType=Backup
use_cat=1 use_once=0 cat_files=1
max_vols=0 auto_prune=1 VolRetention=1 year
VolUse=0 secs recycle=1 LabelFormat=*None*
CleaningPrefix=*None* LabelType=0
RecyleOldest=0 PurgeOldest=0
MaxVolJobs=0 MaxVolFiles=0 MaxVolBytes=0
MigTime=0 secs MigHiBytes=0 MigLoBytes=0
--> Messages: name=Standard
mailcmd=/usr/lib/bacula/bsmtp -h localhost -f "(Bacula) <%r>" -s "Bacula:
%t %e of %c %l" %r
opcmd=/usr/lib/bacula/bsmtp -h localhost -f "(Bacula) <%r>" -s "Bacula:
Intervention needed for %j" %r
Device: name=FileStorage ok=0 num_writers=0 max_writers=0
reserved=0 open=0 append=0 read=0 labeled=0 offline=0 autochgr=0
poolid=0 volname= MediaType=
*cula/archive)
Pool: Default
Media type: File
31-Oct 23:05 baculaSRV-dir JobId 9: No prior Full backup Job record found.
31-Oct 23:05 baculaSRV-dir JobId 9: No prior or suitable Full backup found in
catalog. Doing FULL backup.
31-Oct 23:05 baculaSRV-dir JobId 10: No prior Full backup Job record found.
31-Oct 23:05 baculaSRV-dir JobId 10: No prior or suitable Full backup found in
catalog. Doing FULL backup.
31-Oct 23:27 baculaSRV-sd JobId 7: Job cliadmin-desktop.2009-10-31_08.27.00.03
waiting. Cannot find any appendable volumes.
Please use the "label" command to create a new Volume for:
Storage: "FileStorage" (/bacula/archive)
Pool: Default
Media type: File
01-Nov 15:27 baculaSRV-sd JobId 7: Job cliadmin-desktop.2009-10-31_08.27.00.03
waiting. Cannot find any appendable volumes.
Please use the "label" command to create a new Volume for:
Storage: "FileStorage" (/bacula/archive)
Pool: Default
Media type: File
*
/etc/bacula/bacula-dir.conf
Name = baculaSRV-dir
QueryFile = "/etc/bacula/scripts/query.sql"
WorkingDirectory = "/var/lib/bacula"
PidDirectory = "/var/run/bacula"
Maximum Concurrent Jobs = 1
Messages = Daemon
DirAddress = 127.0.0.1
}
JobDefs {
Name = "DefaultJob"
Type = Backup
Level = Incremental
Client = baculaSRV-fd
FileSet = "Full Set"
Schedule = "WeeklyCycle"
Storage = File
Messages = Standard
Pool = Default
Priority = 10
}
Job {
Name = "Client1"
JobDefs = "DefaultJob"
Write Bootstrap = "/var/lib/bacula/Client1.bsr"
}
Job {
Name = "cliadmin-desktop"
JobDefs = "DefaultJob"
Write Bootstrap = "/var/lib/bacula/ubuntu-cli.bsr"
}
Client {
Name = cliadmin-desktop
Address = 10.1.5.23
FDPort = 9102
Catalog = MyCatalog
}
Job {
Name = "BackupCatalog"
JobDefs = "DefaultJob"
Level = Full
FileSet="Catalog"
Schedule = "WeeklyCycleAfterBackup"
RunBeforeJob = "/usr/bin/awk -f /etc/bacula/scripts/make_catalog_backup_awk
-v cat1=<CatalogName> /etc/bacula/bacula-dir.conf"
RunAfterJob = "/etc/bacula/scripts/delete_catalog_backup"
Write Bootstrap = "/var/lib/bacula/BackupCatalog.bsr"
}
Job {
Name = "RestoreFiles"
Type = Restore
Client=baculaSRV-fd
FileSet="Full Set"
Storage = File
Pool = Default
Messages = Standard
Where = /nonexistant/path/to/file/archive/dir/bacula-restores
}
FileSet {
Name = "Full Set"
Include {
Options {
signature = MD5
}
File = /build/buildd/bacula-2.4.4/debian/tmp-build-sqlite
}
Exclude {
File = /proc
File = /tmp
File = /.journal
File = /.fsck
}
}
Schedule {
Name = "WeeklyCycle"
Run = Full 1st sun at 23:05
Run = Differential 2nd-5th sun at 23:05
Run = Incremental mon-sat at 23:05
}
Schedule {
Name = "WeeklyCycleAfterBackup"
Run = Full sun-sat at 23:10
}
FileSet {
Name = "Catalog"
Include {
Options {
signature = MD5
}
File = /var/lib/bacula/bacula.sql
}
}
Client {
Name = baculaSRV-fd
Address = baculaSRV
FDPort = 9102
Catalog = MyCatalog
}
Storage {
Name = File
SDPort = 9103
Password = "###############################"
Device = FileStorage
Media Type = File
}
Catalog {
Name = MyCatalog
dbname = "bacula"; dbuser = "bacula"; dbpassword = "###########"
}
Messages {
Name = Standard
mailcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s
\"Bacula: %t %e of %c %l\" %r"
operatorcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\)
\<%r\>\" -s \"Bacula: Intervention needed for %j\" %r"
mail = root@localhost = all, !skipped
operator = root@localhost = mount
console = all, !skipped, !saved
append = "/var/lib/bacula/log" = all, !skipped
}
Messages {
Name = Daemon
mailcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s
\"Bacula daemon message\" %r"
mail = root@localhost = all, !skipped
console = all, !skipped, !saved
append = "/var/lib/bacula/log" = all, !skipped
}
Pool {
Name = Default
Pool Type = Backup
}
Pool {
Name = Scratch
Pool Type = Backup
}
Console {
Name = baculaSRV-mon
Password = "#####################"
CommandACL = status, .status
}
/etc/bacula/bacula-fd.conf
Director {
Name = baculaSRV-dir
Password = "############################"
}
Director {
Name = baculaSRV-mon
Password = "############################"
Monitor = yes
}
Name = baculaSRV-fd
WorkingDirectory = /var/lib/bacula
Pid Directory = /var/run/bacula
Maximum Concurrent Jobs = 20
}
Messages {
Name = Standard
director = baculaSRV-dir = all, !skipped, !restored
}
/etc/bacula/bacula-sd.conf
Name = baculaSRV-sd
WorkingDirectory = "/var/lib/bacula"
Pid Directory = "/var/run/bacula"
Maximum Concurrent Jobs = 20
}
Director {
Name = baculaSRV-dir
Password = "#######################"
}
Director {
Name = baculaSRV-mon
Password = "#######################"
Monitor = yes
}
Device {
Name = FileStorage
Media Type = File
Archive Device = /bacula/archive
Random Access = Yes;
RemovableMedia = no;
AlwaysOpen = no;
SpoolDirectory = /bacula/spool
}
Messages {
Name = Standard
director = baculaSRV-dir = all
}
# ls -la /bacula/*
/bacula/archive:
total 12
drwxrwxr-x 2 root bacula 4096 2009-10-31 07:57 .
drwxrwxr-x 5 root bacula 4096 2009-10-31 07:47 ..
-rw-r----- 1 root root 611 2009-10-31 08:00 localHDD
/bacula/lost+found:
total 20
drwxrwxr-x 2 root bacula 16384 2009-10-31 07:23 .
drwxrwxr-x 5 root bacula 4096 2009-10-31 07:47 ..
/bacula/spool:
total 8
drwxrwxr-x 2 root bacula 4096 2009-10-31 07:47 .
drwxrwxr-x 5 root bacula 4096 2009-10-31 07:47 ..
# cat /etc/group | grep bacula
tape:x:26:bacula
bacula:x:114:
My Client is a ubuntu desktop 9.10
/etc/bacula/bacula-fd.conf
Director {
Name = cliadmin-desktop-dir
Password = "############################"
}
Director {
Name = cliadmin-desktop-mon
Password = "############################"
Monitor = yes
}
Name = cliadmin-desktop-fd
WorkingDirectory = /var/lib/bacula
Pid Directory = /var/run/bacula
Maximum Concurrent Jobs = 20
}
Messages {
Name = Standard
director = cliadmin-desktop-dir = all, !skipped, !restored
}
Thanks for help
dennis
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|