Re: [Bacula-users] Does anybody have a working Linux ISO that will allow me to restore from an offsite Bacula backup?

2024-07-02 Thread MylesDearBusiness via Bacula-users
Issues with the above, possible alternatives:
> If you can't get a database recovery, but you can get bacula set up on 
> another system and give it access to your catalog backup volumes, you could 
> use the bscan utility to scan the relevant catalog backup volumes and rebuild 
> bacula's awareness of what files are available. could then do a restore of 
> the catalog backup, and export backup to your bacula recovery system. The 
> possible need to bscan a volume to enable catalog recovery is one reason why 
> I always make sure that my catalog backups go into their own dedicated 
> volumes - faster / easier bscan in the event such is needed, no need to also 
> scan through tons of data that include various system files.
> You might consider setting up an alternative bacula system in a VM, 
> configure, get full access to your bacula backups, then restore the necessary 
> backup to storage that could be accessible to the troubled system once that 
> system is booted into a recovery environment. This way you wouldn't need to 
> set up bacula in the recovery environment, just copy the files over into the 
> system.
> If the existing bacula instance is accessible via bconsole, I'd just restore 
> the backup from there. Be sure to export a copy of your bacula catalog from 
> your backups too. Also, be certain that the catalog backup you exported is up 
> to date and contains the latest backup.
> If you cannot export the latest catalog backup, or the latest catalog backup 
> doesn't include the most recent full system backup, AND bconsole isn't 
> accessible / functional, then I guess you could set up bacula in a test 
> system, then bscan the volumes related to the most recent full system backup.
>
> Robert Gerber
> 402-237-8692
> r...@craeon.net
>
> On Tue, Jun 25, 2024, 8:41 AM MylesDearBusiness via Bacula-users 
>  wrote:
>
>> I`d be pleased to provide more detail, I was trying to keep my answer terse, 
>> obviously I undershot !?
>>
>> I commissioned our cloud server, installing our business services and then 
>> securing with community edition Bacula system backup to an offsite Koofr 
>> storage backend, via rclone. I also installed and configured Bacularis with 
>> appropriate Nginx reverse-proxying and production SSL cert install.
>>
>> I then attempted to install element.io (as a potential Slack replacement for 
>> our company) and all he** broke loose, the microk8s installer completely 
>> decimated my NGINX configuration and all services stopped working. The 
>> element.io "support" team declined to help me recover my system from an 
>> installer that crashed halfway through, leaving the system in an unstable 
>> state.
>>
>> Thus, I wish to restore the entire bare metal cloud server from a complete 
>> Bacula backup I took just prior to doing this test install.
>>
>> After trying and failing to use more low-level manual means, I`m now 
>> pivoting and trying to adapt an existing Live Ubuntu ISO and install 
>> appropriate Bacula packages and storage backend linkages using CUBIC. I plan 
>> to test the ISO on local VirtualBox and ultimately bring it up in a virtual 
>> CDROM on my cloud server`s ASMB9-iKV. I then want the ISO to come up with 
>> all Bacula services primed and ready for a full system restore.
>>
>> I`m not sure what the history was that led up to the removal of the Live ISO 
>> from the community Bacula builds, but it`s taking a LOT of my time to figure 
>> out how to do restores on an unstable system. Is there a reason a basic 
>> universal Bacula recovery ISO isn't being built with each community release ?
>>
>> Thanks,
>>
>> 
>>
>> On 2024-06-25 2:55 a.m., Davide F. wrote:
>>
>>> Hi Myles,
>>>
>>> Could you give the context ?
>>>
>>> I do t understand what’s the problem you are trying to solve, why do you 
>>> want to build an ISO ?
>>>
>>> Best,
>>>
>>> Davide
>>>
>>> On Tue, Jun 25, 2024 at 03:25 MylesDearBusiness via Bacula-users 
>>>  wrote:
>>>
>>>> I spent most of today trying to create a custom ISO manually, with no 
>>>> success. I'm trying to boot locally in my VirtualBox before the main event 
>>>> in which I'll remotely mount it into my cloud server's IPMI ASMB9-iKVM and 
>>>> boot it using a virtual CDROM drive.
>>>>
>>>> I'm aiming to try CUBIC next to customize a stock live boot ISO.
>>>>
>>>> For me, with my level of knowledge, and only ChatGPT as my support 
>>>> resource, this may take many days or even weeks to achieve.
>>>>
>>>> Does anybody have an ISO that I could use as a starting point?
>>>>
>>>> I was hoping to have Bacula community edition 13.0.3 or 13.0.4 on this 
>>>> recovery ISO.
>>>>
>>>> Thanks,
>>>>
>>>> 
>>>>
>>>> ___
>>>> Bacula-users mailing list
>>>> Bacula-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>
>> --
>>
>> ___
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Does anybody have a working Linux ISO that will allow me to restore from an offsite Bacula backup?

2024-06-25 Thread MylesDearBusiness via Bacula-users
I`d be pleased to provide more detail, I was trying to keep my answer terse, 
obviously I undershot !?

I commissioned our cloud server, installing our business services and then 
securing with community edition Bacula system backup to an offsite Koofr 
storage backend, via rclone. I also installed and configured Bacularis with 
appropriate Nginx reverse-proxying and production SSL cert install.

I then attempted to install element.io (as a potential Slack replacement for 
our company) and all he** broke loose, the microk8s installer completely 
decimated my NGINX configuration and all services stopped working. The 
element.io "support" team declined to help me recover my system from an 
installer that crashed halfway through, leaving the system in an unstable state.

Thus, I wish to restore the entire bare metal cloud server from a complete 
Bacula backup I took just prior to doing this test install.

After trying and failing to use more low-level manual means, I`m now pivoting 
and trying to adapt an existing Live Ubuntu ISO and install appropriate Bacula 
packages and storage backend linkages using CUBIC. I plan to test the ISO on 
local VirtualBox and ultimately bring it up in a virtual CDROM on my cloud 
server`s ASMB9-iKV. I then want the ISO to come up with all Bacula services 
primed and ready for a full system restore.

I`m not sure what the history was that led up to the removal of the Live ISO 
from the community Bacula builds, but it`s taking a LOT of my time to figure 
out how to do restores on an unstable system. Is there a reason a basic 
universal Bacula recovery ISO isn't being built with each community release ?

Thanks,



On 2024-06-25 2:55 a.m., Davide F. wrote:

> Hi Myles,
>
> Could you give the context ?
>
> I do t understand what’s the problem you are trying to solve, why do you want 
> to build an ISO ?
>
> Best,
>
> Davide
>
> On Tue, Jun 25, 2024 at 03:25 MylesDearBusiness via Bacula-users 
>  wrote:
>
>> I spent most of today trying to create a custom ISO manually, with no 
>> success. I'm trying to boot locally in my VirtualBox before the main event 
>> in which I'll remotely mount it into my cloud server's IPMI ASMB9-iKVM and 
>> boot it using a virtual CDROM drive.
>>
>> I'm aiming to try CUBIC next to customize a stock live boot ISO.
>>
>> For me, with my level of knowledge, and only ChatGPT as my support resource, 
>> this may take many days or even weeks to achieve.
>>
>> Does anybody have an ISO that I could use as a starting point?
>>
>> I was hoping to have Bacula community edition 13.0.3 or 13.0.4 on this 
>> recovery ISO.
>>
>> Thanks,
>>
>> 
>>
>> ___
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users

--___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Does anybody have a working Linux ISO that will allow me to restore from an offsite Bacula backup?

2024-06-24 Thread MylesDearBusiness via Bacula-users
I spent most of today trying to create a custom ISO manually, with no success. 
I'm trying to boot locally in my VirtualBox before the main event in which I'll 
remotely mount it into my cloud server's IPMI ASMB9-iKVM and boot it using a 
virtual CDROM drive.

I'm aiming to try CUBIC next to customize a stock live boot ISO.

For me, with my level of knowledge, and only ChatGPT as my support resource, 
this may take many days or even weeks to achieve.

Does anybody have an ISO that I could use as a starting point?

I was hoping to have Bacula community edition 13.0.3 or 13.0.4 on this recovery 
ISO.

Thanks,

___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Any suggestions for fail2ban jail for Bacula Director ?

2024-04-02 Thread MylesDearBusiness via Bacula-users
I nailed this.

I created a cron job that, every ten minutes or so, runs "journalctl -u 
bacula-dir > /opt/bacula/log/bacula-dir-journal.log" (since I opened 
bacula-dir's firewall port up to the public internet).

I then created a fail2ban jail that scanned for authentication failure patterns 
and banned (via temporary firewall rules) users who repeatedly failed to log in 
successfully.

root:/etc/fail2ban/jail.d# cat bacula.conf
[bacula]
enabled = true
port = 9101
filter = bacula
logpath = /opt/bacula/log/bacula-dir-journal.log
maxretry = 10
findtime = 3600
bantime = 900
action = iptables-allports

root:/etc/fail2ban/filter.d# cat /etc/fail2ban/filter.d/bacula.conf

# Fail2Ban filter for Bacula Director
[Definition]
failregex = Hello from client: is invalid
ignoreregex =

root:/etc/fail2ban/filter.d#

Best,



On 2023-12-04 12:22 p.m., MylesDearBusiness wrote:

> Hello,
>
> I just installed Bacula director on one of my cloud servers.
>
> I have set the firewall to allow traffic in/out of port 9101 to allow it to 
> be utilized to orchestrate remote backups as well.
>
> What I want to do is to identify the potential attack surface and create a 
> fail2ban jail configuration.
>
> Does anybody have an exemplar that I can work with?
>
> Also, is there a way to simulate a failed login attempt with a tool such as 
> netcat? I could possibly use PostMan and dig into the REST API spec, but I 
> was hoping the community would be able to shortcut this effort.
>
> What say you?
>
> Thanks,
>
> ___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Fwd: Failure to run proxied backup job from behind a firewall/NAT gateway using Client Initiated Backup feature

2024-03-12 Thread MylesDearBusiness via Bacula-users
I'm trying to use the feature explained in the Bacula Community Main Users 
Guide section 3.3 "Client Behind NAT Support with the Connect To Director 
Directive".

The FD behind the NAT appears convinced the Director invoking the run request 
is running in Monitor mode - I have tried in the client's bacula-fd.conf to add 
"Monitor = no" directive, and restart the bacula-fd service, but to no avail.

I tried adding "Remote = yes" and "Monitor = no" to the  bacula-dir.conf Client 
directive referenced by the job I'm invoking, but these fields are apparently 
not allowed and were rejected by the software so I reverted them and restarted 
the director.

I am trying to launch the job both via the Bacularis web interface and via the 
bconsole remote proxy interface, with the same immediate failure after 2 
seconds (shown in red below)

I am reading the documentation, but I'm really down to trial and error here, 
any suggestions ?

Thanks,



On 2024-03-12 6:41 a.m., Myles Dear wrote:

> Update : Here are the bacula logs from the server side when I attempt a 
> client initiated backup from the client.
>
> Any ideas on what this error means, and how to resolve this?
>
> 12-Mar 11:22 cloud-dir JobId 241: Start Backup JobId 241, 
> Job=KhapBackupVcuClient1.2024-03-12_11.22.15_31
> 12-Mar 11:22 cloud-dir JobId 241: Connected to Storage "File1" at orb:9103 
> with TLS
> 12-Mar 11:22 cloud-dir JobId 241: Using Device "FileChgr1-Dev1" to write.
> 12-Mar 11:22 cloud-dir JobId 241: Connected to Client "vcuproject2030-fd" at 
> localhost:9104 with TLS
> 12-Mar 11:22 cloud-dir JobId 241: Fatal error: File daemon "baremetal-fd" 
> rejected Job command: 2997 Invalid command for a Director with Monitor 
> directive enabled.
>
> 12-Mar 11:22 orb-dir JobId 241: Fatal error: No Job status returned from FD.
> 12-Mar 11:22 orb-dir JobId 241: Error: Bacula Enterprise orb-dir 13.0.3 
> (02May23):
> Build OS: x86_64-pc-linux-gnu-bacula-enterprise ubuntu 22.04
> JobId: 241
> Job: MyBackupJob.2024-03-12_11.22.15_31
> Backup Level: Full
> Client: "baremetal-fd" 13.0.3 (02May23) 
> x86_64-pc-linux-gnu-bacula-enterprise,ubuntu,22.04
> FileSet: "Full Set" 2024-01-18 06:23:13
> Pool: "File" (From Job resource)
> Catalog: "MyCatalog" (From Client resource)
> Storage: "File1" (From Job resource)
> Scheduled time: 12-Mar-2024 11:22:13
> Start time: 12-Mar-2024 11:22:17
> End time: 12-Mar-2024 11:22:18
> Elapsed time: 1 sec
> Priority: 10
> FD Files Written: 0
> SD Files Written: 0
> FD Bytes Written: 0 (0 B)
> SD Bytes Written: 0 (0 B)
> Rate: 0.0 KB/s
> Software Compression: None
> Comm Line Compression: None
> Snapshot/VSS: no
> Encryption: no
> Accurate: yes
> Volume name(s):
> Volume Session Id: 16
> Volume Session Time: 1709388420
> Last Volume Bytes: 2,809,442,893 (2.809 GB)
> Non-fatal FD errors: 1
> SD Errors: 0
> FD termination status: Error
> SD termination status: Waiting on FD
> Termination: *** Backup Error ***___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Failure to run proxied backup job from behind a firewall/NAT gateway using Client Initiated Backup feature

2024-03-09 Thread MylesDearBusiness via Bacula-users
As per the Main Reference Manual sections 54.3.1 (Client Initiated Backup) and 
49.1.6 (Proxied Connection):
I have a Director and SD already running on a cloud server.
I have a FD running on the cloud server and have been doing successful backups 
for the last few months (hence the SD and the storage backends have all been 
proven to work).

I just added a FD running on a bare metal server behind a firewall and NAT/PAT 
gateway.
As per instructions from documentation I adjusted the bare metal and cloud 
configuration, restarted required services, and launched my bconsole from the 
local bare metal machine.
I typed "proxy" as recommended in the documentation and obtained a full 
bconsole from the bare metal machine as expected.

I typed the command "run job= client=baremetal-fd accurate=yes 
level=full fdcalled=1" and the job failed due to a permissions issue.

I updated the Console clause in bacula-fd.conf to match its password to that of 
the cloud Director and this issue disappeared.

I tried removing the "cloud-mon" Director clause from my bacula-fd.conf and I 
now I get a different error:

cloud-dir JobId 234: Error: Bacula Enterprise cloud-dir 13.0.3 (02May23):
Build OS: x86_64-pc-linux-gnu-bacula-enterprise ubuntu 22.04
JobId: 234
Job: MyBackupJob.2024-03-10_06.57.36_48
Backup Level: Full
Client: "baremetal-fd" 13.0.3 (02May23) 
x86_64-pc-linux-gnu-bacula-enterprise,ubuntu,22.04
FileSet: "Full Set" 2024-01-18 06:23:13
Pool: "File" (From Job resource)
Catalog: "MyCatalog" (From Client resource)
Storage: "File1" (From Job resource)
Scheduled time: 10-Mar-2024 06:57:32
Start time: 10-Mar-2024 06:57:38
End time: 10-Mar-2024 06:57:39
Elapsed time: 1 sec
Priority: 10
FD Files Written: 0
SD Files Written: 0
FD Bytes Written: 0 (0 B)
SD Bytes Written: 0 (0 B)
Rate: 0.0 KB/s
Software Compression: None
Comm Line Compression: None
Snapshot/VSS: no
Encryption: no
Accurate: yes
Volume name(s):
Volume Session Id: 9
Volume Session Time: 1709388420
Last Volume Bytes: 2,037,962,107 (2.037 GB)
Non-fatal FD errors: 1
SD Errors: 0
FD termination status: Error
SD termination status: Waiting on FD
Termination: *** Backup Error ***
cloud-dir JobId 234: Fatal error: No Job status returned from FD.
cloud-dir JobId 234: Fatal error: File daemon "baremetal-fd" rejected Job 
command: 2997 Invalid command for a Director with Monitor directive enabled.
cloud-dir JobId 234: Connected to Client "baremetal-fd" at localhost:9104 with 
TLS
cloud-dir JobId 234: Using Device "FileChgr1-Dev2" to write.
cloud-dir JobId 234: Connected to Storage "File1" at cloud:9103 with TLS
cloud-dir JobId 234: Start Backup JobId 234, 
Job=KhapBackupVcuClient1.2024-03-10_06.57.36_48

The bacula-dir journal on the cloud server had some SSL related errors :

Mar 10 06:55:57 orb bacula-dir[2952665]: orb-dir: message.c:1835-0 openssl.c:81 
TLS read/write failure.: ERR=error:0A000126:SSL routines::unexpected eof while 
reading
Mar 10 06:55:57 orb bacula-dir[2952665]: openssl.c:81 TLS read/write failure.: 
ERR=error:0A000126:SSL routines::unexpected eof while reading

I checked and the "fdcalled" feature was back-ported from Bacula Enterprise 7 
years ago to the Community Edition.
I'm running version 13.0.3 (02 May 2023) bacula-dir and bacula-fd.

I added the following clauses into my cloud server bacula-dir.conf:

Job {
Name = "NewBareMetalBackupJob"
Client = baremetal-fd
JobDefs = "DefaultJob"
}

# Client (File Services) to backup
Client {
Name = baremetal-fd
Address = localhost
FDPort = 9104 # Don't conflict with local bacula-fd
Catalog = MyCatalog
Password = "fd password" # password for FileDaemon
File Retention = 60 days # 60 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}

#
# Console used by remote fd
#
Console { Name = fd-cons
Password = "fd cons password"
CommandACL = status, .status

# These commands are used by the tray-monitor, it is possible to restrict
CommandACL = run, restore, wait, .status, .jobs, .clients
CommandACL = .storages, .pools, .filesets, .defaults, .info

jobacl = *all*
poolacl = *all*
clientacl = *all*
storageacl = *all*
catalogacl = *all*
filesetacl = *all*
}

On the bare metal server, my bacula-fd looks like this:

#
# Default Bacula File Daemon Configuration file
#
# For Bacula release 13.0.3 (02 May 2023) -- ubuntu 22.04
#
# There is not much to change here except perhaps the
# File daemon Name to
#
#
# Copyright (C) 2000-2022 Kern Sibbald
# License: BSD 2-Clause; see file LICENSE-FOSS
#

Console { # Console to connect the Director
Name = fd-cons
DIRPort = 9101
address = cloud
Password = "fd cons password"
}

#
# List Directors who are permitted to contact this File daemon
#
Director {
Name = cloud-dir
Password = "director password" # Console password
Remote = yes
Console = fd-cons
}

#
# Restricted Director, used by tray-monitor to get the
# status of the file daemon
#
Director {
Name = cloud-mon
Monitor = yes
Remote = yes
Password = "cloud mon password"
}

#
# "Global" File daemon conf

[Bacula-users] My backup files aren't being reused and my backups are stuck. Help ?

2024-01-27 Thread MylesDearBusiness via Bacula-users
Hello,

I'm having some problems with backup file configuration.

I want the backup file area to consume 100GB and no more.

I decided on file sizes of 1GB

Pool {

...

Volume Retention = 365 days # one year
Maximum Volume Bytes = 1G # Limit Volume size to something reasonable
Maximum Volumes = 100 # Limit number of Volumes in Pool

Recycle = yes # Bacula can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes

...

}

I enabled the following schedule:

#
# When to do the backups, full backup on first sunday of the month,
# differential (i.e. incremental since full) every other sunday,
# and incremental backups other days
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
}

... and what I saw is 100 files written and filled, and then all backups 
stopping in their tracks and no further backups produced.

Every new job errors out.

None of the older backup files were reused.

Backups only resumed when I manually deleted the oldest volumes from bconsole, 
and stopped again when the maximum number of files had been reached

I want automatic space management so that when the maximum number of volumes 
are created, the oldest ones are reused.

I don't know how to set the "Volume Retention" accurately (as my backup sizes 
are not predictable, as I install new software or accumulate business data 
their size will likely increase),
I want the backups to always fit within my prescribed amount of storage space 
and recycle that space when needed, without manual intervention.

How can I achieve this ?

Thanks.___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Does Bacula allow me to configure different backup retention policies based on job age ?

2024-01-23 Thread MylesDearBusiness via Bacula-users
Thanks, Radoslaw, for confirming this.

Best,



On 2024-01-23 2:47 a.m., Radosław Korzeniewski wrote:

> Hello,
>
> pon., 22 sty 2024 o 05:56 MylesDearBusiness via Bacula-users 
>  napisał(a):
>
>> Hello,
>>
>> How would I configure different backup retension policies (ie. backup 
>> densities) ?
>>
>> For example, for backups over a year old, I only want to retain backups 
>> every three months.
>>
>> For backups over six months old, I only want to retain backups every two 
>> months.
>>
>> For bacups within the last six months, I want to retain monthly backups
>>
>> Then, I want to do something similar with weekly backups.
>>
>> Doable?
>
> Yes, depends on your exact details required.
> I'm making this with GFS backup policy, using different backup levels (full, 
> diff, incr), three pools with different backup retentions and a schedule 
> showing how often (density) execute a particular backup level makes three 
> different backup densities.
> So, in your example:
> - full, retention counted in years (you did not specified it), executed every 
> three months
> - diff, retention 1 year, executed every two months
> - incr, retention 6 months, executed every month
> If you craft your schedule carefully then my execution times could be even 
> lower to achieve your requirements. I showed you an exemple.
>
> best regards --
>
> Radosław Korzeniewski
> rados...@korzeniewski.net___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Does Bacula allow me to configure different backup retention policies based on job age ?

2024-01-21 Thread MylesDearBusiness via Bacula-users
Hello,

How would I configure different backup retension policies (ie. backup 
densities) ?

For example, for backups over a year old, I only want to retain backups every 
three months.

For backups over six months old, I only want to retain backups every two months.

For bacups within the last six months, I want to retain monthly backups

Then, I want to do something similar with weekly backups.

Doable?

Thanks !

___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Jammy OS, Bacula 13.0.3, and Web Interface Install Question

2024-01-20 Thread MylesDearBusiness via Bacula-users
Hello,Frank.

I just finished doing a bare metal install of bacula-dir, bacula-fd and 
bacula-sd on a Jammy bare metal server, and verified bconsole worked.

I then added a bacularis docker container and bacula-api bare-metal function 
(since bacularis didn't have a ready-made version including only web and api 
functions, I've asked the maintainer if he thinks it may make sense to offer 
this combination in his releases page).

It took a little tweaking but I got it working.

Apparently, Bacularis is based on Baculum, after investigating I chose 
Bacularis because I decided it met my company's needs a little more closely.

I'm willing to share details if you feel this would help.

Kind regards,



On 2024-01-11 1:26 p.m., Frank Rogowski wrote:

> Good morning,
>
> I have my Bacula server up and running. The bconsole works great.
>
> I would like to deploy a GUI interface next either BAT or Baculum. Baculum 
> install failed as it has older dependencies and looks like a bit of pain to 
> make it work with my Linux OS version. So that is out.
>
> I run Jammy on all my five systems.
>
> Can I just install the BAT UI and its dependencies for version 13.0.3 after I 
> have my initial configuration up & working? If so, how would I perform that 
> install for just the BAT, connect with my Director, and leave my current 
> Bacula 13.0.3 deployment intact? I did not find the documentation help here 
> to perform an individual package deployment to add a capability to an 
> existing configuration. I may exist, but I did not see it.
>
> Thanks in advance.
>
> Frank___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Procedure to clear off historical CDP journal/spool content ?

2024-01-20 Thread MylesDearBusiness via Bacula-users
Hello,

Other backup systems comparable to Bacula CDP plugin such as the NFS .snapshot 
model limit the number of daily/weekly snapshots that are made available.

I see the Bacula cdp-client maintains an always-growing journal / spool 
directory, the sizes of which appear to be unbounded, which as a system 
administrator makes me nervous.

My question : if I wanted to remove CDP detected file versions that were older 
than a certain amount of time (ie. one year) what would be the best tool / 
methodology to do so?

Thanks,

___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Some CDP plugin questions

2024-01-18 Thread MylesDearBusiness via Bacula-users
Hello, I have only two more questions:

- Is there a CLI or graphical tool that I can use to browse available files 
that were recently modified and journaled by CDP, and be able to drill down to 
see the various versions cdp captured and then choose to restore ? The user 
documentation alludes to the recovery of past versions of files but doesn't 
mention any tooling to assist with this. As the CDP and journal and spool 
directory don't appear to be ever cleared, this tool could run where the Bacula 
file daemon runs and not have to deal with recovery points.

- Is there some kind of tooling to be able to browse recovery points 
graphically (ie. drill into a list of files backed up for a particular job and 
browse the contents of a particular file) ? To sweeten the pot, I'm strongly 
considering using client-side encryption, which may make it hard for such tools 
to function. Acronis has this functionality, but I moved away from them for 
other reasons (lack of stability mostly).

Thanks,


---

After some code reading, I think I have the answers to my previous questions, 
which I hope help others in the community:

- Every Plugin = "cdp: ..." line in the FileSet/Include block is interpreted as 
a command that is sent individually by the fd daemon to the cdp plugin, which 
responds to each command separately by looking for the indicated directory (or 
deriving the directory from a user account) to find the spool directory 
.cdp-sdir and the spool journal file .bcdp-cli.journal which is typically in 
the same directory as the spool directory .cdp-sdir, and then the cdp fd plugin 
identifies the files to add to the backup set.

- From what I can tell, the spool directory contents and journal file continues 
to grow and is neither rotated nor pruned (can you confirm this?). I suppose 
the advantage in this is that recent changes can be backed out even if an 
external backup has not been done.

- I converted the call to cdp-client to a systemd service call and embedded the 
multiple -f arguments, each for different directories to monitor, including 
user directories and systems locations such as SQL database locations

- I found (which should have been obvious) that if I placed the journal file 
and spool directory inside /root then I couldn't actually monitor the /root 
directory due to recursion !?!? Kind of like a room with mirrors on opposite 
walls.

- Bacula-fd daemon does not launch cdp-client, I have to do that outside 
bacula-dir, bacula-fd and bacula-sd daemons.

Best,



On 2024-01-17 10:58 p.m., Myles Dear wrote:

