Hi.
I have done incremental backup. In Job report i can see, that 219 files
were written (FD and SD):
JobId: 307
Job: BackupZeus.2014-12-29_21.30.00_03
Backup Level: Incremental, since=2014-12-28 17:59:01
Client: "zeus-fd" 14.2.2 (12Dec14) Microsoft Windows Server
2008 Standard Edition Service Pack 2 (build 6002), 64-bit,Cross-compile,Win64
FileSet: "ZeusFileSet" 2014-11-20 13:53:29
Pool: "Inc-Zeus" (From Job IncPool override)
Catalog: "MyCatalog" (From Client resource)
Storage: "posejdon-sd-Zeus" (From Pool resource)
Scheduled time: 29-gru-2014 21:30:00
Start time: 29-gru-2014 21:30:06
End time: 29-gru-2014 21:36:40
Elapsed time: 6 mins 34 secs
Priority: 10
FD Files Written: 219
SD Files Written: 219
FD Bytes Written: 5,818,250,517 (5.818 GB)
SD Bytes Written: 5,818,295,146 (5.818 GB)
Then i make simple mysql query on bareos database:
mysql> select count(*) from File where JobId=307;
+----------+
| count(*) |
+----------+
| 218 |
+----------+
1 row in set (0.00 sec)
So - there is 218 files, one file is missing ? Or ?
More.
I made in bconsole:
list files jobid=307
That gives mi list of 218 files. At the end there is:
+-------+------------+---------------------+------+-------+----------+---------------+-----------+
| JobId | Name | StartTime | Type | Level | JobFiles |
JobBytes | JobStatus |
+-------+------------+---------------------+------+-------+----------+---------------+-----------+
| 307 | BackupZeus | 2014-12-29 21:30:06 | B | I | 219 |
5,818,250,517 | T |
+-------+------------+---------------------+------+-------+----------+---------------+-----------+
But, when i want restore all files only from JobID 307 - in bconsole
selected option 3 when restore:
3: Enter list of comma separated JobIds to select
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: Select full restore to a specified Job date
13: Cancel
Select item: (1-13): 3
Enter JobId(s), comma separated, to restore: 307
You have selected the following JobId: 307
Building directory tree for JobId(s) 307 ...
++++++++++++++++++++++++++++++++++
170 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: /
$ select *
Invalid command "select *". Enter "done" to exit.
$ mark *
173 files marked.
So why bareos shows me files 218 - 219(?), that wehere backed up, but i
can't restore all files from exactly this JobID. I expected to restore
all files from this job. Bareos inserts 170 files into the tree.
Accurate job is on.
Ireneusz Piasecki
--
You received this message because you are subscribed to the Google Groups
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.