Re: [CentOS] semi-OT: help needed w/ bareos

2015-09-03 Thread Valeri Galtsev

On Thu, September 3, 2015 6:56 am, mark wrote:
> On 09/02/15 21:27, Leon Fauster wrote:
>> Am 02.09.2015 um 22:18 schrieb m.r...@5-cent.us:
>>> I've got it installed on a 6.7 server, and can back up and restore for
>>> Linux. Now I'm trying to do it for some users' WinDoze boxes. Trouble
>>> is,
>>> all I keep finding on the Web are "how to set it up on Linux", "how to
>>> install on Windoze", and how to restore
>>>
>>> First question: how do you *see* a list of the files that have been
>>> backed
>>> up (you're not going to tell me that's a postgresql thing, are you?)?
>>
>> # bconsole
>> * list files jobid=
>>
> Great - thanks (I'll try it when I get into work).
>>
>>> Second: I've been looking, and am having trouble finding examples of
>>> configuring the bareos-dir for a win client. I *think* I did it right,
>>> but
>>> I get warnings. For the fileset, I have
>>> FileSet {
>>>   Name = "set"
>>>   Include {
>>> Options {
>>>   Signature = MD5 # calculate md5 checksum per file
>>> }
>>> File = "c:\Users"
>>>   }
>>> }
>>>
>>> But the logs *seem* to be saying it only copied one file.
>>
> Any clues as to whether I've got the FileSet correct - say, is the slash
> correct, or should it be a Linux forward slash, rather than a WinDoze
> backslash?
>

I can not help with bareos, I use bacula, but assuming bareos kept the
same definitions, then it is forward slash (Unix or Linux style ;-). Here
is a portion of my config for Windows 7 client (Server is FreeBSD 9.3,
bacula  version is 5.2.12):

FileSet {
  Name = "Ping Set"
  Enable VSS = yes
  Include {
Options {
  signature = MD5
}
Options {
  exclude = yes
  Ignore Case = yes
  wilddir = "C:/Temp"
  wilddir = "C:/Windows/Temp*"
  wilddir = "*Temporary Internet Files*"
}

File = C:/
  }

}

Don't try to make sense of the word "Ping" - that is just funny machine
name ;-)

Good luck!

Valeri


Valeri Galtsev
Sr System Administrator
Department of Astronomy and Astrophysics
Kavli Institute for Cosmological Physics
University of Chicago
Phone: 773-702-4247

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] semi-OT: help needed w/ bareos

2015-09-03 Thread m . roth
IP wrote:
> W dniu 2015-09-03 o 13:56, mark pisze:
>> On 09/02/15 21:27, Leon Fauster wrote:
>>> Am 02.09.2015 um 22:18 schrieb m.r...@5-cent.us:
 I've got it installed on a 6.7 server, and can back up and restore for
 Linux. Now I'm trying to do it for some users' WinDoze boxes.
 Trouble is,
 all I keep finding on the Web are "how to set it up on Linux", "how to
 install on Windoze", and how to restore

 First question: how do you *see* a list of the files that have been
 backed
 up (you're not going to tell me that's a postgresql thing, are you?)?
>>>
>>> # bconsole
>>> * list files jobid=
>>>
>> Great - thanks (I'll try it when I get into work).
>>>
 Second: I've been looking, and am having trouble finding examples of
 configuring the bareos-dir for a win client. I *think* I did it
 right, but
 I get warnings. For the fileset, I have
 FileSet {
   Name = "set"
   Include {
 Options {
   Signature = MD5 # calculate md5 checksum per file
 }
 File = "c:\Users"
   }
 }

 But the logs *seem* to be saying it only copied one file.
>>>
>> Any clues as to whether I've got the FileSet correct - say, is the
>> slash correct, or should it be a Linux forward slash, rather than a
>> WinDoze backslash?
> Hi.
>
> Maybe you should start with bareos doc ?
>
> http://doc.bareos.org/master/html/bareos-manual-main-reference.html#x1-1080008.5.4
>

Maybe I've been reading that, and it has zero suggestions for if I only
want to back up c:\Users and the the contents. Maybe I've already *said*
I'd been googling, and not finding enough info. Maybe I even said that in
my first paragraph of my original post.

 mark

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] semi-OT: help needed w/ bareos

2015-09-03 Thread Valeri Galtsev

On Thu, September 3, 2015 10:48 am, m.r...@5-cent.us wrote:
> IP wrote:
>> W dniu 2015-09-03 o 13:56, mark pisze:
>>> On 09/02/15 21:27, Leon Fauster wrote:
 Am 02.09.2015 um 22:18 schrieb m.r...@5-cent.us:
