Changesets: bareos

master 8184f63c

2014-12-03 11:32

Oleg Livshyts


Committer: Marco van Wieringen

Ported: N/A

Details Diff
We now support symlink-like objects on windows

Support was added for the following types of symlinks:
- Symlinks on Files
- Symlinks on Directories
- Junction Points

These are implemented in windows as Reparse Points.

All these objects are treated like ordinary symlinks
(FT_LNK) in bareos, also Junction Points and Symlinks on
Directories which are directories in windows logic.

The Information on what kind of symlink-like object we have
is stored in the st_rdev member of the stat information.

There we have now
- FILE_ATTRIBUTES_JUNCTION_POINT
- FILE_ATTRIBUTES_SYMBOLIC_LINK

During Backup, the function "get_symlink_data" gets the information
where the symlink/junction/volume mount points points to.

During restore, the function "symlink" creates the symlink-like object.
To be able to determine what kind of "symlink" needs to be created, it
also gets the st_rdev information.

Depending on what kind of symlink it needs to create it either calls
the windows api function "CreateSymbolicLink" or the self-implemented
Function "CreateJunction"

The symlink target is not altered during restore, even if it is
restored with a prefix (where), because this makes absolute links
unusable.

Fixes 0000314: On Windows 2008 and Windows 2012 the junction points / links
are not backed up properly

Signed-off-by: Philipp Storz <philipp.storz@bareos.com>
Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - src/filed/backup.c Diff File
mod - src/findlib/create_file.c Diff File
mod - src/findlib/find_one.c Diff File
mod - src/findlib/mkpath.c Diff File
mod - src/lib/attr.c Diff File
mod - src/win32/compat/compat.c Diff File
mod - src/win32/compat/include/compat.h Diff File

master b6199620

2014-12-03 11:05

Marco van Wieringen

Ported: N/A

Details Diff
Rebuild configure.
mod - configure Diff File

master 02562b08

2014-12-03 10:32

Oleg Livshyts


Committer: mvwieringen

Ported: N/A

Details Diff
Automatic detection of volume mount points

Volume Mount Points are now automatically detected.

If we detect a volume mount point, we check wich volume is
mounted there and add it to the snapshotset.

If the volume is not already in the snapshotset, we add it and
check if the new volume also has volume mount points.

The total number of volume mount points and the number of volume mount
point volumes added to the snapshotset is reported, if VMPs exist.

Signed-off-by: Philipp Storz <philipp.storz@bareos.com>
Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - src/filed/dir_cmd.c Diff File
mod - src/findlib/find_one.c Diff File
mod - src/findlib/protos.h Diff File
mod - src/win32/filed/vss_generic.c Diff File
mod - src/win32/findlib/win32.c Diff File
mod - src/win32/include/vss.h Diff File

bareos-14.2 72e6e544

2014-12-03 10:32

Oleg Livshyts


Committer: mvwieringen

Ported: N/A

Details Diff
Automatic detection of volume mount points

Volume Mount Points are now automatically detected.

If we detect a volume mount point, we check wich volume is
mounted there and add it to the snapshotset.

If the volume is not already in the snapshotset, we add it and
check if the new volume also has volume mount points.

The total number of volume mount points and the number of volume mount
point volumes added to the snapshotset is reported, if VMPs exist.

Signed-off-by: Philipp Storz <philipp.storz@bareos.com>
Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - src/filed/dir_cmd.c Diff File
mod - src/findlib/find_one.c Diff File
mod - src/findlib/protos.h Diff File
mod - src/win32/filed/vss_generic.c Diff File
mod - src/win32/findlib/win32.c Diff File
mod - src/win32/include/vss.h Diff File

master fdbd74c5

2014-12-03 10:32

Oleg Livshyts


Committer: mvwieringen

Ported: N/A

Details Diff
We now support symlink-like objects on windows

Support was added for the following types of symlinks:
- Symlinks on Files
- Symlinks on Directories
- Junction Points

These are implemented in windows as Reparse Points.

