Subscribe to Mailing Lists     FAQFAQ    SearchSearch      Register  Log in to check your private messagesLog in to check your private messages    Log inLog in 
These forums brought to you by Backup Central, where we also have the Mr. Backup Blog, Mailing Lists, FAQs,
and Directories of Backup Software and Hardware
mp3 files excluded

 
Post new topic   Reply to topic    Backup Central Forums Forum Index -> BackupPC
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Thu Jun 20, 2002 8:14 am    Post subject: mp3 files excluded Reply with quote

Hi Craig,

Is it possible to either exclude mp3 files altogether or just to (at least) exclude them from the compression algorithim. Since they are large and already compressed, it would chew up a lot of cpu cycles for nothing. Preferably, I would like to exclude them from the backup.

Then I would let my users know that they are not backed up and maybe give them a single 60GB IDE drive on one of the servers to store them, themselves.

Thanks a lot for all your hard work. I am just finishing up setting up a backuppc for one of my customers.

Leon
Back to top
Guest






PostPosted: Thu Jun 20, 2002 8:21 am    Post subject: mp3 files excluded Reply with quote

Leon Letto wrote:
Quote:
Hi Craig,

Is it possible to either exclude mp3 files altogether or just to (at
least) exclude them from the compression algorithim. Since they are
large and already compressed, it would chew up a lot of cpu cycles for
nothing. Preferably, I would like to exclude them from the backup.

Then I would let my users know that they are not backed up and maybe
give them a single 60GB IDE drive on one of the servers to store them,
themselves.

Thanks a lot for all your hard work. I am just finishing up setting up
a backuppc for one of my customers.

Leon

Try
$conf{BackupFilesExclude} = '*.mp3';



-------------------------------------------------------
Bringing you mounds of caffeinated joy
Quote:
Quote:
Quote:
http://thinkgeek.com/sf <<<

_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
Back to top
Guest






PostPosted: Thu Jun 20, 2002 9:09 am    Post subject: mp3 files excluded Reply with quote

Quote:
Quote:
Is it possible to either exclude mp3 files altogether or just to (at
least) exclude them from the compression algorithim. Since they are
large and already compressed, it would chew up a lot of cpu cycles for
nothing. Preferably, I would like to exclude them from the backup.

Then I would let my users know that they are not backed up and maybe
give them a single 60GB IDE drive on one of the servers to store them,
themselves.

Thanks a lot for all your hard work. I am just finishing up setting up
a backuppc for one of my customers.

Leon

Try
$conf{BackupFilesExclude} = '*.mp3';

This will work with tar, but not smbclient. Unfortunately smbclient
also needs the "r" option to -T to make wildcards in the exclude file
list work. That's a one-character change to lib/BackupPC/Xfer/Smb.pm,
but you can't do it from the configuration file. (Sometime I should
move the entire smbclient command to the conf file, like it works
with tar, so you can make tweaks like this.)

Quote:
Another question. Can I say
$conf{BackupFilesExclude} = '~Temporary Internet Files\*.*';
Or something like that, to exclude a pathname. This is because there is
always a different username in front of this folder name. eg. c:\Documents
and Settings\leon\Local Settings\Temporary Internet Files .

If you added the "r" option to smbclient's -T, this should work:

$Conf{BackupFilesExclude} = [
'*/Temporary Internet Files/*',
'*.MP3',
'*.mp3'
];

I would start to question the value of this kind of tweaking. Just
require all your users to listen to the same kind of music Smile.

There is a warning in the smbclient man page that says wildcards done
via regex can be slow. If smbclient is compiled without regex support
(I'm not sure what the default is) then "*" and "?" are still meant to
work ok.

Also, smbclient can't exclude files from a specific list (ie: you can't
include and exclude at the same time). Tar can.

Perhaps I should add "-r" as the default to lib/BackupPC/Xfer/Smb.pm?

Craig


-------------------------------------------------------
Bringing you mounds of caffeinated joy
Quote:
Quote:
Quote:
http://thinkgeek.com/sf <<<

_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Backup Central Forums Forum Index -> BackupPC All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group
Magic SEO URL for phpBB