[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bacula-devel] accurate restore problem


Hello,

i am running the bacula svn version since 4 weeks,
i also did a couple of "svn up" + "make install".
(thats why i post here)

today i did a restore of /usr on my pc for testing.
restore job runs fine, then i compared the result

$ find /bacula-restores/usr/ |wc -l
151118

$ find /usr/ |wc -l
150841

i did not run "apt-get update" or something like
that, so i am pretty sure /usr is modified sice
last backup tonight.

i thought "accurate backup/restore" is implemented
in the current svn version,  but i looks bacula
restores deleted files.

is there anything to configure for "accurate backup/restore" ?

thanks
ulrich



here is my bconsole output for the file selection:

ulrich@leodolter:~$ bconsole 
Connecting to Director troll.obvsg.at:9101
1000 OK: troll-dir Version: 2.5.1 (18 June 2008)
Enter a period to cancel a command.
*restore
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"

First you select one or more JobIds that contain files
to be restored. You will be presented several methods
of specifying the JobIds. Then you will be allowed to
select which files from those JobIds are to be restored.

To select the JobIds, you have the following choices:
     1: List last 20 Jobs run
     2: List Jobs where a given File is saved
     3: Enter list of comma separated JobIds to select
     4: Enter SQL list command
     5: Select the most recent backup for a client
     6: Select backup for a client before a specified time
     7: Enter a list of files to restore
     8: Enter a list of files to restore before a specified time
     9: Find the JobIds of the most recent backup for a client
    10: Find the JobIds for a backup for a client before a specified
time
    11: Enter a list of directories to restore for found JobIds
    12: Cancel
Select item:  (1-12): 5
Automatically selected Client: leodolter-fd
The defined FileSet resources are:
     1: FullLinuxSet
     2: leodolter-home
Select FileSet resource (1-2): 1
+-------+-------+----------+---------------+---------------------+-------------+
| JobId | Level | JobFiles | JobBytes      | StartTime           |
VolumeName  |
+-------+-------+----------+---------------+---------------------+-------------+
|   675 | F     |  167,664 | 1,977,600,040 | 2008-06-15 02:05:01 |
Backup-0035 |
|   675 | F     |  167,664 | 1,977,600,040 | 2008-06-15 02:05:01 |
Backup-0036 |
|   675 | F     |  167,664 | 1,977,600,040 | 2008-06-15 02:05:01 |
Backup-0037 |
|   675 | F     |  167,664 | 1,977,600,040 | 2008-06-15 02:05:01 |
Backup-0038 |
|   675 | F     |  167,664 | 1,977,600,040 | 2008-06-15 02:05:01 |
Backup-0039 |
|   675 | F     |  167,664 | 1,977,600,040 | 2008-06-15 02:05:01 |
Backup-0040 |
|   675 | F     |  167,664 | 1,977,600,040 | 2008-06-15 02:05:01 |
Backup-0041 |
|   675 | F     |  167,664 | 1,977,600,040 | 2008-06-15 02:05:01 |
Backup-0042 |
|   675 | F     |  167,664 | 1,977,600,040 | 2008-06-15 02:05:01 |
Backup-0043 |
|   675 | F     |  167,664 | 1,977,600,040 | 2008-06-15 02:05:01 |
Backup-0044 |
|   703 | I     |      229 |    22,913,060 | 2008-06-16 02:05:00 |
Backup-0110 |
|   725 | I     |      229 |    22,938,756 | 2008-06-16 02:05:00 |
BAC.001     |
|   731 | I     |    6,684 |   148,319,016 | 2008-06-17 02:05:01 |
Backup-0110 |
|   745 | I     |    6,684 |   149,218,636 | 2008-06-17 02:05:01 |
BAC.001     |
|   759 | I     |    1,207 |    45,679,054 | 2008-06-18 02:05:00 |
Backup-0067 |
|   759 | I     |    1,207 |    45,679,054 | 2008-06-18 02:05:00 |
Backup-0110 |
|   773 | I     |    1,207 |    45,832,438 | 2008-06-18 02:05:00 |
BAC.001     |
|   787 | I     |    2,208 |    70,229,178 | 2008-06-19 02:05:00 |
Backup-0067 |
|   787 | I     |    2,208 |    70,229,178 | 2008-06-19 02:05:00 |
Backup-0068 |
|   801 | I     |    2,208 |    70,513,318 | 2008-06-19 02:05:00 |
BAC.001     |
|   815 | I     |      234 |    19,118,657 | 2008-06-20 02:05:00 |
Backup-0068 |
|   829 | I     |      234 |    19,144,410 | 2008-06-20 02:05:00 |
BAC.001     |
+-------+-------+----------+---------------+---------------------+-------------+
You have selected the following JobIds:
675,703,725,731,745,759,773,787,801,815,829

Building directory tree for JobId(s)
675,703,725,731,745,759,773,787,801,815,829 ...
+++++++++++++++++++++++++++++++++++++++++++++++++
166,813 files inserted into the tree.

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: /
$ mark usr
151,118 files marked.





-- 
Ulrich Leodolter <ulrich.leodolter@xxxxxxxx>
OBVSG


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bacula-devel mailing list
Bacula-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/bacula-devel


This mailing list archive is a service of Copilotco.