> Thanks for the reply!
>
> I'm still missing a few important concepts:
>
> If I specify the 'Plugin = "cdp: user=x user=y user=x"' in my FileSet/Include 
> block in bacula-dir.conf, I would assume that bacula-fd would be the one to 
> launch cdp-client, otherwise why would I need to tell bacula director which 
> users I'm monitoring and tell bacula fd that I have cdp plugin enabled?
>
> My bacula-fd runs under user "root" so it can select files across the entire 
> server to back up, system and user files included.
>
> When I run cdp-client manually and specify multiple -f arguments, multiple 
> directories are monitored but only a single spool directory is created. I do 
> not see evidence that spool files are created for each user directory being 
> monitored.
>
> If I do not specify the spool directory and journal file locations, they 
> default to the home directory of the user that ran the cdp-client file (in 
> this case, /root).
>
> # /opt/bacula/bin/cdp-client -f /home/usera/ -f /home/userb/
> : cdp-client.cpp:151-0 Set spool directory to: /root/.cdp-sdir
> : cdp-client.cpp:112-0 Set journal file to: /root/.bcdp-cli.journal
> : folderwatcher.cpp:126-0 Started Watching: /home/usera
> : folderwatcher.cpp:126-0 Started Watching: /home/usera/.ssh
> : folderwatcher.cpp:126-0 Started Watching: /home/usera/.cache
> : folderwatcher.cpp:126-0 Started Watching: /home/userb
> : folderwatcher.cpp:126-0 Started Watching: /home/userb/Downloads
> ...
>
> So, is the right thing to do to duplicate the configuration in my 
> bacula-dir.conf and hardcode a system service to launch on startup that 
> ensures that cdp-client is running under username root at all times, that 
> restarts itself if it ever crashes, assuming that none of the bacula-dir, 
> bacula-fd or facula-sd processes will ever launch it?
>
> The cdp-client doesn't appear to have a "user" option, so there's still some 
> bacula-level integration with cdp that I don't quite understand. In other 
> words, I don't understand how the one or more Plugin directives under 
> FileSet/Include ultimately result in the cdp-client command being run and 
> what the translation between Pl

[Bacula-users] Some CDP plugin questions

2024-01-16 Thread MylesDearBusiness via Bacula-users
Hello, Bacula experts.

I was pleasantly surprised to see the CDP plugin is part of the community 
edition. I'm hoping to take full advantage of this.

I'm running it on a Ubuntu 22.04.3 LTS bare metal cloud server.

After looking at the main reference manual section 47.1, I still have questions:

- If I want to specify multiple users to be monitored, do I just have multiple 
Plugin = "cdp: userHome=/home/" directives in my director FileSet / 
Include configuration?

- Is it legal to specify a number of Plugin directives in my FileSet Include 
block as well as multiple "File = /path/to/dir-to-monitor" directives all 
together ?

- I'm seeing evidence that my /root/.cdp-sdir is the only place where the spool 
directory is created (I'm running my fd as root), despite me having multiple 
"cdp: userHome" lines, so what exactly are the semantics of this directive? The 
documentation says that this points to the home directory of the cdp user, 
which presumably would be the user running the fd, and the place where the 
spool directory is placed, but I want to monitor multiple places, including 
user home directories and key places such as /var/lib/mysql where I didn't 
think the Plugin = "cdp: user=" directive was appropriate, so I'm 
using the userHome directive for these cases. Hope it works.

- I don't see /opt/bacula/bin/cdp-client running continuously on my /bin/ps -Af 
command output, am I expected to launch this myself at startup? Since I'm 
seeing evidence that spooling is happening, with the config I've described, in 
what cases is this client automatically run? For example, is this client only 
run when a job is launched? What is the recommended way of setting this up?

- Since the Linux cdp uses the inotify API, whose man page states is not 
recursive, am I assured that when I specify a directory that CDP will tell 
inotify to monitor all its subdirectories as well?

- ChatGPT insists that in the file daemon configuration each directory to back 
up may be specified in a separate "Plugin {cdp: userHome=/home/} 
block but I see nothing in the documentation that corroborates this, it also 
says that when specifying in this way, the director FileSet block may have just 
a single plugin line referencing no directories{ Options {...} Plugin = "cdp"}. 
Is my just my AI hallucinating or does this configuration work ?

Many thanks,
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Recovery point browser for Bacula ?

2024-01-15 Thread MylesDearBusiness via Bacula-users
Hello,

The Bacula community edition I'm running gives me lists of files that were 
backed up as part of a job.

I am looking for capabilities like Acronis has where I can mount a backup and 
peruse the contents of specific backed-up files.

If not available as a file browser extension/mount, I'm hoping for at least an 
automated way to pull out individual backed up files from a backup archive file 
and view them on a web interface.

Does such a tool exist ?

Thanks,
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Is there a containerized version of the Bacula GUI available ?

2023-12-05 Thread MylesDearBusiness via Bacula-users
Ah, lovely, I'll take a closer look, thanks.



(613) 703-4152

On 2023-12-05 5:45 p.m., Rob Gerber wrote:

> Regarding Bacularis, I see I made an error in my previous email (and previous 
> testing of the bacularis docker containers!).
>
> Bacularis is available in several flavors of docker containers, including one 
> with all bacula components, and one which only contains the web interface. I 
> clearly must have tested with the wrong container in the past.
> More info on bacularis docker containers here: 
> https://bacularis.app/doc/brief/installation.html#install-using-docker
>
> Regards,
> Robert Gerber
> 402-237-8692
> r...@craeon.net
>
> On Tue, Dec 5, 2023 at 4:40 PM Rob Gerber  wrote:
>
>> Certainly!
>>
>> You have several options for bacula web gui.
>> There is Bacula-web, which I haven't used so cannot speak to it. I believe 
>> Bacula-web is primarily a reporting tool, and not a control tool. I haven't 
>> examined it closely, so I will have to do so later. Looks interesting. The 
>> developer is on this mailing list!
>> https://www.bacula-web.org/
>>
>> There is Baculum, which is provided and maintained by the bacula project. 
>> Find it in the bacula project repo or your OS repo if that's what you used 
>> to install bacula (I hope you used the bacula project repo).
>>
>> Finally, there is Bacularis, a friendly fork of Baculum. Bacularis makes 
>> some UI changes, and pushes some bugfixes up to Baculum as well. I think the 
>> goal of the Bacularis dev is to make baculum more approachable.
>> I use bacularis, though I have used baculum as well in the past. They are 
>> superficially similar in some ways.
>> Bacularis is available in a docker container, though the docker container 
>> version of the app comes with its own director, sd, and fd. You will need to 
>> modify the container to point to your own bacula installation.
>> I installed bacularis natively (not via container) in rockylinux 9. It 
>> wasn't terribly difficult, as things go. Slightly more involved than merely 
>> issuing a package manager install command and flying along (this is also 
>> true of baculum). Generally after installation of the program, you must 
>> ensure it has appropriate sudoers access to some bacula files, and tell it 
>> where the bacula executables are located.
>> The bacularis developer is also on this list!
>> https://bacularis.app/
>>
>> I personally recommend bacularis, and might advise against using the 
>> bacularis docker container unless you're comfortable modifying its bacularis 
>> instance to point to your bacula install. I might be misguided on the 
>> necessity or difficulty of this, but when I tried the bacularis docker 
>> container it came with its own bacula install, and I didn't want the 
>> complication or potential for error. I'm also not very familiar with docker 
>> containers, and wanted to go with a native install to avoid any surprises.
>>
>> When installing bacularis OR baculum, I personally used lighttpd, though 
>> apache is also supported.
>>
>> Regards,
>> Robert Gerber
>> 402-237-8692
>> r...@craeon.net
>>
>> On Tue, Dec 5, 2023 at 4:20 PM MylesDearBusiness via Bacula-users 
>>  wrote:
>>
>>> Hello,
>>>
>>> I'm not a PHP expert and am looking for a lower barrier to entry.
>>>
>>> Is there a Docker container available holding the entire environment
>>> required by the Bacula GUI that I can hook up to a client server?
>>>
>>> II've already set up director/sd/fd daemons on my cloud server and am
>>> looking for an easier way to manage the system.
>>>
>>> Thanks,
>>>
>>> 
>>>
>>> ___
>>> Bacula-users mailing list
>>> Bacula-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/bacula-users___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Is there a containerized version of the Bacula GUI available ?

2023-12-05 Thread MylesDearBusiness via Bacula-users
Thanks, Rob, for the pointer. I'll give installing Bacularis a shot.

Best,



On 2023-12-05 5:40 p.m., Rob Gerber wrote:

> Certainly!
>
> You have several options for bacula web gui.
> There is Bacula-web, which I haven't used so cannot speak to it. I believe 
> Bacula-web is primarily a reporting tool, and not a control tool. I haven't 
> examined it closely, so I will have to do so later. Looks interesting. The 
> developer is on this mailing list!
> https://www.bacula-web.org/
>
> There is Baculum, which is provided and maintained by the bacula project. 
> Find it in the bacula project repo or your OS repo if that's what you used to 
> install bacula (I hope you used the bacula project repo).
>
> Finally, there is Bacularis, a friendly fork of Baculum. Bacularis makes some 
> UI changes, and pushes some bugfixes up to Baculum as well. I think the goal 
> of the Bacularis dev is to make baculum more approachable.
> I use bacularis, though I have used baculum as well in the past. They are 
> superficially similar in some ways.
> Bacularis is available in a docker container, though the docker container 
> version of the app comes with its own director, sd, and fd. You will need to 
> modify the container to point to your own bacula installation.
> I installed bacularis natively (not via container) in rockylinux 9. It wasn't 
> terribly difficult, as things go. Slightly more involved than merely issuing 
> a package manager install command and flying along (this is also true of 
> baculum). Generally after installation of the program, you must ensure it has 
> appropriate sudoers access to some bacula files, and tell it where the bacula 
> executables are located.
> The bacularis developer is also on this list!
> https://bacularis.app/
>
> I personally recommend bacularis, and might advise against using the 
> bacularis docker container unless you're comfortable modifying its bacularis 
> instance to point to your bacula install. I might be misguided on the 
> necessity or difficulty of this, but when I tried the bacularis docker 
> container it came with its own bacula install, and I didn't want the 
> complication or potential for error. I'm also not very familiar with docker 
> containers, and wanted to go with a native install to avoid any surprises.
>
> When installing bacularis OR baculum, I personally used lighttpd, though 
> apache is also supported.
>
> Regards,
> Robert Gerber
> 402-237-8692
> r...@craeon.net
>
> On Tue, Dec 5, 2023 at 4:20 PM MylesDearBusiness via Bacula-users 
>  wrote:
>
>> Hello,
>>
>> I'm not a PHP expert and am looking for a lower barrier to entry.
>>
>> Is there a Docker container available holding the entire environment
>> required by the Bacula GUI that I can hook up to a client server?
>>
>> II've already set up director/sd/fd daemons on my cloud server and am
>> looking for an easier way to manage the system.
>>
>> Thanks,
>>
>> 
>>
>> ___
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Is there a containerized version of the Bacula GUI available ?

2023-12-05 Thread MylesDearBusiness via Bacula-users
Hello,

I'm not a PHP expert and am looking for a lower barrier to entry.

Is there a Docker container available holding the entire environment 
required by the Bacula GUI that I can hook up to a client server?

II've already set up director/sd/fd daemons on my cloud server and am 
looking for an easier way to manage the system.


Thanks,






___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Please help me to unblock my backup run

2023-12-04 Thread MylesDearBusiness via Bacula-users
I think that just did the trick, Rob.


I really appreciate your persistence, common sense is never common, 
especially the first time one tries to accomplish something.

I replaced the ArchiveDevice parameters to point to my 
/path/to/bacula/archive directory and launched a backup run.
This looks a lot more like I expect:

root@c1:~# !ls
ls -l /mnt/MylesDearDropBox/Backup/bacula/archive/
total 4926540
-rw-r--r-- 1 root root 1073737956 Dec  5 01:04 VolMpwrWare-0003
-rw-r--r-- 1 root root 1073737951 Dec  5 01:04 VolMpwrWare-0004
-rw-r--r-- 1 root root 1073737808 Dec  5 01:04 VolMpwrWare-0005
-rw-r--r-- 1 root root 1073737968 Dec  5 01:05 VolMpwrWare-0006
-rw-r--r-- 1 root root  749823210 Dec  5 01:05 VolMpwrWare-0007


Best,




(removed content from past emails to fit the listserv policy)






___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Please help me to unblock my backup run

2023-12-04 Thread MylesDearBusiness via Bacula-users
Well, I have one file in my Dropbox that is 29.3 GB in length and that synced 
around to all my client machines without problem.



On 2023-12-04 5:31 p.m., Chris Wilkinson wrote:

> Does Dropbox have a file size upload limit?
>
> -Chris-
>
> On Mon, 4 Dec 2023, 22:23 MylesDearBusiness via Bacula-users, 
>  wrote:
>
>> Ok, here goes ...
>>
>> root@c1:~# find / -path /mnt -prune -o -type f -print | grep "Vol-0"
>> root@c1:~#
>>
>> root@c1:~# df -h
>> Filesystem Size Used Avail Use% Mounted on
>> udev 941M 0 941M 0% /dev
>> tmpfs 198M 1.6M 196M 1% /run
>> /dev/vda1 49G 19G 30G 39% /
>> tmpfs 986M 20K 986M 1% /dev/shm
>> tmpfs 5.0M 0 5.0M 0% /run/lock
>> tmpfs 986M 0 986M 0% /sys/fs/cgroup
>> /dev/loop0 9.7M 9.7M 0 100% /snap/canonical-livepatch/246
>> /dev/loop1 9.9M 9.9M 0 100% /snap/canonical-livepatch/248
>> /dev/loop2 74M 74M 0 100% /snap/core22/864
>> /dev/loop3 43M 43M 0 100% /snap/doctl/1402
>> /dev/loop4 106M 106M 0 100% /snap/core/16091
>> /dev/loop5 92M 92M 0 100% /snap/lxd/24061
>> /dev/loop6 64M 64M 0 100% /snap/core20/1974
>> /dev/loop7 43M 43M 0 100% /snap/doctl/1445
>> /dev/vda15 105M 6.1M 99M 6% /boot/efi
>> /dev/loop8 41M 41M 0 100% /snap/snapd/20092
>> /dev/loop9 68M 68M 0 100% /snap/lxd/22753
>> /dev/loop10 106M 106M 0 100% /snap/core/16202
>> /dev/loop12 41M 41M 0 100% /snap/snapd/20290
>> /dev/loop11 2.1G 188K 2.0G 1% /tmp
>> /dev/loop13 64M 64M 0 100% /snap/core20/2015
>> tmpfs 198M 0 198M 0% /run/user/1000
>> MylesDearDropBox: 2.1T 651G 1.4T 32% /mnt/MylesDearDropBox
>> root@c1:~#
>>
>> root@c1:~# find /mnt/MylesDearDropBox/Backup/bacula/archive/
>> /mnt/MylesDearDropBox/Backup/bacula/archive/
>> /mnt/MylesDearDropBox/Backup/bacula/archive/MylesMpwrware1
>> /mnt/MylesDearDropBox/Backup/bacula/archive/MylesMpwrware1.l
>> /mnt/MylesDearDropBox/Backup/bacula/archive/MylesMpwrware2
>> root@c1:~#
>>
>> I searched through the entire Dropbox directory and no files with pattern 
>> "Vol-" were found.
>>
>> Best,
>>
>> 
>>
>> On 2023-12-04 4:14 p.m., Rob Gerber wrote:
>>> Maybe Dropbox or rclone or some combination of the two are limiting > you 
>>> to 1GiB file sizes? > > In fact, for your rclone process I see it has a 1GB 
>>> cache size limit. > " --vfs-cache-max-size 1G" I bet in the case of the dd 
>>> command you > did, we filled the write cache and then dd exited. If the 
>>> cache was > larger or the input command was rate limited, we might not have 
>>> that > issue. Maybe if bacula backups took longer in some cases you 
>>> wouldn't > run into this problem. Bacula does have a bandwidth rate limit > 
>>> feature, but I'd work on the cache size or a more graceful failure > mode 
>>> first (like "is cache full? Make bacula wait a while" - > admittedly 
>>> something I don't know to be possible). > > > By default, Bacula's file 
>>> based backup writes to file volumes. Think > of it as being like writing 
>>> the backed up field and directories to > tar or zip files - the files and 
>>> directories that are backed up by > bacula are stored in single large 
>>> archive files, using Bacula's own > file format. Conceptually, Bacula isn't 
>>> using the tar format, but the > bacula file writers (by default) are using 
>>> something like a tar file. > I think it's done this way because way back 
>>> when Kern started > developing bacula, the original destination for the 
>>> backups was a > tape drive. Later hard drives became cheaper and Kern 
>>> realized that > bacula could also write to "file volumes" that were stored 
>>> on a hard > drive. This means some customers who couldn't afford a tape 
>>> drive but > could afford a larger hard drive could use bacula. Bill 
>>> recently > mentioned that bacula can write backed up files and directories 
>>> to > some cloud storage solutions directly, so I think the file volume > 
>>> method isn't used in every case by bacula, but without special > 
>>> configuration on your part bacula is probably using these file > volumes as 
>>> described above. > > Please do the following, probably as root: sudo find / 
>>> |grep -i > Vol-0 > > Also please do find 
>>> /mnt/MylesDearDropBox/Backup/bacula/archive/ > > and please do df -h > > 
>>> Robert Gerber 402-237-8692 r...@craeon.net 
>>&

Re: [Bacula-users] Please help me to unblock my backup run

2023-12-04 Thread MylesDearBusiness via Bacula-users
Hi, Rob,

Thanks for the response.

1.
I'm only using 25% of my 2TB Dropbox account, so I don't expect storage 
to be full.

This particular cloud server is tiny, just a single CPU, 50GB storage, 
2GB RAM.

The biggest file I managed to write successfully to my rclone/Dropbox 
mount is 1GB:

When I tried to write a bigger file, I got an "out of memory" error, in 
hindsight I suppose this was to be expected.
I'm trying to keep costs down by renting only a very small cloud machine 
until such time I need the capacity increase.

root@c1:~# dd if=/dev/urandom 
of=/mnt/MylesDearDropBox/Backup/someuniquefilename.img bs=1G count=1
1+0 records in
1+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 9.12953 s, 118 MB/s
root@c1:~# ls -l /mnt/MylesDearDropBox/Backup/someuniquefilename.img
-rw-r--r-- 1 root root 1073741824 Dec  4 19:31 
/mnt/MylesDearDropBox/Backup/someuniquefilename.img
root@c1:~#


so I'll tune down my bacula director config for max file size of 1G.

2. I'm still confused by what exactly "Vol-xxx" is supposed to be, I see 
there are config settings for setting this name, but I only create the 
device files MylesMpwrware and point to them in in bacula-sd 
configuration as "Archive Device".  Should I also be creating the 
"Vol-xxx" files as well?   I did see the first of my "Archive Device" 
files filling up:

root@c1:~# ls -l /mnt/MylesDearDropBox/Backup/bacula/archive/
total 20971544
-rw-r--r-- 1 root root 21474860756 Dec  4 03:27 MylesMpwrware1
-rw-r--r-- 1 root root   0 Dec  4 03:04 MylesMpwrware1.l
-rw-r--r-- 1 root root   0 Dec  4 01:00 MylesMpwrware2
root@c1:~#


I'm sure with a little more banging my head against the wall things will 
start to make sense.

Thanks,



On 2023-12-04 2:26 p.m., Rob Gerber wrote:
> dd if=/dev/urandom 
> of=/mnt/yourdropboxmountpoint/someuniquefilename.img bs=50G count=1 



___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Please help me to unblock my backup run

2023-12-04 Thread MylesDearBusiness via Bacula-users
Ok, here goes ...

root@c1:~# find / -path /mnt -prune -o -type f -print | grep "Vol-0"
root@c1:~#

root@c1:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 941M 0 941M 0% /dev
tmpfs 198M 1.6M 196M 1% /run
/dev/vda1 49G 19G 30G 39% /
tmpfs 986M 20K 986M 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 986M 0 986M 0% /sys/fs/cgroup
/dev/loop0 9.7M 9.7M 0 100% /snap/canonical-livepatch/246
/dev/loop1 9.9M 9.9M 0 100% /snap/canonical-livepatch/248
/dev/loop2 74M 74M 0 100% /snap/core22/864
/dev/loop3 43M 43M 0 100% /snap/doctl/1402
/dev/loop4 106M 106M 0 100% /snap/core/16091
/dev/loop5 92M 92M 0 100% /snap/lxd/24061
/dev/loop6 64M 64M 0 100% /snap/core20/1974
/dev/loop7 43M 43M 0 100% /snap/doctl/1445
/dev/vda15 105M 6.1M 99M 6% /boot/efi
/dev/loop8 41M 41M 0 100% /snap/snapd/20092
/dev/loop9 68M 68M 0 100% /snap/lxd/22753
/dev/loop10 106M 106M 0 100% /snap/core/16202
/dev/loop12 41M 41M 0 100% /snap/snapd/20290
/dev/loop11 2.1G 188K 2.0G 1% /tmp
/dev/loop13 64M 64M 0 100% /snap/core20/2015
tmpfs 198M 0 198M 0% /run/user/1000
MylesDearDropBox: 2.1T 651G 1.4T 32% /mnt/MylesDearDropBox
root@c1:~#

root@c1:~# find /mnt/MylesDearDropBox/Backup/bacula/archive/
/mnt/MylesDearDropBox/Backup/bacula/archive/
/mnt/MylesDearDropBox/Backup/bacula/archive/MylesMpwrware1
/mnt/MylesDearDropBox/Backup/bacula/archive/MylesMpwrware1.l
/mnt/MylesDearDropBox/Backup/bacula/archive/MylesMpwrware2
root@c1:~#

I searched through the entire Dropbox directory and no files with pattern 
"Vol-" were found.

Best,



On 2023-12-04 4:14 p.m., Rob Gerber wrote:
> Maybe Dropbox or rclone or some combination of the two are limiting > you to 
> 1GiB file sizes? > > In fact, for your rclone process I see it has a 1GB 
> cache size limit. > " --vfs-cache-max-size 1G" I bet in the case of the dd 
> command you > did, we filled the write cache and then dd exited. If the cache 
> was > larger or the input command was rate limited, we might not have that > 
> issue. Maybe if bacula backups took longer in some cases you wouldn't > run 
> into this problem. Bacula does have a bandwidth rate limit > feature, but I'd 
> work on the cache size or a more graceful failure > mode first (like "is 
> cache full? Make bacula wait a while" - > admittedly something I don't know 
> to be possible). > > > By default, Bacula's file based backup writes to file 
> volumes. Think > of it as being like writing the backed up field and 
> directories to > tar or zip files - the files and directories that are backed 
> up by > bacula are stored in single large archive files, using Bacula's own > 
> file format. Conceptually, Bacula isn't using the tar format, but the > 
> bacula file writers (by default) are using something like a tar file. > I 
> think it's done this way because way back when Kern started > developing 
> bacula, the original destination for the backups was a > tape drive. Later 
> hard drives became cheaper and Kern realized that > bacula could also write 
> to "file volumes" that were stored on a hard > drive. This means some 
> customers who couldn't afford a tape drive but > could afford a larger hard 
> drive could use bacula. Bill recently > mentioned that bacula can write 
> backed up files and directories to > some cloud storage solutions directly, 
> so I think the file volume > method isn't used in every case by bacula, but 
> without special > configuration on your part bacula is probably using these 
> file > volumes as described above. > > Please do the following, probably as 
> root: sudo find / |grep -i > Vol-0 > > Also please do find 
> /mnt/MylesDearDropBox/Backup/bacula/archive/ > > and please do df -h > > 
> Robert Gerber 402-237-8692 r...@craeon.net 
> [](mailto:r...@craeon.net) > > On Mon, Dec 4, 2023, 
> 1:58 PM MylesDearBusiness [](mailto:md...@mpwrware.ca) 
> [](mailto:md...@mpwrware.ca)> wrote: > > Hi, Rob, > 
> > Thanks for the response. > > 1. I'm only using 25% of my 2TB Dropbox 
> account, so I don't expect > storage to be full. > > This particular cloud 
> server is tiny, just a single CPU, 50GB > storage, 2GB RAM. > > The biggest 
> file I managed to write successfully to my > rclone/Dropbox mount is 1GB: > > 
> When I tried to write a bigger file, I got an "out of memory" error, > in 
> hindsight I suppose this was to be expected. I'm trying to keep > costs down 
> by renting only a very small cloud machine until such time > I need the 
> capacity increase. > > root@c1:~# dd if=/dev/urandom > 
> of=/mnt/MylesDearDropBox/Backup/someuniquefilename.img bs=1G count=1 > 1+0 
> records in 1+0 records out 1073741824 bytes (1.1 GB, 1.0 GiB) > copied, 
> 9.12953 s, 118 MB/s root@c1:~# ls -l > 
> /mnt/MylesDearDropBox/Backup/someuniquefilename.img -rw-r--r-- 1 root > root 
> 1073741824 Dec 4 19:31 > /mnt/MylesDearDropBox/Backup/someuniquefilename.img 
> root@c1:~# > > > so I'll tune down my bacula director config for max file 
> size of 1G. > > 2. I'm still confused by what 

[Bacula-users] Any suggestions for fail2ban jail for Bacula Director ?

2023-12-04 Thread MylesDearBusiness via Bacula-users
Hello,

I just installed Bacula director on one of my cloud servers.

I have set the firewall to allow traffic in/out of port 9101 to allow it 
to be utilized to orchestrate remote backups as well.

What I want to do is to identify the potential attack surface and create 
a fail2ban jail configuration.

Does anybody have an exemplar that I can work with?

Also, is there a way to simulate a failed login attempt with a tool such 
as netcat?  I could possibly use PostMan and dig into the REST API spec, 
but I was hoping the community would be able to shortcut this effort.

What say you?

Thanks,






___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Please help me to unblock my backup run

2023-12-04 Thread MylesDearBusiness via Bacula-users
Hello again,

I'm using a cloud server with rclone / Dropbox back end (which is working).

I'm having trouble with a stuck Bacula run.  I have ample storage space 
but Bacula appears to be having trouble creating additional volumes.  I 
have one volume created, which was sized to a maximum of 50G, but 
appears to have bottomed out at around 30G.

I want to be able to back up my entire server without any blockages, and 
to save multiple daily/weekly/monthly backups.

As I've been receiving "message too long" errors from the mailing list 
server, I have placed most of the details in the following link (sorry 
for the inconvenience) :

https://gist.github.com/mdear/1f15e51584d17d070cb13290a48419d7

Can you help me get unstuck ?  Any concepts I'm missing?  Any 
extra/missing configuration ?


Thanks,


>



___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Having difficulty mounting curlftpfs on bacula : "Device is BLOCKED waiting for mount of volume"

2023-11-30 Thread MylesDearBusiness via Bacula-users
Thanks, Chris.

My company is looking to align with companies who are not in the 5/9/14 eyes 
alliances, hence I'm now looking at Koofr (Slovenia).

Backblaze is domiciled in the USA.

Best,



On 2023-11-30 5:29 a.m., Chris Wilkinson wrote:

> I use Backblaze B2. It is S3 compliant but about the lowest cost I could 
> find, certainly a fraction of the price of AWS.
>
> It works mostly OK except for errors of the kind in the log below. The "no 
> tomes" error is from B2 when there are no upload slots available temporarily. 
> B2 says that the user application is expected to retry the transfer if this 
> occurs. AKAIK the S3 driver doesn’t retry, just gives up. There is a bconsole 
> 'cloud' command to upload volumes to cloud manually. A listing of the cloud 
> volumes shows that the errored volume in the log wasn't uploaded but I could 
> do it manually.
>
> Because of this I do not delete the cache after backup, the downside being I 
> have to provision the disc space.
>
> Chris
>
> 29-Nov 00:20 raspberrypi-dir JobId 3617: Start Backup JobId 3617, 
> Job=pi-cloud-docs.2023-11-29_00.20.00_30
> 29-Nov 00:20 raspberrypi-dir JobId 3617: Max configured use duration=10,800 
> sec. exceeded. Marking Volume "usb16tb-cloud-incr4767" as Used.
> 29-Nov 00:20 raspberrypi-dir JobId 3617: Created new 
> Volume="usb16tb-cloud-incr4768", Pool="usb16tb-cloud-incr", MediaType="Cloud" 
> in catalog.
> 29-Nov 00:20 raspberrypi-dir JobId 3617: Using Device "B2Bucket" to write.
> 29-Nov 00:20 raspberrypi-sd JobId 3617: Labeled new Volume 
> "usb16tb-cloud-incr4768" on Cloud device "B2Bucket" (/mnt/usb16tb/cache).
> 29-Nov 00:20 raspberrypi-sd JobId 3617: Wrote label to prelabeled Volume 
> "usb16tb-cloud-incr4768" on Cloud device "B2Bucket" (/mnt/usb16tb/cache)
> 29-Nov 00:20 raspberrypi-sd JobId 3617: Using S3 cloud driver 
> Host=s3.eu-central-003.backblazeb2.com Bucket=bacula01
> 29-Nov 00:20 raspberrypi-sd JobId 3617: Elapsed time=00:00:01, Transfer 
> rate=9.620 M Bytes/second
> 29-Nov 00:20 raspberrypi-sd JobId 3617: Cloud Upload transfers:
>
> 29-Nov 00:20 raspberrypi-sd JobId 3617: Error: usb16tb-cloud-incr4768/part.1 
> state=error size=257 B duration=0s msg=S3_put_object ERR=no tomes available 
> CURL Effective URL: 
> https://s3.eu-central-003.backblazeb2.com/bacula01/usb16tb-cloud-incr4768/part.1
>  CURL Effective URL: 
> https://s3.eu-central-003.backblazeb2.com/bacula01/usb16tb-cloud-incr4768/part.1
>
> 29-Nov 00:20 raspberrypi-sd JobId 3617: Error: usb16tb-cloud-incr4768/part.2 
> state=error size=9.628 MB duration=0s msg=S3_put_object ERR=no tomes 
> available CURL Effective URL: 
> https://s3.eu-central-003.backblazeb2.com/bacula01/usb16tb-cloud-incr4768/part.2
>  CURL Effective URL: 
> https://s3.eu-central-003.backblazeb2.com/bacula01/usb16tb-cloud-incr4768/part.2
>
> 29-Nov 00:20 raspberrypi-sd JobId 3617: Sending spooled attrs to the 
> Director. Despooling 3,019 bytes ...
> 29-Nov 00:20 raspberrypi-dir JobId 3617: Bacula raspberrypi-dir 11.0.6 
> (10Mar22):
> Build OS: aarch64-unknown-linux-gnu debian 11.3
> JobId: 3617
>
> On Thu, 30 Nov 2023, 03:47 MylesDearBusiness via Bacula-users, 
>  wrote:
>
>> It appears I'm out of luck.
>>
>> Apprently, curlftpfs no longer supports the open+read+write operation
>> that Bacula requires, so it looks like I'll have to move to a different
>> storage provider.
>>
>> https://sourceforge.net/p/curlftpfs/discussion/542750/thread/53e47b71/
>>
>> Thanks for all the help so far, much appreciated.
>>
>> 
>>
>> On 2023-11-29 5:47 a.m., MylesDearBusiness wrote:
>>>
>>> Hello, Bacula experts.
>>>
>>> Due to message length limitations of this mailing list, I have been
>>> unable to post the majority of necessary details, which is why I was
>>> using my github gist system to store, apologies for the confusion or
>>> inconvenience this caused. I just thought it would be more confusing
>>> to break up the details into multiple messages.
>>>
>>> The latest after following up on some of Bill's suggestions, I added a
>>> second device in my File Changer and now bconsole shows I am being
>>> asked to execute the "label" command, which is failing.
>>>
>>> As a reminder, I'm running bacula-dir under user "bacula" (which does
>>> not have access to the storage mount /mnt/my_backup).
>>> I'm running bacula-sd and bacula-fd under user "backupuser" which has
>>> sole permission to read/write files under this mount.
>>>
>>> Please see
>>> https://gist.github.com/mdear/99ed7d56fd5611216ce08ecff6244c8b for
>>> more, I just added a new comment with additional details.
>>>
>>> Thanks,
>>>
>>> 
>>>
>>>
>>
>> ___
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Having difficulty mounting curlftpfs on bacula : "Device is BLOCKED waiting for mount of volume"

2023-11-29 Thread MylesDearBusiness via Bacula-users
It appears I'm out of luck.

Apprently, curlftpfs no longer supports the open+read+write operation 
that Bacula requires, so it looks like I'll have to move to a different 
storage provider.

https://sourceforge.net/p/curlftpfs/discussion/542750/thread/53e47b71/

Thanks for all the help so far, much appreciated.




On 2023-11-29 5:47 a.m., MylesDearBusiness wrote:
>
> Hello, Bacula experts.
>
> Due to message length limitations of this mailing list, I have been 
> unable to post the majority of necessary details, which is why I was 
> using my github gist system to store, apologies for the confusion or 
> inconvenience this caused.  I just thought it would be more confusing 
> to break up the details into multiple messages.
>
> The latest after following up on some of Bill's suggestions, I added a 
> second device in my File Changer and now bconsole shows I am being 
> asked to execute the "label" command, which is failing.
>
> As a reminder, I'm running bacula-dir under user "bacula" (which does 
> not have access to the storage mount /mnt/my_backup).
> I'm running bacula-sd and bacula-fd under user "backupuser" which has 
> sole permission to read/write files under this mount.
>
> Please see 
> https://gist.github.com/mdear/99ed7d56fd5611216ce08ecff6244c8b for 
> more, I just added a new comment with additional details.
>
> Thanks,
>
> 
>
>



