SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
How to exclude directories from backing up.
Author Message
Post How to exclude directories from backing up. 
I want to exclude the directory which contains vmware virtual machines.
I have tried to exclude it on my localhost computer and on my windows
laptop. But both of them are still trying to backup the directory I
want to exclude.

Have I used the wrong formatting?

I have searched the archives, but I still couldn't figure out what is wrong.

All help appreciated. Thanks.

Krsnendu dasa

The location on the local host is
/home/krsnendu/Virtual Machines

Using the web interface I typed exactly the same as above for the
variable: BackupFilesExclude

In the config file it looks like this:

$Conf{BackupFilesExclude} = {
'/home/krsnendu/Virtual Machines' => [
''
]
};

For the windows machine:
The share name is Educator which maps to
c:\Documents and Settings\Educator

Using the web interface for BackupFilesExclude I typed:

/My Documents/My Virtual Machines/*

In the config file it looks like this:
$Conf{BackupFilesExclude} = {
'/My Documents/My Virtual Machines/*' => [
''
]
};

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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/

Post How to exclude directories from backing up. 
Have you tried a backslash escape character in front of the space in 'Virtual Machines'? I know single quote might take care of this, but just a guess.

Also, adding a /* ?

Stabbing in the dark here.

-Nathan


In the config file it looks like this:

$Conf{BackupFilesExclude} = {
'/home/krsnendu/Virtual Machines' => [
''
]
};




Post How to exclude directories from backing up. 
Krsnendu writes:

I want to exclude the directory which contains vmware virtual machines.
I have tried to exclude it on my localhost computer and on my windows
laptop. But both of them are still trying to backup the directory I
want to exclude.

Have I used the wrong formatting?

I have searched the archives, but I still couldn't figure out what is wrong.

All help appreciated. Thanks.

Krsnendu dasa

The location on the local host is
/home/krsnendu/Virtual Machines

Using the web interface I typed exactly the same as above for the
variable: BackupFilesExclude

In the config file it looks like this:

$Conf{BackupFilesExclude} = {
'/home/krsnendu/Virtual Machines' => [
''
]
};

This isn't right. The key should be the share name (eg: '/'),
and the value is the path you want to exclude. It's not that
obvious in the CGI interface.

So it should look like this:

$Conf{BackupFilesExclude} = {
'/' => ['/home/krsnendu/Virtual Machines'],
};

Craig

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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/

Display posts from previous:
Reply to topic 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
  


Magic SEO URL for phpBB