> I've got it installed on a 6.7 server, and can back up and restore
> for
> Linux. Now I'm trying to do it for some users' WinDoze boxes.
> Trouble is,
> all I keep finding on the Web are "how to set it up on Linux", "how
> to
> install on Windoze", and how to restore
>
> First question: how do you *see* a list of the files that have been
> backed
> up (you're not going to tell me that's a postgresql thing, are you?)?

 # bconsole
 * list files jobid=

>>> Great - thanks (I'll try it when I get into work).

> Second: I've been looking, and am having trouble finding examples of
> configuring the bareos-dir for a win client. I *think* I did it
> right, but
> I get warnings. For the fileset, I have
> FileSet {
>   Name = "set"
>   Include {
> Options {
>   Signature = MD5 # calculate md5 checksum per file
> }
> File = "c:\Users"
>   }
> }
>
> But the logs *seem* to be saying it only copied one file.

>>> Any clues as to whether I've got the FileSet correct - say, is the
>>> slash correct, or should it be a Linux forward slash, rather than a
>>> WinDoze backslash?
>> Hi.
>>
>> Maybe you should start with bareos doc ?
>>
>> http://doc.bareos.org/master/html/bareos-manual-main-reference.html#x1-1080008.5.4
>>
>
> Maybe I've been reading that, and it has zero suggestions for if I only
> want to back up c:\Users and the the contents. Maybe I've already *said*
> I'd been googling, and not finding enough info. Maybe I even said that in
> my first paragraph of my original post.
>

Mark, did you receive my earlier post (reply to earlier e-mail in this
thread)? I pasted there portion of my bacula config. Im my case (bacula
5.x.x) it is forward slash for Windows clients as well. I know one way to
test it: make a backup, then restore, then compare. (It is always a good
idea for the first new type of client when not sure the config is
correct...)

I hope, this helps.

Valeri


Valeri Galtsev
Sr System Administrator
Department of Astronomy and Astrophysics
Kavli Institute for Cosmological Physics
University of Chicago
Phone: 773-702-4247

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] semi-OT: help needed w/ bareos

2015-09-03 Thread Ireneusz Piasecki

W dniu 03.09.2015 o 17:48, m.r...@5-cent.us pisze:

IP wrote:

W dniu 2015-09-03 o 13:56, mark pisze:

On 09/02/15 21:27, Leon Fauster wrote:

Am 02.09.2015 um 22:18 schrieb m.r...@5-cent.us:

I've got it installed on a 6.7 server, and can back up and restore for
Linux. Now I'm trying to do it for some users' WinDoze boxes.
Trouble is,
all I keep finding on the Web are "how to set it up on Linux", "how to
install on Windoze", and how to restore

First question: how do you *see* a list of the files that have been
backed
up (you're not going to tell me that's a postgresql thing, are you?)?

# bconsole
* list files jobid=


Great - thanks (I'll try it when I get into work).

Second: I've been looking, and am having trouble finding examples of
configuring the bareos-dir for a win client. I *think* I did it
right, but
I get warnings. For the fileset, I have
FileSet {
   Name = "set"
   Include {
 Options {
   Signature = MD5 # calculate md5 checksum per file
 }
 File = "c:\Users"
   }
}

But the logs *seem* to be saying it only copied one file.

Any clues as to whether I've got the FileSet correct - say, is the
slash correct, or should it be a Linux forward slash, rather than a
WinDoze backslash?
Above is evidence, that you didn't read bareos doc, as i suggested in my 
early post. When you did that, you could see, that there are Linux 
(Unix) slashes:


# from bareos doc


   8.5.4 Windows FileSets
   


If you are entering Windows file names, the directory path may be 
preceded by the drive and a colon (as in c:). However, the path 
separators must be specified in Unix convention (i.e. forward slash 
(/)). If you wish to include a quote in a file name, precede the quote 
with a backslash (\). For example you might use the following for a 
Windows machine to backup the ”My Documents” directory:



FileSet{
Name="WindowsSet"
Include{
Options{
WildFile="*.obj"
WildFile="*.exe"
exclude=yes
}
File="c:/MyDocuments"
}
} # end from bareos doc But you are smarter, so keep going ...

Irens

Hi.

Maybe you should start with bareos doc ?

http://doc.bareos.org/master/html/bareos-manual-main-reference.html#x1-1080008.5.4


Maybe I've been reading that, and it has zero suggestions for if I only
want to back up c:\Users and the the contents. Maybe I've already *said*
I'd been googling, and not finding enough info. Maybe I even said that in
my first paragraph of my original post.

Yeah, you probably read bareos doc with pink glases ...


  mark

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos



___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] semi-OT: help needed w/ bareos