___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Having difficulty mounting curlftpfs on bacula : "Device is BLOCKED waiting for mount of volume"

2023-11-29 Thread MylesDearBusiness via Bacula-users
Hello, Bacula experts.

Due to message length limitations of this mailing list, I have been unable to 
post the majority of necessary details, which is why I was using my github gist 
system to store, apologies for the confusion or inconvenience this caused. I 
just thought it would be more confusing to break up the details into multiple 
messages.

The latest after following up on some of Bill's suggestions, I added a second 
device in my File Changer and now bconsole shows I am being asked to execute 
the "label" command, which is failing.

As a reminder, I'm running bacula-dir under user "bacula" (which does not have 
access to the storage mount /mnt/my_backup).
I'm running bacula-sd and bacula-fd under user "backupuser" which has sole 
permission to read/write files under this mount.

Please see https://gist.github.com/mdear/99ed7d56fd5611216ce08ecff6244c8bfor 
more, I just added a new comment with additional details.

Thanks,

___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Having difficulty mounting curlftpfs on bacula : "Device is BLOCKED waiting for mount of volume"

2023-11-28 Thread MylesDearBusiness via Bacula-users
Thanks for the reply, Bill.

First of all, Bacula seems to be looking for a different volume name 
every time, Vol-0014 doesn't match any folder I created (and the storage 
space, minus a few boilerplate files and directories, was empty 
initially as I would expect a newly configured cloud storage service to 
be).  I'm not quite understanding where Vol-0014 and other similarly 
named volumes are coming from.  All I know is that I have a curlftpfs 
based userspace mounting daemon running that presents remote storage 
using a familiar file-system-based integration and that I'm trying to 
point Bacula to back up into it.

