m.roth at 5-cent.us
2015-Nov-24 18:38 UTC
[CentOS] OT: bareos, Windoze, beating head on wall
Again, I'm posting here because when I tried their mailing list, I didn't get much response. I'm trying to do a restore, from my CentOS 6 box, to a WinDoze box. The restore command is *not* user-friendly if you just want to restore a few files. And it gets weird.... First, I have to mark my path first - I don't just see it with ls. Then, when I do an ls, in c:/Users/<username/Documents/, it shows *MATLAB *My Music *My Pictures *My Videos *Visual Studio 2005/ *Visual Studio 2008/ *desktop.ini *None* of which are there. All that's there are teo files, testfile.bak and testfile.txt. MATLAB is in some other user's directory.... Here's the fileset spec from bareos-dir.conf FileSet { Name = "citdcbhebronset" Include { Options { Signature = MD5 # calculate md5 checksum per file Ignore Case = yes } File = "c:/Users" } } Anyone have any clue as to what I'm doing wrong? Googling - a lot of it - gives me 90% the bareos docs, and very little else. mark
On Tue, November 24, 2015 12:38 pm, m.roth at 5-cent.us wrote:> Again, I'm posting here because when I tried their mailing list, I didn't > get much response. > > I'm trying to do a restore, from my CentOS 6 box, to a WinDoze box. The > restore command is *not* user-friendly if you just want to restore a few > files. And it gets weird.... First, I have to mark my path first - I don't > just see it with ls. Then, when I do an ls, in > c:/Users/<username/Documents/, it shows > *MATLAB > *My Music > *My Pictures > *My Videos > *Visual Studio 2005/ > *Visual Studio 2008/ > *desktop.ini > > *None* of which are there. All that's there are teo files, testfile.bak > and testfile.txt. MATLAB is in some other user's directory.... > > Here's the fileset spec from bareos-dir.conf > FileSet { > Name = "citdcbhebronset" > Include { > Options { > Signature = MD5 # calculate md5 checksum per file > Ignore Case = yes > } > File = "c:/Users" > } > } > > Anyone have any clue as to what I'm doing wrong? Googling - a lot of it - > gives me 90% the bareos docs, and very little else. > > markMy case may be irrelevant as what I have is: server: FreeBSD 9.3, bacula 5, still here is what I have on the server side for Windows 7 client: bconsole restore 5 [here I chose the client] ... You are now entering file selection mode where you add (mark) and remove (unmark) files to be restored. No files are initially added, unless you used the "all" keyword on the command line. Enter "done" to leave this mode. cwd is: / cd C:/Users/[username]/Documents dir ... C:/Users/[username]/Documents/Visual Studio 2005/ ... dir "Visual Studio 2005" drwxrwxrwx 1 root wheel 0 2015-06-03 11:55:12 C:/Users/[username]/Documents/Visual Studio 2005/ [looks like it doesn't like to show the content, but if I enter there, I'll see stuff there, so now I just will add it to restore] add "Visual Studio 2005" 4 files marked. done ... 7 files selected to be restored. ... So, in my case the files are there. What happens it you use "add" command to add directory containing the fires you need to restore? Thanks. Valeri ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++
m.roth at 5-cent.us
2015-Nov-24 20:24 UTC
[CentOS] OT: bareos, Windoze, beating head on wall
Valeri Galtsev wrote:> > On Tue, November 24, 2015 12:38 pm, m.roth at 5-cent.us wrote:<snip>>> I'm trying to do a restore, from my CentOS 6 box, to a WinDoze box. The >> restore command is *not* user-friendly if you just want to restore a few >> files. And it gets weird.... First, I have to mark my path first - I >> don't just see it with ls. Then, when I do an ls, in >> c:/Users/<username/Documents/, it shows >> *MATLAB >> *My Music >> *My Pictures >> *My Videos >> *Visual Studio 2005/ >> *Visual Studio 2008/ >> *desktop.ini >> >> *None* of which are there. All that's there are teo files, testfile.bak >> and testfile.txt. MATLAB is in some other user's directory....<snip>> > My case may be irrelevant as what I have is: server: FreeBSD 9.3, bacula > 5, still here is what I have on the server side for Windows 7 client: > > bconsole > restore > 5 > [here I chose the client] > ... > > You are now entering file selection mode where you add (mark) and > remove (unmark) files to be restored. No files are initially added, unless > you used the "all" keyword on the command line. > Enter "done" to leave this mode. > > cwd is: / > > cd C:/Users/[username]/DocumentsI cannot do that until I either mark or (thanks for telling me about "add") that path. dir or ls shows zip until I do.> > dir<snip> And it's still the same - it does not show the two textfiles in the directory, it only shows directories that are *not* there. It's as though the index is screwed. mark
Ireneusz Piasecki
2015-Nov-25 20:00 UTC
[CentOS] OT: bareos, Windoze, beating head on wall
W dniu 24.11.2015 o 19:38, m.roth at 5-cent.us pisze:> Again, I'm posting here because when I tried their mailing list, I didn't > get much response.Hi. It's normal for bareos mailing list and bugtrac system. Bareos is paid support oriented (even opesourced), so don't expect so much help from them - when they could get some money for that (paid support). For me it was too hostilie env: bareos mailing list or bug track system - so i opted out (i reported some bugs in their bugtrac system) and now i'm with bareos problems on my own.> > I'm trying to do a restore, from my CentOS 6 box, to a WinDoze box. The > restore command is *not* user-friendly if you just want to restore a few > files. And it gets weird.... First, I have to mark my path first - I don't > just see it with ls. Then, when I do an ls, in > c:/Users/<username/Documents/, it shows > *MATLAB > *My Music > *My Pictures > *My Videos > *Visual Studio 2005/ > *Visual Studio 2008/ > *desktop.ini > > *None* of which are there. All that's there are teo files, testfile.bak > and testfile.txt. MATLAB is in some other user's directory.... > > Here's the fileset spec from bareos-dir.conf > FileSet { > Name = "citdcbhebronset" > Include { > Options { > Signature = MD5 # calculate md5 checksum per file > Ignore Case = yes > } > File = "c:/Users" > } > } > > Anyone have any clue as to what I'm doing wrong? Googling - a lot of it - > gives me 90% the bareos docs, and very little else. > > mark > >First look at content of archive in that date, when you excpected that files should be there. I use BAT for that (even that tools fails in some cases) - i use: list files on job. You can use BAT for search files, but with bareos ver. 15 BAT is working worse. Ten look careful, if you selected proper restore way (type of restore nad time frame). Maybe in selected time frame files where deleted ? I.Piasecki> _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos >
m.roth at 5-cent.us
2015-Nov-25 20:35 UTC
[CentOS] OT: bareos, Windoze, beating head on wall
Ireneusz Piasecki wrote:> W dniu 24.11.2015 o 19:38, m.roth at 5-cent.us pisze: >> Again, I'm posting here because when I tried their mailing list, I >> didn't get much response. > > It's normal for bareos mailing list and bugtrac system. Bareos is paid > support oriented (even opesourced), so don't expect so much help from > them - when they could get some money for that (paid support). For me it > was too hostilie env: bareos mailing list or bug track system - so i > opted out (i reported some bugs in their bugtrac system) and now i'm > with bareos problems on my own.Right - I was hoping other users on the list, like here, but nope. No even a second look by anyone.> >> >> I'm trying to do a restore, from my CentOS 6 box, to a WinDoze box. The >> restore command is *not* user-friendly if you just want to restore a few >> files. And it gets weird.... First, I have to mark my path first - I >> don't >> just see it with ls. Then, when I do an ls, in >> c:/Users/<username/Documents/, it shows >> *MATLAB >> *My Music >> *My Pictures >> *My Videos >> *Visual Studio 2005/ >> *Visual Studio 2008/ >> *desktop.ini >> >> *None* of which are there. All that's there are teo files, testfile.bak >> and testfile.txt. MATLAB is in some other user's directory....<snip>> First look at content of archive in that date, when you excpected that > files should be there. I use BAT for that (even that tools fails in some > cases) - i use: list files on job. You can use BAT for search files, but > with bareos ver. 15 BAT is working worse. > > Ten look careful, if you selected proper restore way (type of restore > nad time frame). Maybe in selected time frame files where deleted ?I've been looking in various ways, and I just checked another Windows system - this one is a single users (as opposed to a server), and it's the same: a) it seems to have completely flattened the directory structure, such that everything is visible in one directory, and b) not just from one user, but all of them. *sigh* I was just trying to restore one single file... but as I said, I can't even find it. mark