Re: [BackupPC-users] Rotation question...

2006-10-16 Thread Rob Morin
Thanks for the info...

Rob Morin
Dido InterNet Inc.
Montreal, Canada
Http://www.dido.ca
514-990-



Carl Wilhelm Soderstrom wrote:
> On 10/16 12:53 , Rob Morin wrote:
>   
>> OK cool, sorry one last question, will it delete the files before it 
>> starts the backup or will do backup first then delete as i have no space 
>> left at all?
>> 
>
> BackupPC_nightly just deletes files; it does not do any backups.
>
>   

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Rotation question...

2006-10-16 Thread Carl Wilhelm Soderstrom
On 10/16 12:53 , Rob Morin wrote:
> OK cool, sorry one last question, will it delete the files before it 
> starts the backup or will do backup first then delete as i have no space 
> left at all?

BackupPC_nightly just deletes files; it does not do any backups.

-- 
Carl Soderstrom
Systems Administrator
Real-Time Enterprises
www.real-time.com

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Rotation question...

2006-10-16 Thread Rob Morin
OK cool, sorry one last question, will it delete the files before it 
starts the backup or will do backup first then delete as i have no space 
left at all?

Thanks..

Rob Morin
Dido InterNet Inc.
Montreal, Canada
Http://www.dido.ca
514-990-



Les Stott wrote:
> Rob Morin wrote:
>   
>> Ahh i see the BackupPC_nightly binary, should i run this now with 0 
>> 255 ?
>>
>>
>>   
>> 
> Yes, i believe that should work.
>
> You can manipulate when the nightly process runs by changing the 
> WakeupSchedule as discussed below in the config file.
>
> set the schedule to be in 30 minutes or an hour, reload the config and wait.
>
> les
>
> # Examples:
> # $Conf{WakeupSchedule} = [22.5]; # once per day at 10:30 pm.
> # $Conf{WakeupSchedule} = [1..23];# every hour except midnight
> # $Conf{WakeupSchedule} = [2,4,6,8,10,12,14,16,18,20,22];  # every 2 
> hours
> #
> # The default value is every hour except midnight.
> #
> # The first entry of $Conf{WakeupSchedule} is when BackupPC_nightly
> # is run.  No other backups can run while BackupPC_nightly is
> # running.  You might want to re-arrange the entries in
> # $Conf{WakeupSchedule} (they don't have to be ascending) so that
> # the first entry is when you want BackupPC_nightly to run
> # (eg: when you don't expect a lot of regular backups to run).
> #
> $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
> ];
>
>
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/
>
>
>   

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Rotation question...

2006-10-16 Thread Les Stott
Rob Morin wrote:
> Ahh i see the BackupPC_nightly binary, should i run this now with 0 
> 255 ?
>
>
>   
Yes, i believe that should work.

You can manipulate when the nightly process runs by changing the 
WakeupSchedule as discussed below in the config file.

set the schedule to be in 30 minutes or an hour, reload the config and wait.

les

# Examples:
# $Conf{WakeupSchedule} = [22.5]; # once per day at 10:30 pm.
# $Conf{WakeupSchedule} = [1..23];# every hour except midnight
# $Conf{WakeupSchedule} = [2,4,6,8,10,12,14,16,18,20,22];  # every 2 
hours
#
# The default value is every hour except midnight.
#
# The first entry of $Conf{WakeupSchedule} is when BackupPC_nightly
# is run.  No other backups can run while BackupPC_nightly is
# running.  You might want to re-arrange the entries in
# $Conf{WakeupSchedule} (they don't have to be ascending) so that
# the first entry is when you want BackupPC_nightly to run
# (eg: when you don't expect a lot of regular backups to run).
#
$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
];



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Rotation question...

2006-10-16 Thread Rob Morin
Ahh i see the BackupPC_nightly binary, should i run this now with 0 
255 ?


Rob Morin
Dido InterNet Inc.
Montreal, Canada
Http://www.dido.ca
514-990-



Rob Morin wrote:
> So is there a way to run this nightly process by hand now so i can clear 
> up a bit of space?
>
> Thanks
>
> Rob Morin
> Dido InterNet Inc.
> Montreal, Canada
> Http://www.dido.ca
> 514-990-
>
>
>
> Les Stott wrote:
>   
>> Rob Morin wrote:
>>   
>> 
>>> Thanks for the configs, i added them in just now and did a restart of 
>>> backuppc  but a weird thing i did a du -skh on a backed up dir in 
>>> backup session 3(the full backup) it said it was 1.6 gigs, but when i 
>>> did a rm -rf on that dir i gained only about 200 megs back but all te 
>>> files in that dir were gone? any idea? are these only links to the 
>>> real files somewhere else? i hope the backup will still delete these 
>>> files on the next run as per config??
>>>
>>> 
>>>   
>> the backup directories only contain hard links to the files that exist 
>> in the pool directories.
>>
>> if the files still are referenced by other backups then they still exist 
>> in the pool. When the files have no other hard links, and are not 
>> referenced by any other backups (like the 200mb you freed up), they will 
>> be deleted.
>>
>> The nightly process will clean the backups and the pool directories. You 
>> can see the status of what was done in the pool for the previous run in 
>> the status page of the cgi.
>>
>> Regards,
>>
>> Les
>>
>>
>> p.s. you only need to reply to the list, not to all, that way i don't 
>> get the reply twice ;)
>>
>>
>>
>> -
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> ___
>> BackupPC-users mailing list
>> BackupPC-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/backuppc-users
>> http://backuppc.sourceforge.net/
>>
>>
>>   
>> 
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/
>
>
>   

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Rotation question...

2006-10-16 Thread Rob Morin
So is there a way to run this nightly process by hand now so i can clear 
up a bit of space?

Thanks

Rob Morin
Dido InterNet Inc.
Montreal, Canada
Http://www.dido.ca
514-990-



Les Stott wrote:
> Rob Morin wrote:
>   
>> Thanks for the configs, i added them in just now and did a restart of 
>> backuppc  but a weird thing i did a du -skh on a backed up dir in 
>> backup session 3(the full backup) it said it was 1.6 gigs, but when i 
>> did a rm -rf on that dir i gained only about 200 megs back but all te 
>> files in that dir were gone? any idea? are these only links to the 
>> real files somewhere else? i hope the backup will still delete these 
>> files on the next run as per config??
>>
>> 
> the backup directories only contain hard links to the files that exist 
> in the pool directories.
>
> if the files still are referenced by other backups then they still exist 
> in the pool. When the files have no other hard links, and are not 
> referenced by any other backups (like the 200mb you freed up), they will 
> be deleted.
>
> The nightly process will clean the backups and the pool directories. You 
> can see the status of what was done in the pool for the previous run in 
> the status page of the cgi.
>
> Regards,
>
> Les
>
>
> p.s. you only need to reply to the list, not to all, that way i don't 
> get the reply twice ;)
>
>
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/
>
>
>   

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Rotation question...

2006-10-16 Thread Les Stott
Rob Morin wrote:
> Thanks for the configs, i added them in just now and did a restart of 
> backuppc  but a weird thing i did a du -skh on a backed up dir in 
> backup session 3(the full backup) it said it was 1.6 gigs, but when i 
> did a rm -rf on that dir i gained only about 200 megs back but all te 
> files in that dir were gone? any idea? are these only links to the 
> real files somewhere else? i hope the backup will still delete these 
> files on the next run as per config??
>
the backup directories only contain hard links to the files that exist 
in the pool directories.

if the files still are referenced by other backups then they still exist 
in the pool. When the files have no other hard links, and are not 
referenced by any other backups (like the 200mb you freed up), they will 
be deleted.

The nightly process will clean the backups and the pool directories. You 
can see the status of what was done in the pool for the previous run in 
the status page of the cgi.

Regards,

Les


p.s. you only need to reply to the list, not to all, that way i don't 
get the reply twice ;)



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Rotation question...

2006-10-16 Thread Rob Morin
Thanks for the configs, i added them in just now and did a restart of 
backuppc  but a weird thing i did a du -skh on a backed up dir in 
backup session 3(the full backup) it said it was 1.6 gigs, but when i 
did a rm -rf on that dir i gained only about 200 megs back but all te 
files in that dir were gone? any idea? are these only links to the real 
files somewhere else? i hope the backup will still delete these files on 
the next run as per config??

Thanks again for all your help!

Rob Morin
Dido InterNet Inc.
Montreal, Canada
Http://www.dido.ca
514-990-



Les Stott wrote:
> Rob Morin wrote:
>   
>> First off thanks for a great application & thanks for all the help i 
>> have received on this list thus far...
>> :)
>>
>> I recently installed BackupPC as i had a server crash and lost some 
>> clients files i was backing up before using the infamous TAR, but 
>> the external disk that i was using died. So now i installed BackupPC 
>> on another server till i get a decent disk array working, i only have 80 
>> gigs(mirrored) on this server so it filled up rather quicklyand 
>> is at 99% as i write this email
>>
>> I want to simply make changes so i can have a 3 day rotation, i want to 
>> have of course one full backup up and then just 2 days of incremental , 
>> then start a new full backup and then the 2 day rotation... and of 
>> course delete the previous 2 day sand full backup...so how would i 
>> accomplish this? it' a little confusing at the moment as i am too 
>> stressed to understand the conf file, i do not want o backup nothing by 
>> mistake!
>>
>>   
>> 
> I think these settings will provide what you need.
>
> $Conf{FullKeepCnt} = 1;
> $Conf{FullKeepCntMin} = 1;
> $Conf{FullAgeMax} = 3;
>
> $Conf{IncrKeepCnt} = 2;
> $Conf{IncrKeepCntMin} = 1;
> $Conf{IncrAgeMax} = 2;
>
> $Conf{FullPeriod} = '2.97';
>
> $Conf{IncrPeriod} = '0.97';
>
> The above basically sets the following...
>
> Only keep 1 full backup. Keep at least 1 full backup. Delete all old 
> backups greater than 3 days.
> Keep 2 incrementals with a minimum of 1, deleting incrementals older 
> than 2 days.
> Set the rotation of fulls to be just under 3 days, and incremental at 
> just under 1.
>  
>
>   
>> Also is the only way to delete current backups is by hand?
>>
>> Thanks once again for all your help!
>>
>>
>>   
>> 
>
> I'm not sure how to invoke a commandline to do this, but if you save the 
> changes as above the nightly process will cull all the old backups which 
> are beyond the settings above.
>
> Regards,
>
> Les
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/
>
>
>   

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Rotation question...

2006-10-16 Thread Les Stott
Rob Morin wrote:
> First off thanks for a great application & thanks for all the help i 
> have received on this list thus far...
> :)
>
> I recently installed BackupPC as i had a server crash and lost some 
> clients files i was backing up before using the infamous TAR, but 
> the external disk that i was using died. So now i installed BackupPC 
> on another server till i get a decent disk array working, i only have 80 
> gigs(mirrored) on this server so it filled up rather quicklyand 
> is at 99% as i write this email
>
> I want to simply make changes so i can have a 3 day rotation, i want to 
> have of course one full backup up and then just 2 days of incremental , 
> then start a new full backup and then the 2 day rotation... and of 
> course delete the previous 2 day sand full backup...so how would i 
> accomplish this? it' a little confusing at the moment as i am too 
> stressed to understand the conf file, i do not want o backup nothing by 
> mistake!
>
>   
I think these settings will provide what you need.

$Conf{FullKeepCnt} = 1;
$Conf{FullKeepCntMin} = 1;
$Conf{FullAgeMax} = 3;

$Conf{IncrKeepCnt} = 2;
$Conf{IncrKeepCntMin} = 1;
$Conf{IncrAgeMax} = 2;

$Conf{FullPeriod} = '2.97';

$Conf{IncrPeriod} = '0.97';

The above basically sets the following...

Only keep 1 full backup. Keep at least 1 full backup. Delete all old 
backups greater than 3 days.
Keep 2 incrementals with a minimum of 1, deleting incrementals older 
than 2 days.
Set the rotation of fulls to be just under 3 days, and incremental at 
just under 1.
 

> Also is the only way to delete current backups is by hand?
>
> Thanks once again for all your help!
>
>
>   

I'm not sure how to invoke a commandline to do this, but if you save the 
changes as above the nightly process will cull all the old backups which 
are beyond the settings above.

Regards,

Les

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] Rotation question...

2006-10-16 Thread Rob Morin
First off thanks for a great application & thanks for all the help i 
have received on this list thus far...
:)

I recently installed BackupPC as i had a server crash and lost some 
clients files i was backing up before using the infamous TAR, but 
the external disk that i was using died. So now i installed BackupPC 
on another server till i get a decent disk array working, i only have 80 
gigs(mirrored) on this server so it filled up rather quicklyand 
is at 99% as i write this email

I want to simply make changes so i can have a 3 day rotation, i want to 
have of course one full backup up and then just 2 days of incremental , 
then start a new full backup and then the 2 day rotation... and of 
course delete the previous 2 day sand full backup...so how would i 
accomplish this? it' a little confusing at the moment as i am too 
stressed to understand the conf file, i do not want o backup nothing by 
mistake!

Also is the only way to delete current backups is by hand?

Thanks once again for all your help!


-- 

Rob Morin
Dido InterNet Inc.
Montreal, Canada
Http://www.dido.ca
514-990-


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/