Re: [Bacula-users] What happen if I delete a single incremental between the full and another incremental

2010-10-18 Thread Graham Keeling
On Sat, Oct 16, 2010 at 09:33:13AM +0200, Hugo Letemplier wrote:
 Hi thanks a lot for your answers
 
 I have retried with a new test scenario its clear now and deleting an 
 incremental is really dangerous.
 But I think that a function that enable the administrator to join 2 jobs 
 would be cool.
 Imagine that one day lots of data manipulation are done on the machine that I 
 want to backup, so there is a great difference between 2 incremental. The 
 jobs are done, and deleting one job is dangerous for the jobs that follows
 In this case, that would be great to mix 2 jobs.
 Its quite complicated to explain I know.
 Take a look at this little scenario, a classical Full with his incremental 
 jobs : the client is typically a big file server
 
 1 - The full
 2 - an incremental
 3 - someone make a mistake while he was exploring the file server he made 
 lots of copy of files in the server (for example : a bad drag and drop).
 4 - a nightly scheduled incremental 
 5 - the administrator see that the last incremental got a lot of new files 
 and that job bytes got a huge value.
 5 - the user see his error and deletes the duplicates
 6 - a new incremental is ran
 7 - after checking everything, I want to reduce the size of my backups by 
 fusioning the two last incrementals. The idea is to add new files of step 4 
 to step 6 but without the files deleted at step 6
 
 In a mathematical view, it can be seen like that : Inc6.1 = Inc4 - (Files of 
 Inc4 deleted at Inc6.0) + (new files of inc6.0) +  (crush files modified 
 after Inc4 with their version of inc6.0)
 
 I hope that it can be understood more easily than the previous post !

Perhaps a VirtualFull backup is what you are looking for?

 Thanks a lot 
 
 Hugo
 
 Le 13 oct. 2010 à 17:53, Jari Fredriksson a écrit :
 
  On 13.10.2010 18:21, Hugo Letemplier wrote:
  Hi,
  I have an important question that will help me validating some specs
  about bacula 5.0.2
  Imagine the following scenario:
  1 - a full
  2 - an incremental
  3 - an incremental
  4 - another incremental
  
  if I delete the incremental of step 3, does it move the files that
  have been added during step 3 onto the incremental of step 4
  
  I have tried this scenario but my result is not clear. Can you tell me
  your experience ?
  
  In other words: can I delete one Incremental without deleting more
  recents incrementals or if I delete the full does it upgrade the first
  incremental into full ?
  
  
  I *think* Bacula uses timestamps when doing incrementals. if you delete
  one incremental, you lose the files modified/created for that day.
  
  But if you delete the full, Bacula upgrades the next incremental to
  Full, as it finds no suitable Full to do the incremental for.
  
  
  --
  Beautiful is writing same markup. Internet Explorer 9 supports
  standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
  Spend less time writing and  rewriting code and more time creating great
  experiences on the web. Be a part of the beta today.
  http://p.sf.net/sfu/beautyoftheweb
  ___
  Bacula-users mailing list
  Bacula-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/bacula-users
 
 
 --
 Download new Adobe(R) Flash(R) Builder(TM) 4
 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
 Flex(R) Builder(TM)) enable the development of rich applications that run
 across multiple browsers and platforms. Download your free trials today!
 http://p.sf.net/sfu/adobe-dev2dev
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


--
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] What happen if I delete a single incremental between the full and another incremental

2010-10-18 Thread Gavin McCullagh
On Mon, 18 Oct 2010, Graham Keeling wrote:

 On Sat, Oct 16, 2010 at 09:33:13AM +0200, Hugo Letemplier wrote:
  Hi thanks a lot for your answers
  
  I have retried with a new test scenario its clear now and deleting an 
  incremental is really dangerous.
  But I think that a function that enable the administrator to join 2 jobs 
  would be cool.
  Imagine that one day lots of data manipulation are done on the machine that 
  I want to backup, so there is a great difference between 2 incremental. The 
  jobs are done, and deleting one job is dangerous for the jobs that follows
  In this case, that would be great to mix 2 jobs.
  Its quite complicated to explain I know.
  Take a look at this little scenario, a classical Full with his incremental 
  jobs : the client is typically a big file server

  I hope that it can be understood more easily than the previous post !
 
 Perhaps a VirtualFull backup is what you are looking for?

Or a differential maybe?

Gavin



--
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] What happen if I delete a single incremental between the full and another incremental

2010-10-16 Thread Hugo Letemplier
Hi thanks a lot for your answers

I have retried with a new test scenario its clear now and deleting an 
incremental is really dangerous.
But I think that a function that enable the administrator to join 2 jobs 
would be cool.
Imagine that one day lots of data manipulation are done on the machine that I 
want to backup, so there is a great difference between 2 incremental. The jobs 
are done, and deleting one job is dangerous for the jobs that follows
In this case, that would be great to mix 2 jobs.
Its quite complicated to explain I know.
Take a look at this little scenario, a classical Full with his incremental jobs 
: the client is typically a big file server

1 - The full
2 - an incremental
3 - someone make a mistake while he was exploring the file server he made lots 
of copy of files in the server (for example : a bad drag and drop).
4 - a nightly scheduled incremental 
5 - the administrator see that the last incremental got a lot of new files and 
that job bytes got a huge value.
5 - the user see his error and deletes the duplicates
6 - a new incremental is ran
7 - after checking everything, I want to reduce the size of my backups by 
fusioning the two last incrementals. The idea is to add new files of step 4 
to step 6 but without the files deleted at step 6

In a mathematical view, it can be seen like that : Inc6.1 = Inc4 - (Files of 
Inc4 deleted at Inc6.0) + (new files of inc6.0) +  (crush files modified after 
Inc4 with their version of inc6.0)

I hope that it can be understood more easily than the previous post !

Thanks a lot 

Hugo

Le 13 oct. 2010 à 17:53, Jari Fredriksson a écrit :

 On 13.10.2010 18:21, Hugo Letemplier wrote:
 Hi,
 I have an important question that will help me validating some specs
 about bacula 5.0.2
 Imagine the following scenario:
 1 - a full
 2 - an incremental
 3 - an incremental
 4 - another incremental
 
 if I delete the incremental of step 3, does it move the files that
 have been added during step 3 onto the incremental of step 4
 
 I have tried this scenario but my result is not clear. Can you tell me
 your experience ?
 
 In other words: can I delete one Incremental without deleting more
 recents incrementals or if I delete the full does it upgrade the first
 incremental into full ?
 
 
 I *think* Bacula uses timestamps when doing incrementals. if you delete
 one incremental, you lose the files modified/created for that day.
 
 But if you delete the full, Bacula upgrades the next incremental to
 Full, as it finds no suitable Full to do the incremental for.
 
 
 --
 Beautiful is writing same markup. Internet Explorer 9 supports
 standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
 Spend less time writing and  rewriting code and more time creating great
 experiences on the web. Be a part of the beta today.
 http://p.sf.net/sfu/beautyoftheweb
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


--
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] What happen if I delete a single incremental between the full and another incremental

2010-10-13 Thread Phil Stracchino
On 10/13/10 11:21, Hugo Letemplier wrote:
 Hi,
 I have an important question that will help me validating some specs
 about bacula 5.0.2
 Imagine the following scenario:
 1 - a full
 2 - an incremental
 3 - an incremental
 4 - another incremental
 
 if I delete the incremental of step 3, does it move the files that
 have been added during step 3 onto the incremental of step 4
 
 I have tried this scenario but my result is not clear. Can you tell me
 your experience ?
 
 In other words: can I delete one Incremental without deleting more
 recents incrementals or if I delete the full does it upgrade the first
 incremental into full ?


Aaah.  The other words make more sense.  :)

You can delete any incremental job without affecting any other
incremental.  Doing so will lose the record of changes backed up in that
incremental, though, as an incremental records only changes since the
most recent backup of *any* level.  So in your scenario above, if you
delete incremental #3, then your next incremental #5 will back up only
files changed since incremental #4; it will *not* re-backup the changes
previously backed up as incremental #3.

(For this reason among others, it is generally recommended to make
periodic differential backups, which record all changes since the last
Full backup, to reduce the number of incrementals needed for a restore.
 As an example, I perform Full backups once a month, Differential once a
week, and Incremental every other night.)

If you delete a Full backup, it will not upgrade any *existing* backup.
 However, if you delete *the most recent* Full backup, which has current
Incrementals or Differentials based upon it, then the *next* Incremental
or Differential that you run will be upgraded to Full.


-- 
  Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355
  ala...@caerllewys.net   ala...@metrocast.net   p...@co.ordinate.org
 Renaissance Man, Unix ronin, Perl hacker, Free Stater
 It's not the years, it's the mileage.

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] What happen if I delete a single incremental between the full and another incremental

2010-10-13 Thread Jari Fredriksson
On 13.10.2010 18:21, Hugo Letemplier wrote:
 Hi,
 I have an important question that will help me validating some specs
 about bacula 5.0.2
 Imagine the following scenario:
 1 - a full
 2 - an incremental
 3 - an incremental
 4 - another incremental
 
 if I delete the incremental of step 3, does it move the files that
 have been added during step 3 onto the incremental of step 4
 
 I have tried this scenario but my result is not clear. Can you tell me
 your experience ?
 
 In other words: can I delete one Incremental without deleting more
 recents incrementals or if I delete the full does it upgrade the first
 incremental into full ?
 

I *think* Bacula uses timestamps when doing incrementals. if you delete
one incremental, you lose the files modified/created for that day.

But if you delete the full, Bacula upgrades the next incremental to
Full, as it finds no suitable Full to do the incremental for.


--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users