Re: [Bacula-users] Erase a disk volume ?

2011-05-26 Thread Radosław Korzeniewski
Hi,

W dniu 25 maja 2011 16:35 użytkownik Hugo Letemplier
hugo.let...@gmail.comnapisał:

  console:
  * purge volume action=all allpools storage=yourstorage-sd

  If you updated your volumes parameters then execute following command in
 Are you sure this command will purge all my volumes ? I have critical
 datas on some other volumes.


I'm using this command in Admin Job for cyclic volume truncate. It is
working as expected.

best regards

-- 
Radosław Korzeniewski
rados...@korzeniewski.net
--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Erase a disk volume ?

2011-05-26 Thread Hugo Letemplier
2011/5/26 Radosław Korzeniewski rados...@korzeniewski.net:
 Hi,

 W dniu 25 maja 2011 16:35 użytkownik Hugo Letemplier hugo.let...@gmail.com
 napisał:

  console:
  * purge volume action=all allpools storage=yourstorage-sd

  If you updated your volumes parameters then execute following command in
 Are you sure this command will purge all my volumes ? I have critical
 datas on some other volumes.

 I'm using this command in Admin Job for cyclic volume truncate. It is
 working as expected.

oh ! It's magic ! It's really treating because it's starting by purge :)

Thanks

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Erase a disk volume ?

2011-05-25 Thread Hugo Letemplier
Hi,

I got some disk volumes that I just want to erase on demand.
Indeed, theses ones were not recycled for various reasons (not in the
good pool, new job upgraded to full, bad retention times…)
I don't want to delete theses volumes because I want to check that in
the time theses volumes will be recycled and so I can validate my
backup strategy.

All I want is to free the space used by theses old volumes because
they have been purged .

I thought in keeping the file and writing a null value into it : maybe
something like echo   /Volumes/LabelOfTheVolume
I want to keep the label in order to reuse the volume

Thank you in advance

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Erase a disk volume ?

2011-05-25 Thread J. Echter
Am 25.05.2011 11:59, schrieb Hugo Letemplier:
 Hi,

 I got some disk volumes that I just want to erase on demand.
 Indeed, theses ones were not recycled for various reasons (not in the
 good pool, new job upgraded to full, bad retention times…)
 I don't want to delete theses volumes because I want to check that in
 the time theses volumes will be recycled and so I can validate my
 backup strategy.

 All I want is to free the space used by theses old volumes because
 they have been purged .

 I thought in keeping the file and writing a null value into it : maybe
 something like echo   /Volumes/LabelOfTheVolume
 I want to keep the label in order to reuse the volume

 Thank you in advance

 --
 vRanger cuts backup time in half-while increasing security.
 With the market-leading solution for virtual backup and recovery,
 you get blazing-fast, flexible, and affordable data protection.
 Download your free trial now.
 http://p.sf.net/sfu/quest-d2dcopy1
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
Hi,

you could you maximum volumes in pool definition combined with max 
volume bytes you can tell the pool how big it can grow.

Have a look at the pool resource to check out what fits best for you.

cheers.

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Erase a disk volume ?

2011-05-25 Thread Phil Stracchino
On 05/25/11 05:59, Hugo Letemplier wrote:
 Hi,
 
 I got some disk volumes that I just want to erase on demand.
 Indeed, theses ones were not recycled for various reasons (not in the
 good pool, new job upgraded to full, bad retention times…)
 I don't want to delete theses volumes because I want to check that in
 the time theses volumes will be recycled and so I can validate my
 backup strategy.
 
 All I want is to free the space used by theses old volumes because
 they have been purged .
 
 I thought in keeping the file and writing a null value into it : maybe
 something like echo   /Volumes/LabelOfTheVolume
 I want to keep the label in order to reuse the volume

In Bacula 5.0.3, you can use Action On Purge = truncate, iirc.


-- 
  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, SQL wrangler, Free Stater
 It's not the years, it's the mileage.

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Erase a disk volume ?

2011-05-25 Thread Hugo Letemplier
2011/5/25 Phil Stracchino ala...@metrocast.net:
 On 05/25/11 05:59, Hugo Letemplier wrote:
 Hi,

 I got some disk volumes that I just want to erase on demand.
 Indeed, theses ones were not recycled for various reasons (not in the
 good pool, new job upgraded to full, bad retention times…)
 I don't want to delete theses volumes because I want to check that in
 the time theses volumes will be recycled and so I can validate my
 backup strategy.

 All I want is to free the space used by theses old volumes because
 they have been purged .

 I thought in keeping the file and writing a null value into it : maybe
 something like echo   /Volumes/LabelOfTheVolume
 I want to keep the label in order to reuse the volume

 In Bacula 5.0.3, you can use Action On Purge = truncate, iirc.

I added this option to my pool but it's not working, I still see the
important size of the volume files on my drive.
I updated all my volume before purging.

Hugo

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Erase a disk volume ?

2011-05-25 Thread Radosław Korzeniewski
Hi,

2011/5/25 Hugo Letemplier hugo.let...@gmail.com


 I added this option to my pool but it's not working, I still see the
 important size of the volume files on my drive.
 I updated all my volume before purging.


If you updated your volumes parameters then execute following command in
console:
* purge volume action=all allpools storage=yourstorage-sd

bye

-- 
Radosław Korzeniewski
rados...@korzeniewski.net
--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Erase a disk volume ?

2011-05-25 Thread Hugo Letemplier
2011/5/25 Radosław Korzeniewski rados...@korzeniewski.net:
 Hi,

 2011/5/25 Hugo Letemplier hugo.let...@gmail.com

 I added this option to my pool but it's not working, I still see the
 important size of the volume files on my drive.
 I updated all my volume before purging.


 If you updated your volumes parameters then execute following command in
 console:
 * purge volume action=all allpools storage=yourstorage-sd

Are you sure this command will purge all my volumes ? I have critical
datas on some other volumes.

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users