Re: [BackupPC-users] bakuppc is not running.

2011-09-12 Thread Les Mikesell
On Mon, Sep 12, 2011 at 12:04 AM, Adi Spivak adi...@compulab.co.il wrote:
 ok, let me try and ask my question a deferent way.
 when i did du on a full backup folder of a spesific pc i saw it to be 300GB.
 i then run the script i mentioned and it not only removed the full
 backup but its coresponding incornly backups, which is quite logical.
 however, the free space on my backup drive was not changed and was not
 added the 300+GB that was deleted by the script.

Remember that backuppc pools all identical content.  If the same files
exist in any other backups of the same or other machines, the space
won't be released.  Your status page should have a line showing
Nightly cleanup removed  with the time of the last run.

-- 
   Les Mikesell
lesmikes...@gmail.com

--
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] bakuppc is not running.

2011-09-12 Thread Holger Parplies
Hi,

Les Mikesell wrote on 2011-09-12 07:49:14 -0500 [Re: [BackupPC-users] bakuppc 
is not running.]:
 On Mon, Sep 12, 2011 at 12:04 AM, Adi Spivak adi...@compulab.co.il wrote:
  when i did du on a full backup folder of a spesific pc i saw it to be 300GB.
  i then run the script i mentioned and it not only removed the full
  backup but its coresponding incornly backups, which is quite logical.
  however, the free space on my backup drive was not changed and was not
  added the 300+GB that was deleted by the script.
 
 Remember that backuppc pools all identical content.  If the same files
 exist in any other backups of the same or other machines, the space
 won't be released.  Your status page should have a line showing
 Nightly cleanup removed  with the time of the last run.

it does (well, at least the log file contains the data):

Adi Spivak wrote on 2011-09-12 08:04:13 +0300 [Re: [BackupPC-users] bakuppc is 
not running.]:
 2011-09-12 02:39:16 Cpool nightly clean removed 233720 files of size 42.78GB
 2011-09-12 02:39:16 Cpool is 1346.20GB, 1022043 files (145 repeated, 27 max 
 chain, 23731 max links), 4369 directories

This means it claims to recently have deleted 42.78 GB worth of pool files
(which may be the portion of your 300 GB that was not shared with other
backups).

 Here are the parameters asked:
 
 $Conf{WakeupSchedule} = [
   '1',
 [...]
 ];
 $Conf{MaxBackupPCNightlyJobs} = '2';
 $Conf{BackupPCNightlyPeriod} = '1';

That looks good. BackupPC_nightly should be running at 1:00 a.m. Your log file
seems to confirm this (assuming it takes about 100 minutes to complete, which
seems fair):

 as for the log, my guess is it is running, but not doing what it
 supposed to:
 2011-09-12 02:38:31 BackupPC_nightly now running BackupPC_sendEmail
 2011-09-12 02:39:16 Finished  admin  (BackupPC_nightly -m 0 127)
 2011-09-12 02:39:16 Pool nightly clean removed 0 files of size 0.00GB
 2011-09-12 02:39:16 Pool is 0.00GB, 0 files (0 repeated, 0 max chain, 0
 max links), 1 directories
 2011-09-12 02:39:16 Cpool nightly clean removed 233720 files of size 42.78GB
 2011-09-12 02:39:16 Cpool is 1346.20GB, 1022043 files (145 repeated, 27
 max chain, 23731 max links), 4369 directories

I can't find anything strange about this. Can you confirm that the 42.78 GB
have been freed (note that they may have been - partly - reused by following
backups)? Have you got reason to be *sure* more than that would have been
unique to this backup (plus the dependant incrementals)? When did you remove
the 300 GB? Was it before 2011-09-11 01:00:00? If so, what did the following
nightly run (next 1:00 a.m. or slightly later) report?

 and version: 3.2.0 on ubuntu server.

The downside of pooling is that you need to remove all instances using one
pool file to actually get back the space. The downside of compression is that
you only get back the compressed size. All of that is not surprising, but it
makes estimations really hard. In particular, what you get back from deleting
a backup is not necessarily the same amount of space it took to store the
backup when it was done. It all depends on which files are (and were) shared
with earlier and later backups.

Hope that helps.

Regards,
Holger

--
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] bakuppc is not running.

2011-09-11 Thread Matthias Meyer
Adi Spivak wrote:
 hi.
 backuppc has stopped working 5 days ago.
 it was due to lack of storage space.
 i used this script:
href=http://sourceforge.net/apps/mediawiki/backuppc/index.php?title=How_to_delete_backups;http://sourceforge.net/apps/mediawiki/backuppc/index.php?title=How_to_delete_backups/a
 which should have released hundreds of GB just from deleteing the
 backups of one PC but it does not, even though in the GUI it shows
 that the backups are gone.
 now, backuppc is just stuck or somthing and is doing nothing for the
 past 5 days, no reorginazing the backups, no incrementals,
 nothing.br how can i fix this?br
 how can i force it do remove the backups that were deleted by the
 script to free room?
 thanks.

First please send plain text mails.
Second:
What the content of your BackupPC Status page? BackupPC will stop working if 
the pool file system is more then (configurable) 95% full.
What is the output of df -h /var/lib/backuppc
Do you find the deleted backups on device? Do you find 
/var/lib/backuppc/pc/deletedPC or numeric directories in it?

For your understanding:
/var/lib/backuppc/pc/deletedPC/backups contains the informations shiown by 
GUI
/var/lib/backuppc/pc/deletedPC/n contains the backups itself.


br
Matthias
-- 
Don't Panic


--
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage 
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] bakuppc is not running.

2011-09-11 Thread Holger Parplies
Hi,

Adi Spivak wrote on 2011-09-11 08:25:46 +0300 [[BackupPC-users] bakuppc is not 
running.]:
 [...]
 hi.br
 backuppc has stopped working 5 days ago.br
 it was due to lack of storage space.br
 i used this script:br
 meta http-equiv=content-type content=text/html;
   charset=ISO-8859-1
 a 
 href=http://sourceforge.net/apps/mediawiki/backuppc/index.php?title=How_to_delete_backups;http://sourceforge.net/apps/mediawiki/backuppc/index.php?title=How_to_delete_backups/abr
 which should have released hundreds of GB just from deleteing the
 backups of one PC but it does not, even though in the GUI it shows
 that the backups are gone.brbr
 now, backuppc is just stuck or somthing and is doing nothing for the
 past 5 days, no reorginazing the backups, no incrementals, nothing.br
 how can i fix this?br
 how can i force it do remove the backups that were deleted by the
 script to free room?brbrthanks.brbrbr
 div class=moz-signature-- br
   meta http-equiv=content-type content=text/html;
 charset=ISO-8859-1
   title/title
   p style=margin-bottom: 0cm; margin-top: 0pt;font
   color=#00Regards,/font/p
   p style=margin-bottom: 0cm; margin-top: 0pt;font
   color=#00font size=4bAdi Spivak/b/font/font/p
   p style=margin-bottom: 0cm; margin-top: 0pt;font
   color=#00 size=3IT Manager/fontspan
   class=Apple-style-span style=border-collapse: separate;
   color: rgb(0, 0, 0); font-family: 'Times New Roman';
   font-style: normal; font-variant: normal; font-weight: normal;
   letter-spacing: normal; line-height: normal; orphans: 2;
   text-indent: 0px; text-transform: none; white-space: normal;
   widows: 2; word-spacing: 0px; font-size: medium;span
 class=Apple-style-span style=font face=Arial
   size=2br
 /font/span/span/p
 .../

the title of your message says BackupPC is not running. Presuming you mean
this as in BackupPC is not running, then it is not surprising it is not
freeing up the space. Start BackupPC. The nightly cleanup will free the space.
It is run on the first wakeup listed in $Conf {WakeupSchedule}. What
are the following variables set to in config.pl?

$Conf {WakeupSchedule}
$Conf {MaxBackupPCNightlyJobs}
$Conf {BackupPCNightlyPeriod}

Which version of BackupPC are you using? Do the log files show that the
nightly cleanup is run regularly (as in each night)?

Regards,
Holger

--
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage 
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] bakuppc is not running.

2011-09-11 Thread Adi Spivak
ok, let me try and ask my question a deferent way.
when i did du on a full backup folder of a spesific pc i saw it to be 300GB.
i then run the script i mentioned and it not only removed the full
backup but its coresponding incornly backups, which is quite logical.
however, the free space on my backup drive was not changed and was not
added the 300+GB that was deleted by the script.
now, i have at the very least would expect that backuppc will run a
cleanup or as you say nightly cleanup, will free some space.
however, it looks like nightly was not running at all, new backups were
not taken, and i have to find something on this drive to delete in order
to make it at least continue to backup.
now, it has run a backup, but still not freeing space.
my question is where has the deleted backups gone to, and how to run the
nightly cleanup manually in a spesific mode that will actually free some
space for me?

Here are the parameters asked:

$Conf{WakeupSchedule} = [
  '1',
  '2',
  '3',
  '4',
  '5',
  '6',
  '7',
  '8',
  '9',
  '10',
  '11',
  '12',
  '13',
  '14',
  '15',
  '16',
  '17',
  '18',
  '19',
  '20',
  '21',
  '22',
  '23'
];

$Conf{MaxBackupPCNightlyJobs} = '2';

$Conf{BackupPCNightlyPeriod} = '1';

as for the log, my guess is it is running, but not doing what it
supposed to:
2011-09-12 02:38:31 BackupPC_nightly now running BackupPC_sendEmail
2011-09-12 02:39:16 Finished  admin  (BackupPC_nightly -m 0 127)
2011-09-12 02:39:16 Pool nightly clean removed 0 files of size 0.00GB
2011-09-12 02:39:16 Pool is 0.00GB, 0 files (0 repeated, 0 max chain, 0
max links), 1 directories
2011-09-12 02:39:16 Cpool nightly clean removed 233720 files of size 42.78GB
2011-09-12 02:39:16 Cpool is 1346.20GB, 1022043 files (145 repeated, 27
max chain, 23731 max links), 4369 directories


and version: 3.2.0 on ubuntu server.



Regards,

*Adi Spivak*

IT Manager





17 HaYetzira St, Mordot HaCarmel Industrial Park, Yokneam Elite

Mail: P.O Box 687, Yokneam 20692. Israel

TelFax.: (+972) 48-290-124. (+972) 48-290-100

www.fit-pc.com http://www.fit-pc.com/

www.compulab.co.il http://www.compulab.co.il/


On 09/11/2011 09:30 PM, Holger Parplies wrote:
 Hi,
 
 Adi Spivak wrote on 2011-09-11 08:25:46 +0300 [[BackupPC-users] bakuppc is 
 not running.]:
 [...]
 hi.br
 backuppc has stopped working 5 days ago.br
 it was due to lack of storage space.br
 i used this script:br
 meta http-equiv=content-type content=text/html;
   charset=ISO-8859-1
 a 
 href=http://sourceforge.net/apps/mediawiki/backuppc/index.php?title=How_to_delete_backups;http://sourceforge.net/apps/mediawiki/backuppc/index.php?title=How_to_delete_backups/abr
 which should have released hundreds of GB just from deleteing the
 backups of one PC but it does not, even though in the GUI it shows
 that the backups are gone.brbr
 now, backuppc is just stuck or somthing and is doing nothing for the
 past 5 days, no reorginazing the backups, no incrementals, nothing.br
 how can i fix this?br
 how can i force it do remove the backups that were deleted by the
 script to free room?brbrthanks.brbrbr
 div class=moz-signature-- br
   meta http-equiv=content-type content=text/html;
 charset=ISO-8859-1
   title/title
   p style=margin-bottom: 0cm; margin-top: 0pt;font
   color=#00Regards,/font/p
   p style=margin-bottom: 0cm; margin-top: 0pt;font
   color=#00font size=4bAdi Spivak/b/font/font/p
   p style=margin-bottom: 0cm; margin-top: 0pt;font
   color=#00 size=3IT Manager/fontspan
   class=Apple-style-span style=border-collapse: separate;
   color: rgb(0, 0, 0); font-family: 'Times New Roman';
   font-style: normal; font-variant: normal; font-weight: normal;
   letter-spacing: normal; line-height: normal; orphans: 2;
   text-indent: 0px; text-transform: none; white-space: normal;
   widows: 2; word-spacing: 0px; font-size: medium;span
 class=Apple-style-span style=font face=Arial
   size=2br
 /font/span/span/p
 .../
 
 the title of your message says BackupPC is not running. Presuming you mean
 this as in BackupPC is not running, then it is not surprising it is not
 freeing up the space. Start BackupPC. The nightly cleanup will free the space.
 It is run on the first wakeup listed in $Conf {WakeupSchedule}. What
 are the following variables set to in config.pl?
 
   $Conf {WakeupSchedule}
   $Conf {MaxBackupPCNightlyJobs}
   $Conf {BackupPCNightlyPeriod}
 
 Which version of BackupPC are you using? Do the log files show that the
 nightly cleanup is run regularly (as in each night)?
 
 Regards,
 Holger

--
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do