[Bacula-users] How best to back up VMs in KVM on Debian9

2017-09-13 Thread Thing
Hi,

I have a handful of small VMs I'd like to backup.  These can be stopped
while the backup happens.  So what is the alternatoves to do this?

Get bacula to send shutdown command(s) and then back the image(s) up?
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Incomplete backup - due to bsock error

2017-09-13 Thread Jerry Lowry
No, the only thing that shows in the messages file is that I changed the
disk 3 times as they filled up.

jerry

On Wed, Sep 13, 2017 at 10:51 AM, Josip Deanovic  wrote:

> On Wednesday 2017-09-13 09:35:07 Jerry Lowry wrote:
> > Kern,
> > My Offsite Backup just failed again on the same drive, different disk.
> > It failed with the same bsock error.  If the backup is working on the
> > same system using the copy function, how far out of the network stack
> > does it go.  My thinking is it does not get out of the application
> > layer.  Is this right?  Why would I get a bsock error?
> >
> > I have taken a look at the smart data for the disk and they seem to be
> > running okay. I am getting some sector relocation errors, would that
> > cause the bsock error during a remap?  This procedure has been running
> > flawlessly for many years ( except for human error ).  I am wondering
> > if I should delete the present disk files and let bacula recreate new
> > ones.
> >
> > thanks for your help!
>
>
> Did you get any disk/file system related error messages in the dmesg
> output?
>
> The same question goes for the system logs (usually /var/log/messages).
>
> --
> Josip Deanovic
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Incomplete backup - due to bsock error

2017-09-13 Thread Josip Deanovic
On Wednesday 2017-09-13 09:35:07 Jerry Lowry wrote:
> Kern,
> My Offsite Backup just failed again on the same drive, different disk.
> It failed with the same bsock error.  If the backup is working on the
> same system using the copy function, how far out of the network stack
> does it go.  My thinking is it does not get out of the application
> layer.  Is this right?  Why would I get a bsock error?
> 
> I have taken a look at the smart data for the disk and they seem to be
> running okay. I am getting some sector relocation errors, would that
> cause the bsock error during a remap?  This procedure has been running
> flawlessly for many years ( except for human error ).  I am wondering
> if I should delete the present disk files and let bacula recreate new
> ones.
> 
> thanks for your help!


Did you get any disk/file system related error messages in the dmesg
output?

The same question goes for the system logs (usually /var/log/messages).

-- 
Josip Deanovic

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Incomplete backup - due to bsock error

2017-09-13 Thread Jerry Lowry
Kern,
My Offsite Backup just failed again on the same drive, different disk. It
failed with the same bsock error.  If the backup is working on the same
system using the copy function, how far out of the network stack does it
go.  My thinking is it does not get out of the application layer.  Is this
right?  Why would I get a bsock error?

I have taken a look at the smart data for the disk and they seem to be
running okay. I am getting some sector relocation errors, would that cause
the bsock error during a remap?  This procedure has been running flawlessly
for many years ( except for human error ).  I am wondering if I should
delete the present disk files and let bacula recreate new ones.

thanks for your help!

jerry


On Wed, Sep 6, 2017 at 11:26 PM, Kern Sibbald  wrote:

> Hello,
>
> If the job is marked as Incomplete in the catalog ("I" I think), then you
> can simply restart it and it should pickup where it left off.  If not you
> must run it again from the beginning.
>
> If you are switching devices when one is full during a Job, it is unlikely
> you can restore that job when it terminates. I recommend carefully testing
> restores on your system.
>
> Best regards,
>
> Kern
>
> On 09/06/2017 05:38 PM, Jerry Lowry wrote:
>
> List,
> I am running, bacula 9.0.3, Mariadb 12.2.8 on Centos 6.9.  I got notice
> last night that my Offsite backup failed due to a bsock error.  My offsite
> drives are attached to an ATTO raid card which gives me hot swap
> capability. This configuration works great as it allows me to hot swap a
> drive when it fills up with a new drive to continue with.  The problem is
> included below. The backup that I was doing is to the OffsiteMid drive
> which is mounted as /dev/sde. Is there a way to restart this backup job or
> am I left with an incomplete backup going forward.
>
> thanks for your help,
>
> jerry
>
>
> Sep  5 08:46:01 kilchis bat[4339]: bsock.c:147 Unable to connect to
> Director dae
> mon on kilchis:9101. ERR=Connection refused
> Sep  5 10:37:20 kilchis attocfgd: [CRIT] [ExpressSAS
> R608,50:01:08:60:00:57:3d:c
> 0] [FW] RAID Group state now Offline: OffsiteTop
> Sep  5 10:39:06 kilchis kernel: scsi 5:0:1:0: Direct-Access ATTO
> Offsite
> Top00 0001 PQ: 0 ANSI: 5
> Sep  5 10:39:06 kilchis kernel: sd 5:0:1:0: Attached scsi generic sg6 type
> 0
> Sep  5 10:39:06 kilchis kernel: sd 5:0:1:0: [sdd] 488366336 4096-byte
> logical bl
> ocks: (2.00 TB/1.81 TiB)
> Sep  5 10:39:06 kilchis kernel: sd 5:0:1:0: [sdd] Write Protect is off
> Sep  5 10:39:06 kilchis kernel: sd 5:0:1:0: [sdd] Write cache: enabled,
> read cac
> he: enabled, doesn't support DPO or FUA
> Sep  5 10:39:06 kilchis kernel: sd 5:0:1:0: [sdd] 488366336 4096-byte
> logical bl
> ocks: (2.00 TB/1.81 TiB)
> Sep  5 10:39:06 kilchis kernel: sdd: unknown partition table
> Sep  5 10:39:06 kilchis kernel: sd 5:0:1:0: [sdd] 488366336 4096-byte
> logical bl
> ocks: (2.00 TB/1.81 TiB)
> Sep  5 10:39:06 kilchis kernel: sd 5:0:1:0: [sdd] Attached SCSI disk
> Sep  5 10:39:35 kilchis kernel: sd 5:0:1:0: [sdd] 488366336 4096-byte
> logical bl
> ocks: (2.00 TB/1.81 TiB)
> Sep  5 10:39:35 kilchis kernel: sdd:
> Sep  5 10:44:54 kilchis kernel: EXT4-fs (sdd): mounted filesystem with
> ordered d
> ata mode. Opts:
> Sep  5 11:02:38 kilchis bacula-dir[4373]: bsock.c:537 Socket has errors=1
> on cal
> l to client:10.20.10.21:9101
> Sep  5 11:02:38 kilchis bacula-dir[4373]: bsock.c:537 Socket has errors=1
> on cal
> l to client:10.20.10.21:9101
> Sep  5 11:02:38 kilchis bacula-dir[4373]: bsock.c:537 Socket has errors=1
> on cal
> l to client:10.20.10.21:9101
> Sep  5 11:02:38 kilchis bacula-dir[4373]: bsock.c:537 Socket has errors=1
> on cal
> l to client:10.20.10.21:9101
> Sep  5 11:02:38 kilchis bacula-dir[4373]: bsock.c:537 Socket has errors=1
> on cal
> l to client:10.20.10.21:9101
> Sep  5 11:02:38 kilchis bacula-dir[4373]: bsock.c:537 Socket has errors=1
> on cal
> l to client:10.20.10.21:9101
> Sep  5 11:02:38 kilchis bacula-dir[4373]: bsock.c:537 Socket has errors=1
> on cal
> l to client:10.20.10.21:9101
> Sep  5 13:45:48 kilchis attocfgd: [CRIT] [ExpressSAS
> R608,50:01:08:60:00:57:3d:c
> 0] [FW] RAID Group state now Offline: OffsiteMid
> Sep  5 13:45:53 kilchis attocfgd: [CRIT] [ExpressSAS
> R608,50:01:08:60:00:57:3d:c
> 0] [FW] RAID Group state now Offline: OffsiteTop
> Sep  5 13:47:52 kilchis kernel: scsi 5:0:1:0: Direct-Access ATTO
> Offsite
> Mid00 0001 PQ: 0 ANSI: 5
> Sep  5 13:47:52 kilchis kernel: sd 5:0:1:0: Attached scsi generic sg6 type
> 0
> Sep  5 13:47:52 kilchis kernel: sd 5:0:1:0: [sde] 488366336 4096-byte
> logical bl
> ocks: (2.00 TB/1.81 TiB)
> Sep  5 13:47:52 kilchis kernel: sd 5:0:1:0: [sde] Write Protect is off
> Sep  5 13:47:52 kilchis kernel: sd 5:0:1:0: [sde] Write cache: enabled,
> read cac
> he: enabled, doesn't support DPO or FUA
> Sep  5 13:47:52 kilchis kernel: sd 5:0:1:0: [sde] 488366336 4096-byte
> logical bl
> ocks: (2.00 TB/1.81 TiB)
> Sep  5 13:47:52 kilchis