All these objects are treated like ordinary symlinks
(FT_LNK) in bareos, also Junction Points and Symlinks on
Directories which are directories in windows logic.

The Information on what kind of symlink-like object we have
is stored in the st_rdev member of the stat information.

There we have now
- FILE_ATTRIBUTES_JUNCTION_POINT
- FILE_ATTRIBUTES_SYMBOLIC_LINK

During Backup, the function "get_symlink_data" gets the information
where the symlink/junction/volume mount points points to.

During restore, the function "symlink" creates the symlink-like object.
To be able to determine what kind of "symlink" needs to be created, it
also gets the st_rdev information.

Depending on what kind of symlink it needs to create it either calls
the windows api function "CreateSymbolicLink" or the self-implemented
Function "CreateJunction"

The symlink target is not altered during restore, even if it is
restored with a prefix (where), because this makes absolute links
unusable.

Fixes 0000314: On Windows 2008 and Windows 2012 the junction points / links
are not backed up properly

Signed-off-by: Philipp Storz <philipp.storz@bareos.com>
Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Affected Issues
0000314
mod - src/filed/backup.c Diff File
mod - src/findlib/create_file.c Diff File
mod - src/findlib/find_one.c Diff File
mod - src/findlib/mkpath.c Diff File
mod - src/lib/attr.c Diff File
mod - src/win32/compat/compat.c Diff File
mod - src/win32/compat/include/compat.h Diff File

bareos-14.2 fa6f6097

2014-12-03 10:32

Oleg Livshyts


Committer: mvwieringen

Ported: N/A

Details Diff
We now support symlink-like objects on windows

Support was added for the following types of symlinks:
- Symlinks on Files
- Symlinks on Directories
- Junction Points

These are implemented in windows as Reparse Points.

All these objects are treated like ordinary symlinks
(FT_LNK) in bareos, also Junction Points and Symlinks on
Directories which are directories in windows logic.

The Information on what kind of symlink-like object we have
is stored in the st_rdev member of the stat information.

There we have now
- FILE_ATTRIBUTES_JUNCTION_POINT
- FILE_ATTRIBUTES_SYMBOLIC_LINK

During Backup, the function "get_symlink_data" gets the information
where the symlink/junction/volume mount points points to.

During restore, the function "symlink" creates the symlink-like object.
To be able to determine what kind of "symlink" needs to be created, it
also gets the st_rdev information.

Depending on what kind of symlink it needs to create it either calls
the windows api function "CreateSymbolicLink" or the self-implemented
Function "CreateJunction"

The symlink target is not altered during restore, even if it is
restored with a prefix (where), because this makes absolute links
unusable.

Fixes 0000314: On Windows 2008 and Windows 2012 the junction points / links
are not backed up properly

Signed-off-by: Philipp Storz <philipp.storz@bareos.com>
Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Affected Issues
0000314
mod - src/filed/backup.c Diff File
mod - src/findlib/create_file.c Diff File
mod - src/findlib/find_one.c Diff File
mod - src/findlib/mkpath.c Diff File
mod - src/lib/attr.c Diff File
mod - src/win32/compat/compat.c Diff File
mod - src/win32/compat/include/compat.h Diff File

master ceb9f6a0

2014-12-03 10:05

mvwieringen

Ported: N/A

Details Diff
Rebuild configure.
mod - configure Diff File

master fcf00256

2014-12-01 15:30

Marco van Wieringen

Ported: N/A

Details Diff
Remove some unused config keywords.
mod - src/dird/dird_conf.c Diff File
mod - src/dird/dird_conf.h Diff File

master f3c25622

2014-12-01 15:18

Marco van Wieringen

Ported: N/A

Details Diff
Fix typo.
mod - src/dird/dird.c Diff File

master d04b0b7a

2014-12-01 14:30

mvwieringen

Ported: N/A

Details Diff
Remove some unused config keywords.
mod - src/dird/dird_conf.c Diff File
mod - src/dird/dird_conf.h Diff File

bareos-14.2 b4590353

2014-12-01 14:30

mvwieringen

Ported: N/A

