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@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.
mark
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]/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 ++++++++++++++++++++++++++++++++++++++++
Valeri Galtsev wrote:
On Tue, November 24, 2015 12:38 pm, m.roth@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]/Documents
I 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
On Tue, November 24, 2015 2:24 pm, m.roth@5-cent.us wrote:
Valeri Galtsev wrote:
On Tue, November 24, 2015 12:38 pm, m.roth@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]/Documents
I 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.
Potential differences:
bareos instead of bacula
my version is 5 (bacula 7 is current; I'm not certain if it has usable Win client though - didn't check lately).
If I were to speculate I would say that what you see may come from "too much work" done on client side, like packing whole directories ("folders" as I should have used MS windows language), and sending the whole thing to backup server, but I most likely will be wrong about that as: the stuff that walks you trough directory tree comes from database, which is filled I bet by director (receiving infor. from fd), no matter that files are being sent by fd to sd. Anyway, I would try to remove compression wherever it is configured and see if that makes any difference.
But you probably need bareos _expert_, not just bacula _user_ to find the solution.
Incidentally, what happens if you request to restore all ("add all" will be the only command you need, then say "done").
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 ++++++++++++++++++++++++++++++++++++++++
W dniu 24.11.2015 o 19:38, m.roth@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@centos.org https://lists.centos.org/mailman/listinfo/centos
Ireneusz Piasecki wrote:
W dniu 24.11.2015 o 19:38, m.roth@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
W dniu 25.11.2015 o 21:35, m.roth@5-cent.us pisze:
Ireneusz Piasecki wrote:
W dniu 24.11.2015 o 19:38, m.roth@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.
Try restore bareos database from archive file, or use bareos bootstrap file to restore all files from single archive job. Look into bareos doc, you find samples, how restore files, when bareos database is broken. Maybe try this. I'm busy now, get sign how things are going.
IP
mark
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
W dniu 25.11.2015 o 21:35, m.roth@5-cent.us pisze:
[...] I was just trying to restore one single file... but as I said, I can't even find it.
Sample to restore from volume with bootstrap file using bextract:
bextract -i files.list -V FullCatalog-0 -b b.file FileStorage /storage2/BareosRestores/tmp
Above command extract files (includes files in file.list) from volume FullCatalog-0 using bootstrap file b.file using bareos device FileStorage (this device made backup in storage demon of bareos)
b.file - bootstrap file looks like:
# 15-lis-2015 18:30:19 - BackupCatalog.2015-11-15_18.30.00_20 - Full Volume="FullCatalog-3" MediaType="File" VolSessionId=18 VolSessionTime=1447169558 VolAddr=197032727-236689774 FileIndex=1-13
When you don't use bootstrap file, then the same files were overwritten.
IP
mark
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos