 |
Page 1 of 1
|
| Author |
Message |
anandx
Joined: 18 Dec 2008
Posts: 58
|
 Need help on scheduling, full backups and excluding director
Hi,
I have a backuppc installation, where i have a few problems.
1. Scheduling: We wish to schedule the clients backup only after 11:00am, and till 07:00pm. Further we want to keep only 1 full backup, and 5 incremental backups for each weekday. I know having 1 full backup is bad, but thats how the management wants it. This is how i have setup in the config.pl file
$Conf{WakeupSchedule} = [11,12,13,14,15,16,17,18,19];
$Conf{FullPeriod} = '6.97';
$Conf{IncrPeriod} = '0.97';
$Conf{FullKeepCnt} = [1];
$Conf{FullKeepCntMin} = 1;
$Conf{FullAgeMax} = 90;
$Conf{IncrKeepCnt} = 5;
$Conf{IncrKeepCntMin} = 1;
$Conf{IncrAgeMax} = 6;
$Conf{IncrLevels} = [1];
Now i see that instead of taking 1 full backups, its keeping 2 full backups. How do i force it to store only 1 backup ?
2. I have excluded the following directories in backup
$Conf{BackupFilesExclude} = {
'*' => [
'WUTemp',
'UsrClass.dat',
'NTUSER.DAT',
'parent.lock',
'Thumbs.db',
'ntuser.dat.LOG',
'IconCache.db',
'pagefile.sys',
'hiberfil.sys',
'UsrClass.dat.LOG',
'/WINDOWS',
'/Program Files',
'/Progra~1',
'/Config.Msi',
'/$AVG*',
'/cygwin*',
'autoexec.ch',
'config.ch',
'/*/Cache',
'/RECYCLER',
'/RECYCLER/',
'/*/Temporary?Internet?Files',
'/System?Volume?Information',
'/System Volume Information/',
'/Documents and Settings/*/Application Data/Microsoft/Search/Data',
'/Documents and Settings/*/Local Settings/Application Data/Google/Chrome/User Data/Default/Cache',
'/Documents and Settings/*/Local Settings/Application Data/Mozilla/Firefox/Profiles/*.default/Cache',
'/Documents and Settings/*/Local Settings/Temp',
'/Documents and Settings/*/Local Settings/Temporary Internet Files',
'/System Volume Information',
'/Temp',
'/MSOCache/'
]
However even though the above excludes have been put in the config file, i see these directories/ files being backed up. How do i remove them from the pool ? And ensure they aren't backed up ?
Would really appreciate the help on this.
--
Thanks and Regards,
Anand
|
| Tue Oct 06, 2009 12:31 pm |
|
 |
Bowie Bailey
Guest
|
 Need help on scheduling, full backups and excluding director
Anand Gupta wrote:
Hi,
I have a backuppc installation, where i have a few problems.
1. Scheduling: We wish to schedule the clients backup only after
11:00am, and till 07:00pm. Further we want to keep only 1 full backup,
and 5 incremental backups for each weekday. I know having 1 full
backup is bad, but thats how the management wants it. This is how i
have setup in the config.pl file
$Conf{WakeupSchedule} = [11,12,13,14,15,16,17,18,19];
$Conf{FullPeriod} = '6.97';
$Conf{IncrPeriod} = '0.97';
$Conf{FullKeepCnt} = [1];
$Conf{FullKeepCntMin} = 1;
$Conf{FullAgeMax} = 90;
$Conf{IncrKeepCnt} = 5;
$Conf{IncrKeepCntMin} = 1;
$Conf{IncrAgeMax} = 6;
$Conf{IncrLevels} = [1];
Now i see that instead of taking 1 full backups, its keeping 2 full
backups. How do i force it to store only 1 backup ?
It's because of the incrementals. You can't keep an incremental without
the related full backup. So since you told it to keep 5 incrementals,
it will keep the extra full until the last related incremental is gone.
--
Bowie
------------------------------------------------------------------------------
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
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|
| Tue Oct 06, 2009 12:44 pm |
|
 |
Bowie Bailey
Guest
|
 Need help on scheduling, full backups and excluding director
Anand Gupta wrote:
Hi,
I have a backuppc installation, where i have a few problems.
1. Scheduling: We wish to schedule the clients backup only after
11:00am, and till 07:00pm. Further we want to keep only 1 full backup,
and 5 incremental backups for each weekday. I know having 1 full
backup is bad, but thats how the management wants it. This is how i
have setup in the config.pl file
$Conf{WakeupSchedule} = [11,12,13,14,15,16,17,18,19];
$Conf{FullPeriod} = '6.97';
$Conf{IncrPeriod} = '0.97';
$Conf{FullKeepCnt} = [1];
$Conf{FullKeepCntMin} = 1;
$Conf{FullAgeMax} = 90;
$Conf{IncrKeepCnt} = 5;
$Conf{IncrKeepCntMin} = 1;
$Conf{IncrAgeMax} = 6;
$Conf{IncrLevels} = [1];
Now i see that instead of taking 1 full backups, its keeping 2 full
backups. How do i force it to store only 1 backup ?
It's because of the incrementals. You can't keep an incremental without
the related full backup. So since you told it to keep 5 incrementals,
it will keep the extra full until the last related incremental is gone.
--
Bowie
------------------------------------------------------------------------------
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
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|
| Tue Oct 06, 2009 12:44 pm |
|
 |
Bowie Bailey
Guest
|
 Need help on scheduling, full backups and excluding director
Anand Gupta wrote:
Hi,
I have a backuppc installation, where i have a few problems.
1. Scheduling: We wish to schedule the clients backup only after
11:00am, and till 07:00pm. Further we want to keep only 1 full backup,
and 5 incremental backups for each weekday. I know having 1 full
backup is bad, but thats how the management wants it. This is how i
have setup in the config.pl file
$Conf{WakeupSchedule} = [11,12,13,14,15,16,17,18,19];
$Conf{FullPeriod} = '6.97';
$Conf{IncrPeriod} = '0.97';
$Conf{FullKeepCnt} = [1];
$Conf{FullKeepCntMin} = 1;
$Conf{FullAgeMax} = 90;
$Conf{IncrKeepCnt} = 5;
$Conf{IncrKeepCntMin} = 1;
$Conf{IncrAgeMax} = 6;
$Conf{IncrLevels} = [1];
Now i see that instead of taking 1 full backups, its keeping 2 full
backups. How do i force it to store only 1 backup ?
It's because of the incrementals. You can't keep an incremental without
the related full backup. So since you told it to keep 5 incrementals,
it will keep the extra full until the last related incremental is gone.
--
Bowie
------------------------------------------------------------------------------
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
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|
| Tue Oct 06, 2009 12:44 pm |
|
 |
anandx
Joined: 18 Dec 2008
Posts: 58
|
 Need help on scheduling, full backups and excluding director
Anand Gupta wrote:
Hi,
I have a backuppc installation, where i have a few problems.
1. Scheduling: We wish to schedule the clients backup only after
11:00am, and till 07:00pm. Further we want to keep only 1 full backup,
and 5 incremental backups for each weekday. I know having 1 full
backup is bad, but thats how the management wants it. This is how i
have setup in the config.pl file
$Conf{WakeupSchedule} = [11,12,13,14,15,16,17,18,19];
$Conf{FullPeriod} = '6.97';
$Conf{IncrPeriod} = '0.97';
$Conf{FullKeepCnt} = [1];
$Conf{FullKeepCntMin} = 1;
$Conf{FullAgeMax} = 90;
$Conf{IncrKeepCnt} = 5;
$Conf{IncrKeepCntMin} = 1;
$Conf{IncrAgeMax} = 6;
$Conf{IncrLevels} = [1];
Now i see that instead of taking 1 full backups, its keeping 2 full
backups. How do i force it to store only 1 backup ?
It's because of the incrementals. You can't keep an incremental without
the related full backup. So since you told it to keep 5 incrementals,
it will keep the extra full until the last related incremental is gone.
So what do you recommend ? Increase the incremental count ?
--
Thanks and Regards,
Anand
|
| Tue Oct 06, 2009 12:54 pm |
|
 |
Bowie Bailey
Guest
|
 Need help on scheduling, full backups and excluding director
Anand Gupta wrote:
Anand Gupta wrote:
Hi,
I have a backuppc installation, where i have a few problems.
1. Scheduling: We wish to schedule the clients backup only after
11:00am, and till 07:00pm. Further we want to keep only 1 full backup,
and 5 incremental backups for each weekday. I know having 1 full
backup is bad, but thats how the management wants it. This is how i
have setup in the config.pl file
$Conf{WakeupSchedule} = [11,12,13,14,15,16,17,18,19];
$Conf{FullPeriod} = '6.97';
$Conf{IncrPeriod} = '0.97';
$Conf{FullKeepCnt} = [1];
$Conf{FullKeepCntMin} = 1;
$Conf{FullAgeMax} = 90;
$Conf{IncrKeepCnt} = 5;
$Conf{IncrKeepCntMin} = 1;
$Conf{IncrAgeMax} = 6;
$Conf{IncrLevels} = [1];
Now i see that instead of taking 1 full backups, its keeping 2 full
backups. How do i force it to store only 1 backup ?
It's because of the incrementals. You can't keep an incremental without
the related full backup. So since you told it to keep 5 incrementals,
it will keep the extra full until the last related incremental is gone.
So what do you recommend ? Increase the incremental count ?
If you increase the incremental count, that will result in more full
backups being kept. The more incrementals you keep, the more full
backups will be required to support them.
Considering that full backups do not take up much more space on your
drive than the incrementals due to pooling, I would recommend that you
not worry too much about it and just let BackupPC keep what it needs
to. After 5 days, all of your old incrementals will have been replaced
and then the old full backup will also go away. This will result in one
extra full backup being there most of the time, but the only alternative
is to delete all of your incrementals whenever you do a full backup, and
I would NOT recommend that.
--
Bowie
------------------------------------------------------------------------------
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
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|
| Tue Oct 06, 2009 1:17 pm |
|
 |
anandx
Joined: 18 Dec 2008
Posts: 58
|
 Need help on scheduling, full backups and excluding director
Thanks for the detailed explanation, appreciate it.
--
Thanks and Regards,
Anand
-----Original Message-----
From: Bowie Bailey <Bowie_Bailey < at > BUC.com>
Date: Tue, 06 Oct 2009 17:14:25
To: <backuppc-users < at > lists.sourceforge.net>
Subject: Re: [BackupPC-users] Need help on scheduling,
full backups and excluding directories
Anand Gupta wrote:
Anand Gupta wrote:
Hi,
I have a backuppc installation, where i have a few problems.
1. Scheduling: We wish to schedule the clients backup only after
11:00am, and till 07:00pm. Further we want to keep only 1 full backup,
and 5 incremental backups for each weekday. I know having 1 full
backup is bad, but thats how the management wants it. This is how i
have setup in the config.pl file
$Conf{WakeupSchedule} = [11,12,13,14,15,16,17,18,19];
$Conf{FullPeriod} = '6.97';
$Conf{IncrPeriod} = '0.97';
$Conf{FullKeepCnt} = [1];
$Conf{FullKeepCntMin} = 1;
$Conf{FullAgeMax} = 90;
$Conf{IncrKeepCnt} = 5;
$Conf{IncrKeepCntMin} = 1;
$Conf{IncrAgeMax} = 6;
$Conf{IncrLevels} = [1];
Now i see that instead of taking 1 full backups, its keeping 2 full
backups. How do i force it to store only 1 backup ?
It's because of the incrementals. You can't keep an incremental without
the related full backup. So since you told it to keep 5 incrementals,
it will keep the extra full until the last related incremental is gone.
So what do you recommend ? Increase the incremental count ?
If you increase the incremental count, that will result in more full
backups being kept. The more incrementals you keep, the more full
backups will be required to support them.
Considering that full backups do not take up much more space on your
drive than the incrementals due to pooling, I would recommend that you
not worry too much about it and just let BackupPC keep what it needs
to. After 5 days, all of your old incrementals will have been replaced
and then the old full backup will also go away. This will result in one
extra full backup being there most of the time, but the only alternative
is to delete all of your incrementals whenever you do a full backup, and
I would NOT recommend that.
--
Bowie
------------------------------------------------------------------------------
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
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
------------------------------------------------------------------------------
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
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|
| Tue Oct 06, 2009 2:17 pm |
|
 |
Adam Goryachev
Guest
|
 Need help on scheduling, full backups and excluding director
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
anandiwp < at > gmail.com wrote:
Thanks for the detailed explanation, appreciate it.
--
Thanks and Regards,
Anand
-----Original Message-----
From: Bowie Bailey <Bowie_Bailey < at > BUC.com>
Date: Tue, 06 Oct 2009 17:14:25
To: <backuppc-users < at > lists.sourceforge.net>
Subject: Re: [BackupPC-users] Need help on scheduling,
full backups and excluding directories
Anand Gupta wrote:
Anand Gupta wrote:
Hi,
I have a backuppc installation, where i have a few problems.
1. Scheduling: We wish to schedule the clients backup only after
11:00am, and till 07:00pm. Further we want to keep only 1 full backup,
and 5 incremental backups for each weekday. I know having 1 full
backup is bad, but thats how the management wants it. This is how i
have setup in the config.pl file
$Conf{WakeupSchedule} = [11,12,13,14,15,16,17,18,19];
You most likely want to update this as follows:
$Conf{WakeupSchedule} = [20, 11,12,13,14,15,16,17,18,19];
Also set the blackout schedule from 19 to 10.5
Reason: The first value for WakeupSchedule is when the nighlty (daily)
work/cleanup is done, including reading through the entire pool to
delete files no longer required. If this is done at the same time as
your backups it will drastically slow down the backups.
Setting the blacout schedule will stop any backups starting at 20 or
19. Also, consider that a backup starting at 18 may not actually
complete before 19.
Regards,
Adam
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkrLxjAACgkQGyoxogrTyiVewwCgn/0Ypc8pWGil3vIbufgNeopk
cLEAoLv8AwoekcsMqKpi7vMs5pF9ceb7
=z/91
-----END PGP SIGNATURE-----
------------------------------------------------------------------------------
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
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|
| Tue Oct 06, 2009 2:41 pm |
|
 |
Holger Parplies
Guest
|
 Need help on scheduling, full backups and excluding director
Hi,
Anand Gupta wrote on 2009-10-07 01:49:41 +0530 [[BackupPC-users] Need help on scheduling, full backups and excluding directories]:
[...]
2. I have excluded the following directories in backup
$Conf{BackupFilesExclude} = {
'*' => [
'WUTemp',
'UsrClass.dat',
'NTUSER.DAT',
'parent.lock',
'Thumbs.db',
'ntuser.dat.LOG',
'IconCache.db',
'pagefile.sys',
'hiberfil.sys',
'UsrClass.dat.LOG',
'/WINDOWS',
'/Program Files',
'/Progra~1',
'/Config.Msi',
'/$AVG*',
'/cygwin*',
'autoexec.ch',
'config.ch',
'/*/Cache',
'/RECYCLER',
'/RECYCLER/',
'/*/Temporary?Internet?Files',
'/System?Volume?Information',
'/System Volume Information/',
'/Documents and Settings/*/Application Data/Microsoft/Search/Data',
'/Documents and Settings/*/Local Settings/Application
Data/Google/Chrome/User Data/Default/Cache',
'/Documents and Settings/*/Local Settings/Application
Data/Mozilla/Firefox/Profiles/*.default/Cache',
'/Documents and Settings/*/Local Settings/Temp',
'/Documents and Settings/*/Local Settings/Temporary Internet Files',
'/System Volume Information',
'/Temp',
'/MSOCache/'
]
However even though the above excludes have been put in the config file,
i see these directories/ files being backed up.
what XferMethod are you using? If it's smb, I believe having read that you
need '\' as path separator if you want globbing to work, eg.
'/RECYCLER/', # should be ok, no wildcards
'\RECYCLER\', # the same as above
'/*/Cache', # won't work, but ...
'\*\Cache', # should work
As I can't test that (I don't backup Windoze systems), I'd be interested in
someone confirming that (maybe you if it works  .
How do i remove them from the pool ?
Since you're only keeping backups for a week, I'd suggest not worrying about
it (if space permits). Your list is quite long, so it seems quite a chore to
get rid of all those and still have backups you trust. If you really want to
do it, Jeffrey wrote a script which you can find somewhere in the archives.
If you want a *simple approximation* that is "good enough" though not 100%
correct, try something like
find pc/ -mindepth 4 -maxdepth 4 \( -name fpagefile.sys -o -name fhiberfil.sys \) -exec rm {} \;
(assuming those are always in the root of a share). On the other hand, these
excludes didn't include a wildcard, so I would expect them to have been
respected (were they?).
If you're going to remove many small files that way (which I wouldn't do),
you'd want to think of either replacing the -exec with a -print0 and pipe the
output to 'xargs -0 rm' or replacing the 'find' with 'find2perl' and piping
the output into 'perl'.
Also remember that no space will be actually freed until BackupPC_nightly
runs (and don't run it by hand, use 'BackupPC_serverMesg BackupPC_nightly run'
if you really want to force an unscheduled run).
Regards,
Holger
------------------------------------------------------------------------------
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
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|
| Tue Oct 06, 2009 3:18 pm |
|
 |
anandx
Joined: 18 Dec 2008
Posts: 58
|
 Need help on scheduling, full backups and excluding director
-------- Original Message --------
Subject: Re: [BackupPC-users] Need help on scheduling, full backups and excluding directories
From: Adam Goryachev <mailinglists < at > websitemanagers.com.au> ([email]mailinglists < at > websitemanagers.com.au[/email])
To: anandiwp < at > gmail.com ([email]anandiwp < at > gmail.com[/email]), General list for user discussion, questions and support <backuppc-users < at > lists.sourceforge.net> ([email]backuppc-users < at > lists.sourceforge.net[/email])
Date: Wed Oct 7 04:05:36 2009
Anand Gupta wrote:
Hi,
I have a backuppc installation, where i have a few problems.
1. Scheduling: We wish to schedule the clients backup only after
11:00am, and till 07:00pm. Further we want to keep only 1 full backup,
and 5 incremental backups for each weekday. I know having 1 full
backup is bad, but thats how the management wants it. This is how i
have setup in the config.pl file
$Conf{WakeupSchedule} = [11,12,13,14,15,16,17,18,19];
You most likely want to update this as follows:
$Conf{WakeupSchedule} = [20, 11,12,13,14,15,16,17,18,19];
Also set the blackout schedule from 19 to 10.5
Reason: The first value for WakeupSchedule is when the nighlty (daily)
work/cleanup is done, including reading through the entire pool to
delete files no longer required. If this is done at the same time as
your backups it will drastically slow down the backups.
Setting the blacout schedule will stop any backups starting at 20 or
19. Also, consider that a backup starting at 18 may not actually
complete before 19.
Thanks, i am going to try this out. I understand the backup started at 19:00 might not complete by 20:00, but thats ok since anyways by then all the machines would be shutdown.
--
Thanks and Regards,
Anand
|
| Fri Oct 09, 2009 10:16 am |
|
 |
anandx
Joined: 18 Dec 2008
Posts: 58
|
 Need help on scheduling, full backups and excluding director
Hi Holger,
-------- Original Message --------
Subject: Re: [BackupPC-users] Need help on scheduling, full backups and excluding directories
From: Holger Parplies <wbppc < at > parplies.de> ([email]wbppc < at > parplies.de[/email])
To: anandiwp < at > gmail.com ([email]anandiwp < at > gmail.com[/email])
Cc: "General list for user discussion, questions and support" <backuppc-users < at > lists.sourceforge.net> ([email]backuppc-users < at > lists.sourceforge.net[/email])
Date: Wed Oct 7 04:45:49 2009
Hi,
Anand Gupta wrote on 2009-10-07 01:49:41 +0530 [[BackupPC-users] Need help on scheduling, full backups and excluding directories]:
[...]
2. I have excluded the following directories in backup
$Conf{BackupFilesExclude} = {
'*' => [
'WUTemp',
'UsrClass.dat',
'NTUSER.DAT',
'parent.lock',
'Thumbs.db',
'ntuser.dat.LOG',
'IconCache.db',
'pagefile.sys',
'hiberfil.sys',
'UsrClass.dat.LOG',
'/WINDOWS',
'/Program Files',
'/Progra~1',
'/Config.Msi',
'/$AVG*',
'/cygwin*',
'autoexec.ch',
'config.ch',
'/*/Cache',
'/RECYCLER',
'/RECYCLER/',
'/*/Temporary?Internet?Files',
'/System?Volume?Information',
'/System Volume Information/',
'/Documents and Settings/*/Application Data/Microsoft/Search/Data',
'/Documents and Settings/*/Local Settings/Application
Data/Google/Chrome/User Data/Default/Cache',
'/Documents and Settings/*/Local Settings/Application
Data/Mozilla/Firefox/Profiles/*.default/Cache',
'/Documents and Settings/*/Local Settings/Temp',
'/Documents and Settings/*/Local Settings/Temporary Internet Files',
'/System Volume Information',
'/Temp',
'/MSOCache/'
]
However even though the above excludes have been put in the config file,
i see these directories/ files being backed up.
what XferMethod are you using? If it's smb, I believe having read that you
need '' as path separator if you want globbing to work, eg.
'/RECYCLER/', # should be ok, no wildcards
'RECYCLER', # the same as above
'/*/Cache', # won't work, but ...
'*Cache', # should work
As I can't test that (I don't backup Windoze systems), I'd be interested in
someone confirming that (maybe you if it works  .
My apologies for not mentioning the transfer method. I am using rsyncd (cygwin). Basically the single share /cygwin, under which all partitions on windows appear, is being backed up. Any ideas what i am doing wrong here causing backuppc to still backup those directories ?
How do i remove them from the pool ?
Since you're only keeping backups for a week, I'd suggest not worrying about
it (if space permits). Your list is quite long, so it seems quite a chore to
get rid of all those and still have backups you trust. If you really want to
do it, Jeffrey wrote a script which you can find somewhere in the archives.
If you want a *simple approximation* that is "good enough" though not 100%
correct, try something like
find pc/ -mindepth 4 -maxdepth 4 ( -name fpagefile.sys -o -name fhiberfil.sys ) -exec rm {} ;
(assuming those are always in the root of a share). On the other hand, these
excludes didn't include a wildcard, so I would expect them to have been
respected (were they?).
If you're going to remove many small files that way (which I wouldn't do),
you'd want to think of either replacing the -exec with a -print0 and pipe the
output to 'xargs -0 rm' or replacing the 'find' with 'find2perl' and piping
the output into 'perl'.
Also remember that no space will be actually freed until BackupPC_nightly
runs (and don't run it by hand, use 'BackupPC_serverMesg BackupPC_nightly run'
if you really want to force an unscheduled run).
I wanted to remove them, but on second thoughts let them be there for now. Just want to figure out why they were backed up in the first place (as i have those excludes from day 1)
Appreciate the reply and help.
--
Thanks and Regards,
Anand Gupta
|
| Fri Oct 09, 2009 10:18 am |
|
 |
|
|
The time now is Fri May 24, 2013 5:21 am | All times are GMT - 8 Hours
|
Page 1 of 1
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|