Details Diff
Remove some unused config keywords.
mod - src/dird/dird_conf.c Diff File
mod - src/dird/dird_conf.h Diff File

master 9f4f17bd

2014-12-01 14:18

mvwieringen

Ported: N/A

Details Diff
Fix typo.
mod - src/dird/dird.c Diff File

bareos-14.2 8735c0b9

2014-12-01 14:18

mvwieringen

Ported: N/A

Details Diff
Fix typo.
mod - src/dird/dird.c Diff File

master 61bd5492

2014-12-01 11:41

Marco van Wieringen

Ported: N/A

Details Diff
Upstreamed patch for elasto headers.
mod - src/stored/backends/elasto_device.h Diff File

master bdbe5461

2014-12-01 10:41

mvwieringen

Ported: N/A

Details Diff
Upstreamed patch for elasto headers.
mod - src/stored/backends/elasto_device.h Diff File

bareos-14.2 aeb1b64a

2014-11-30 15:49

mvwieringen

Ported: N/A

Details Diff
Backport change for cephfs storage device.
mod - src/stored/backends/cephfs_device.c Diff File

master 49e77003

2014-11-30 15:35

Marco van Wieringen

Ported: N/A

Details Diff
Disable elasto storage devices for now.

Until we crack the problem of writing/reading to Azure using the
libelasto_file library disable the use of these kind of devices.
mod - src/stored/backends/elasto_device.c Diff File

master 9ed12308

2014-11-30 15:34

Marco van Wieringen

Ported: N/A

Details Diff
Disable object storage devices for now.

Until we crack the problem of writing/reading to S3 using the droplet
library disable the use of these kind of devices.
mod - src/stored/backends/object_store_device.c Diff File

master f09d5cf0

2014-11-30 14:35

mvwieringen

Ported: N/A

Details Diff
Disable elasto storage devices for now.

Until we crack the problem of writing/reading to Azure using the
libelasto_file library disable the use of these kind of devices.
mod - src/stored/backends/elasto_device.c Diff File

master a1ee16ec

2014-11-30 14:34

mvwieringen

Ported: N/A

Details Diff
Disable object storage devices for now.

Until we crack the problem of writing/reading to S3 using the droplet
library disable the use of these kind of devices.
mod - src/stored/backends/object_store_device.c Diff File

bareos-14.2 23dd604e

2014-11-30 14:34

mvwieringen

Ported: N/A

Details Diff
Disable object storage devices for now.

Until we crack the problem of writing/reading to S3 using the droplet
library disable the use of these kind of devices.
mod - src/stored/backends/object_store_device.c Diff File

master c959bddd

2014-11-30 11:40

mvwieringen

Ported: N/A

Details Diff
First attempt at fixing some strange behaviour.

3307 Issuing autochanger "unload slot 6, drive 0" command.
No slot defined in catalog (slot=0) for Volume "XXXX"
Cartridge change or "update slots" may be required.
Warning: mount.c:207 Open device ... ERR=I/O error
...
No slot defined in catalog (slot=0) for Volume "XXXX"
Cartridge change or "update slots" may be required.
Warning: mount.c:207 Open device

Please mount append Volume "XXXX" or label a new one for:

Fixes 0000369: Autochanger tries to load volume that is not in autochanger.
Affected Issues
0000369
mod - src/stored/autochanger.c Diff File
mod - src/stored/mount.c Diff File

master 9f2b15cf

2014-11-29 21:13

Marco van Wieringen

Ported: N/A

Details Diff
Fix enum values.
mod - src/include/fileopts.h Diff File

master 777e28bf

2014-11-29 21:03

Marco van Wieringen

Ported: N/A

Details Diff
Update copyright.
mod - src/win32/plugins/filed/mssqlvdi-fd.c Diff File

master cba47ebf

2014-11-29 20:13

mvwieringen

Ported: N/A

Details Diff
Fix enum values.
mod - src/include/fileopts.h Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 510 511 512 513 514 515 516 ... 540 ... 600 ... 607 608 609  Next  Last