Re: [Bacula-users] How to avoid "The sizes do not match!"?

2009-10-15 Thread Marek.M.Stopka
You could configure your Bacula to use new volume for every job, this could 
solve your problem. 

-Original Message-
From: epiuse [mailto:bacula-fo...@backupcentral.com] 
Sent: Thursday, October 15, 2009 10:45 AM
To: bacula-users@lists.sourceforge.net
Subject: [Bacula-users] How to avoid "The sizes do not match!"?


Hi there,

We're currently using bacula 3.0.2 to backup some windows XP and Vista clients.

Every now and then, while a backup (Diff or Full) are running, the user may 
turn of his/her laptop, network issues may occur or whatever else may cause a 
connection error and then obviously the backup fails.

My problem is that each time this happens and the next client's backup starts 
to make use of the same volume, it gives me the "Error: Bacula cannot write on 
disk Volume "Diff_Vol0217" because: The sizes do not match!" error message and 
marks the volume in error in the catalog.

Is there any wau to avoid this happening each time?

Pool definition:
Pool {
Name = Diff
Label Format = "Diff_Vol"
Pool Type = Backup
Recycle = yes   # Bacula can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 3 days
Maximum Volumes = 7
Maximum Volume Bytes = 40G
}

Thanks in advance :)

+--
|This was sent by ech...@gmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Copying backup "On the fly"

2009-10-15 Thread Marek.M.Stopka
Yeah it will, but when new full backup is taken, you again copy entire 
operating system copy  over network, even though you have already a few copy of 
that operating systém on a target server. So, yeah it will low the traffic, but 
not that much as a smarter solution could. :-) Every time you také full backup, 
all data will be transfared, every time you will do a incremental backup you 
will transfer all files those were changet from last backup even though there 
were only added few bytes to the end of a file, and well... Maybe that is good 
for you, but I would be much more grateful for something that would do 
completely deduplicated replication as you can get for example from NetApp :)

Yeah, I agree that your solution is 1000 times simplier, but also it is less 
effective than a deduplicated replication, that I hope can get with lessfs + 
DRBD... And yeah, my idea works only in theory, your is really working. :-)

-Original Message-
From: John Drescher [mailto:dresche...@gmail.com] 
Sent: Thursday, October 15, 2009 4:08 PM
To: Stopka m Marek; bacula-users
Subject: Re: [Bacula-users] Copying backup "On the fly"

> This is not a solution at all, because Bacula every time you create new 
> backup will create new virtual tapes, and since rsync "deduplicate" only 
> files, not entire amount of data that is going to be transfared, this do not 
> solve anything for us. Acctually I am not even sure if we would use LVM on 
> botom and rsync those snapshots of a LVM volumes, I guess rsync do not 
> compare hashes of all blocks of transfered but only first block hash with a 
> first block, second with a second,... So again, rsync would not be help even 
> in this case.
>

I am confused how it does not solve the problem. I am talking about using rsync 
to mirror the volume files that bacula uses to store all of your backups. If 
you limit the size of these to a few GB, rsync will only be sending the volumes 
that have changed but you will still have a complete second copy of the bacula 
volumes offsite.

John



--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Copying backup "On the fly"

2009-10-15 Thread Marek.M.Stopka
This is not a solution at all, because Bacula every time you create new backup 
will create new virtual tapes, and since rsync "deduplicate" only files, not 
entire amount of data that is going to be transfared, this do not solve 
anything for us. Acctually I am not even sure if we would use LVM on botom and 
rsync those snapshots of a LVM volumes, I guess rsync do not compare hashes of 
all blocks of transfered but only first block hash with a first block, second 
with a second,... So again, rsync would not be help even in this case.

:-( 

-Original Message-
From: John Drescher [mailto:dresche...@gmail.com] 
Sent: Thursday, October 15, 2009 3:44 PM
To: Sébastien VINOT
Cc: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Copying backup "On the fly"

> I'm using bacula for servers but the problem is that both servers and 
> where bacula runs are on the same room. I'd like to know how to 
> implement a duplication of the data bacula stores in order to put a 
> copy on another location (via internet). Of course it is not possible 
> to copy simply the backup file because it is too big.

One suggestion. Make the volumes smaller. 1 to 10GB should be fine.
Then use rsync (possibly run from a cron job) to send the volumes offsite.

John

--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Copying backup "On the fly"

2009-10-15 Thread Marek.M.Stopka
Hi.
I am actually thinking about same thing at this time, and well... deduplicated 
replication over network under linux seems to be a little bit complicated 
task... But I have an idea that could solve this issue, however, I don't have 
it implemented yet... but the idea is to use DRBD and lessfs combination, DRBD 
for replication and lessfs for deduplication.

Sadly lessfs is not production use ready, and DRBD is not well tested either 
:-( So I would expect a lot of problems with implementation of this solution... 
I guess I will find out soon myself :)

However, developer of lessfs aims to support replication directly in lessfs (I 
hope he mean replication over network), so maybe I would ask him about his 
schedule plan, then we could wait till he implement replication.


From: Sébastien VINOT [mailto:sebastien.vi...@logisphere.fr]
Sent: Thursday, October 15, 2009 2:29 PM
To: bacula-users@lists.sourceforge.net
Subject: [Bacula-users] Copying backup "On the fly"

Hello,

I'm using bacula for servers but the problem is that both servers and where 
bacula runs are on the same room. I'd like to know how to implement a 
duplication of the data bacula stores in order to put a copy on another 
location (via internet). Of course it is not possible to copy simply the backup 
file because it is too big.

I've seen that it is possible to set "copy" jobs but I don't know how to use it 
(and I don't know if this is made for what I want)

Thanks for your help
Sebastien VINOT




--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users