I originally created the local directory /mnt/my_backup as a directory 
owned by backupuser:backupuser and then under user backupuser I mounted 
my curlftpfs remote storage space under that directory.

Only backupuser has the rights to read from and write to this directory.

As shown in my gist copied again below, I'm only running the Director 
under the bacula username.

I'm running the SD and FD processes under the backupuser username 
because that's the username I gave sole permission to access the storage 
mount.

I also added more detail to the gist link to try to address some of your 
questions :

https://gist.github.com/mdear/99ed7d56fd5611216ce08ecff6244c8b

More help is needed and help already given is much appreciated,

Thanks,




On 2023-11-27 7:18 p.m., Bill Arlofski via Bacula-users wrote:
> On 11/27/23 15:26, MylesDearBusiness via Bacula-users wrote:
>> Hello, Bacula experts.
>>
>> My cloud provider offers only curlftpfs based storage, which I have enabled 
>> and secured.  I created a username “backupuser”
>> and a system service that launches the service, effectively mounting the 
>> remote storage to /mnt/my_backup and running the
>> userspace curlftpfs command as the user “backupuser”.  This user has 
>> demonstrable read/write privileges in the file system as
>> expected.  So far so good.
>>
>> I installed bacula on my Ubuntu 22.04.3 LTS server and got bacula-dir, 
>> bacula-fd, and bacula-sd all running.
>>
>> In summary, when I try to run my backup job I get an error:
>>
>> Device is BLOCKED waiting for mount of volume
>>
>> ChatGPT4 doesn’t know nearly as much as this august body, I’m hoping a 
>> kindly member may be able to give me a hand up.
>>
>>
>> More details:https://gist.github.com/mdear/99ed7d56fd5611216ce08ecff6244c8b
>>
>>    Thanks,
>>
>> 
>
> What does this show?:
>
> # ls -la /mnt/my_backup/backup/bacula/archive
>
>
> Is there a Bacula File volume named `Vol-0014` in there?
> Is it rw for the `bacula` user which the SD (normally) runs as?
>
> If it is not there, but you know where it is, them you must move it there, 
> and set the ownership to `bacula:disk` and the
> permissions to allow the bacula user to, well... Read and write to it. :)
>
> It is just a guess, but is it possible that this Bacula file volume lives 
> under a directory which you mounted
> `/mnt/khapbackup/backup/bacula/archive` on top of, so it exists, but is not 
> visible currently?  This is just a guess, but it
> is also a common mistake. :)
>
> If you truly do not know where this Bacula file volume is, then you need to 
> delete it from the catalog so the director no
> longer thinks it is accessible:
>
> * delete yes volume=Vol-0014
>
> Might want to run the bconsole `query` command and select option 14 to be 
> sure there are no jobs on it that you might need.
>
> Once deleted from the catalog, the Director should select a new volume (or 
> create a new one if `LabelFormat = yes` is set in
> the Pool `File` and `LabelMedia = yes` is set in the SD's Drive devices 
> writing to this directory.
>
> Alternately, you can just disable the volume in the catalog:
>
> * update volume=Vol-0014 volstatus=Disabled
>
>
> Also, consider that the ownership and permissions that you set on the mount 
> point for the user `backupuser` will not allow
> the SD running as the user `bacula` to read/write there - unless you dis 
> something like make the bacula user a member of the
> backupuser's group, and you gave the group read/write permissions into that 
> directory tree.
>
>
> Hope this helps!
> Bill
>
> --
> Bill Arlofski
> w...@protonmail.com
>
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users



___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Having trouble mounting curlftpfs on bacula : "Device is BLOCKED waiting for mount of volume"

2023-11-27 Thread MylesDearBusiness via Bacula-users
Hello, Bacula experts.

My cloud provider offers only curlftpfs based storage, which I have enabled and 
secured. I created a username “backupuser” and a system service that launches 
the service, effectively mounting the remote storage to /mnt/my_backup and 
running the userspace curlftpfs command as the user “backupuser”. This user has 
demonstrable read/write privileges in the file system as expected. So far so 
good.

I installed bacula on my Ubuntu 22.04.3 LTS server and got bacula-dir, 
bacula-fd, and bacula-sd all running.

In summary, when I try to run my backup job I get an error:

Device is BLOCKED waiting for mount of volume

ChatGPT4 doesn’t know nearly as much as this august body, I’m hoping a kindly 
member may be able to give me a hand up.

More details:

https://gist.github.com/mdear/99ed7d56fd5611216ce08ecff6244c8b

Thanks,



11 Malcolm Place, OTTAWA, ON
K2G 4H7, CANADA

OFFICE: +1 613 416 8525

Canadian softphone (preferred) : +1 613 703 4152

Canadian cell : +1 613 858 2120

Sent from [Mail](https://go.microsoft.com/fwlink/?LinkId=550986) for Windows___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Having difficulty mounting curlftpfs on bacula : "Device is BLOCKED waiting for mount of volume"

2023-11-27 Thread MylesDearBusiness via Bacula-users
Hello, Bacula experts.

My cloud provider offers only curlftpfs based storage, which I have enabled and 
secured. I created a username “backupuser” and a system service that launches 
the service, effectively mounting the remote storage to /mnt/my_backup and 
running the userspace curlftpfs command as the user “backupuser”. This user has 
demonstrable read/write privileges in the file system as expected. So far so 
good.

I installed bacula on my Ubuntu 22.04.3 LTS server and got bacula-dir, 
bacula-fd, and bacula-sd all running.

In summary, when I try to run my backup job I get an error:

Device is BLOCKED waiting for mount of volume

ChatGPT4 doesn’t know nearly as much as this august body, I’m hoping a kindly 
member may be able to give me a hand up.

More details:

https://gist.github.com/mdear/99ed7d56fd5611216ce08ecff6244c8b

Thanks,



11 Malcolm Place, OTTAWA, ON
K2G 4H7, CANADA

OFFICE: +1 613 416 8525

Canadian softphone (preferred) : +1 613 703 4152

Canadian cell : +1 613 858 2120

Sent from [Mail](https://go.microsoft.com/fwlink/?LinkId=550986) for Windows

>___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Looking for hints to set up USB stick recovery environment for Win10 / Linux bare metal

2023-11-27 Thread MylesDearBusiness via Bacula-users
Hello,

I fired/uninstalled Acronis and now wish to replace it with Bacula.

I plan to schedule both encrypted system (boot sector and system partition) and 
user data backups from Windows bare metal, Linux bare metal, and Linux cloud 
servers, to NAS and cloud (Dropbox) destination storage locations.

If any of my servers become corrupted and unbootable due to a virus, I need a 
recovery environment that is network enabled that runs a Bacula client and is 
capable of restoring my system to the state it was in prior to the system 
backup.

How would I get started in creating such a USB stick? I'm a developer, but I'd 
appreciate some pointers so I'm not reinventing the wheel. I imagine I'd need 
two different keys for Linux vs Windows bare metal servers.

PS. I'm thinking my Dropbox backup would use a "Bacula-backups/serverXYZ" 
subfolder that would naturally synchronize up to the cloud via the native 
Dropbox client. Servers would exclude from local storage all but their own 
backup directory to save space. Restoring from cloud would require API access 
to pull the content to restore down.

Restoring from NAS would be a more typical NAS / SMB mount.

Many thanks,


>>___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Looking for hints to set up USB stick recovery environment for Win10 / Linux bare metal

2023-11-25 Thread MylesDearBusiness via Bacula-users
Hello,

I fired/uninstalled Acronis and now wish to replace it with Bacula.

I plan to schedule both encrypted system (boot sector and system partition) and 
user data backups from Windows bare metal, Linux bare metal, and Linux cloud 
servers, to NAS and cloud (Dropbox) destination storage locations.

If any of my servers become corrupted and unbootable due to a virus, I need a 
recovery environment that is network enabled that runs a Bacula client and is 
capable of restoring my system to the state it was in prior to the system 
backup.

How would I get started in creating such a USB stick? I'm a developer, but I'd 
appreciate some pointers so I'm not reinventing the wheel. I imagine I'd need 
two different keys for Linux vs Windows bare metal servers.

PS. I'm thinking my Dropbox backup would use a "Bacula-backups/serverXYZ" 
subfolder that would naturally synchronize up to the cloud via the native 
Dropbox client. Servers would exclude from local storage all but their own 
backup directory to save space. Restoring from cloud would require API access 
to pull the content to restore down.

Restoring from NAS would be a more typical NAS / SMB mount.

Many thanks,


>___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users