Thanks sruckh, But still no luck getting S3 to work. The configure
files flag no errors when tested.
I have wireshark on the connection, Bacula is not even trying to get to
the network. A ping to the S3 provider shows it can connect if it
wants. I can even fuse S3 mount the S3 bucket and move files back and
forth with the service.
Below is what I tried to run. The bacula.log file, though created, had 0B.
Can anyone tell me what I am missing.
#=======================
*status dev:
==
Device Cloud: "dev_S3_nd1"
(/home/user1/dirNFS/bu/bacula_cloudstorage_test) is not open.
Available Cache Space=1.071 TB
==
*run all
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
Job "all" not found
The defined Job resources are:
1: BackupClient1
2: BackupCatalog
3: RestoreFiles
4: BackupClient1-to-Cloud
Select Job resource (1-4): 4
Run Backup job
JobName: BackupClient1-to-Cloud
Level: Incremental
Client: debian-fd
FileSet: Full Set
Pool: File (From Job resource)
Storage: dev_S3_nd1 (From Job resource)
When: 2020-07-04 08:16:45
Priority: 10
OK to run? (yes/mod/no): yes
Job queued. JobId=11
You have messages.
*messages
04-Jul 08:16 debian-dir JobId 11: No prior Full backup Job record found.
04-Jul 08:16 debian-dir JobId 11: No prior or suitable Full backup found
in catalog. Doing FULL backup.
04-Jul 08:16 debian-dir JobId 11: Start Backup JobId 11,
Job=BackupClient1-to-Cloud.2020-07-04_08.16.48_03
04-Jul 08:16 debian-dir JobId 11: Using Device "dev_S3_nd1" to write.
04-Jul 08:16 debian-fd JobId 11: Fatal error: job.c:3008 Comm error with
SD. bad response to Append Data. ERR=No data available
#=======================
bacula-fd.conf:
FileDaemon { # this is me
Name = debian-fd
FDport = 9102 # where we listen for the director
WorkingDirectory = /opt/bacula/working
Pid Directory = /var/run
Maximum Concurrent Jobs = 20
Plugin Directory = /opt/bacula/lib
PKI Signatures = Yes # Enable Data
PKI Encryption = Yes # Enable Data
PKI Keypair = "/opt/bacula/etc/e156-bac963-fd.pem" # Public
and Private Keys
PKI Master Key = "/opt/bacula/etc/e156-bac963-master.cert" # ONLY
the Public Key
PkiCipher = AES256
}
#=======================
bacula-dir.conf:
Job {
Name = "BackupClient1-to-Cloud"
JobDefs = "DefaultJob"
Storage = dev_S3_nd1
Client = debian-fd
}
Autochanger{
Name = dev_S3_nd1
Address = debian
SDPort = 9103
Password = <bacula-sd pwd, same one the other autochangers that work
use.>
Device = dev_S3_nd1
Media Type = CloudType
Autochanger = dev_S3_nd1
Maximum Concurrent Jobs = 10
}
Pool{
Name = dev_S3_nd1_pool
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 365 days
Maximum Volume Bytes = 268435456
Maximum Volumes = 8192
Storage = dev_S3_nd1
CacheRetention = 30 days
LabelFormat = "S3_nd1_Vol-"
}
#=======================
bacula-sd.conf:
Device {
Name = dev_S3_nd1
Device Type = Cloud
Cloud = S3Cloud
Archive Device = /home/user1/dirNFS/bu/bacula_cloudstorage_test
Maximum Part Size = 10000000
Media Type = CloudType
LabelMedia = yes;
Random Access = Yes;
AutomaticMount = yes
RemovableMedia = no
AlwaysOpen = no
}
Cloud {
Name = S3Cloud
Driver = "S3"
HostName = <S3 connection with Fuse S3 mount works>
BucketName = "test_bucket"
Access Key = <S3 Access Key>
Secret Key = <S3 Access Key>
Protocol = HTTPS
Truncate Cache = No
Upload = EachPart
Region = "us-central-1"
}
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users