2015-09-03 Thread m . roth
Valeri Galtsev wrote:
> On Thu, September 3, 2015 10:48 am, m.r...@5-cent.us wrote:
>> IP wrote:
>>> W dniu 2015-09-03 o 13:56, mark pisze:
 On 09/02/15 21:27, Leon Fauster wrote:
> Am 02.09.2015 um 22:18 schrieb m.r...@5-cent.us:
>> I've got it installed on a 6.7 server, and can back up and restore
for Linux. Now I'm trying to do it for some users' WinDoze boxes.

> Mark, did you receive my earlier post (reply to earlier e-mail in this
thread)? I pasted there portion of my bacula config. Im my case (bacula
5.x.x) it is forward slash for Windows clients as well. I know one way
to test it: make a backup, then restore, then compare. (It is always a
good idea for the first new type of client when not sure the config is
correct...)
>
> I hope, this helps.

I most *certainly* did, made the fix, and restarted the bareos-dir
service, and ran my backup before lunch. Just did the list files jobid=97,
and there's a *ton* - it worked. Again, thank you very much.

mark



___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] semi-OT: help needed w/ bareos

2015-09-03 Thread mark

On 09/02/15 21:27, Leon Fauster wrote:

Am 02.09.2015 um 22:18 schrieb m.r...@5-cent.us:

I've got it installed on a 6.7 server, and can back up and restore for
Linux. Now I'm trying to do it for some users' WinDoze boxes. Trouble is,
all I keep finding on the Web are "how to set it up on Linux", "how to
install on Windoze", and how to restore

First question: how do you *see* a list of the files that have been backed
up (you're not going to tell me that's a postgresql thing, are you?)?


# bconsole
* list files jobid=


Great - thanks (I'll try it when I get into work).



Second: I've been looking, and am having trouble finding examples of
configuring the bareos-dir for a win client. I *think* I did it right, but
I get warnings. For the fileset, I have
FileSet {
  Name = "set"
  Include {
Options {
  Signature = MD5 # calculate md5 checksum per file
}
File = "c:\Users"
  }
}

But the logs *seem* to be saying it only copied one file.


Any clues as to whether I've got the FileSet correct - say, is the slash 
correct, or should it be a Linux forward slash, rather than a WinDoze backslash?


mark

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] semi-OT: help needed w/ bareos

2015-09-03 Thread IP

W dniu 2015-09-03 o 13:56, mark pisze:

On 09/02/15 21:27, Leon Fauster wrote:

Am 02.09.2015 um 22:18 schrieb m.r...@5-cent.us:

I've got it installed on a 6.7 server, and can back up and restore for
Linux. Now I'm trying to do it for some users' WinDoze boxes. 
Trouble is,

all I keep finding on the Web are "how to set it up on Linux", "how to
install on Windoze", and how to restore

First question: how do you *see* a list of the files that have been 
backed

up (you're not going to tell me that's a postgresql thing, are you?)?


# bconsole
* list files jobid=


Great - thanks (I'll try it when I get into work).



Second: I've been looking, and am having trouble finding examples of
configuring the bareos-dir for a win client. I *think* I did it 
right, but

I get warnings. For the fileset, I have
FileSet {
  Name = "set"
  Include {
Options {
  Signature = MD5 # calculate md5 checksum per file
}
File = "c:\Users"
  }
}

But the logs *seem* to be saying it only copied one file.


Any clues as to whether I've got the FileSet correct - say, is the 
slash correct, or should it be a Linux forward slash, rather than a 
WinDoze backslash?

Hi.

Maybe you should start with bareos doc ?

http://doc.bareos.org/master/html/bareos-manual-main-reference.html#x1-1080008.5.4

Irens




mark

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos



___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] semi-OT: help needed w/ bareos

2015-09-02 Thread Leon Fauster
Am 02.09.2015 um 22:18 schrieb m.r...@5-cent.us:
> I've got it installed on a 6.7 server, and can back up and restore for
> Linux. Now I'm trying to do it for some users' WinDoze boxes. Trouble is,
> all I keep finding on the Web are "how to set it up on Linux", "how to
> install on Windoze", and how to restore
> 
> First question: how do you *see* a list of the files that have been backed
> up (you're not going to tell me that's a postgresql thing, are you?)?


# bconsole
* list files jobid=



> Second: I've been looking, and am having trouble finding examples of
> configuring the bareos-dir for a win client. I *think* I did it right, but
> I get warnings. For the fileset, I have
> FileSet {
>  Name = "set"
>  Include {
>Options {
>  Signature = MD5 # calculate md5 checksum per file
>}
>File = "c:\Users"
>  }
> }
> 
> But the logs *seem* to be saying it only copied one file.

--
LF



___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos