Changesets: bareos
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 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 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 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 Ported: N/A Details Diff |
Fix typo. | ||
mod - src/dird/dird.c | Diff File | ||
bareos-14.2 8735c0b9 2014-12-01 14:18 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 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 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 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 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 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 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 Ported: N/A Details Diff |
Fix enum values. | ||
mod - src/include/fileopts.h | Diff File | ||
bareos-14.2 d9a2cec2 2014-11-29 20:13 Ported: N/A Details Diff |
Fix enum values. | ||
mod - src/include/fileopts.h | Diff File | ||
master b20fd360 2014-11-29 20:03 Ported: N/A Details Diff |
Update copyright. | ||
mod - src/win32/plugins/filed/mssqlvdi-fd.c | Diff File | ||
master 5f11f193 2014-11-28 21:56 Philipp Storz Committer: Marco van Wieringen Ported: N/A Details Diff |
New individual Icons for windows binaries | ||
add - platforms/win32/bareosdir.ico | Diff File | ||
add - platforms/win32/bareosfd.ico | Diff File | ||
add - platforms/win32/bareossd.ico | Diff File | ||
add - platforms/win32/bareostools.ico | Diff File | ||
add - platforms/win32/bconsole.ico | Diff File | ||
add - platforms/win32/bsmtp.ico | Diff File | ||
add - platforms/win32/traymon.ico | Diff File | ||
mod - src/win32/Makefile | Diff File | ||
mod - src/win32/console/consoleres.rc.in | Diff File | ||
mod - src/win32/dird/Makefile | Diff File | ||
mod - src/win32/dird/dbcheckres.rc.in | Diff File | ||
mod - src/win32/dird/dirdres.rc.in | Diff File | ||
mod - src/win32/filed/filedres.rc.in | Diff File | ||
mod - src/win32/qt-tray-monitor/traymon.rc.in | Diff File | ||
mod - src/win32/stored/Makefile | Diff File | ||
add - src/win32/stored/bextractres.rc.in | Diff File | ||
add - src/win32/stored/blsres.rc.in | Diff File | ||
add - src/win32/stored/btaperes.rc.in | Diff File | ||
mod - src/win32/stored/storedres.rc.in | Diff File | ||
mod - src/win32/tools/bsmtpres.rc.in | Diff File | ||
master e8399641 2014-11-28 20:56 Ported: N/A Details Diff |
New individual Icons for windows binaries | ||
add - platforms/win32/bareosdir.ico | Diff File | ||
add - platforms/win32/bareosfd.ico | Diff File | ||
add - platforms/win32/bareossd.ico | Diff File | ||
add - platforms/win32/bareostools.ico | Diff File | ||
add - platforms/win32/bconsole.ico | Diff File | ||
add - platforms/win32/bsmtp.ico | Diff File | ||
add - platforms/win32/traymon.ico | Diff File | ||
mod - src/win32/Makefile | Diff File | ||
mod - src/win32/console/consoleres.rc.in | Diff File | ||
mod - src/win32/dird/Makefile | Diff File | ||
mod - src/win32/dird/dbcheckres.rc.in | Diff File | ||
mod - src/win32/dird/dirdres.rc.in | Diff File | ||
mod - src/win32/filed/filedres.rc.in | Diff File | ||
mod - src/win32/qt-tray-monitor/traymon.rc.in | Diff File | ||
mod - src/win32/stored/Makefile | Diff File | ||
add - src/win32/stored/bextractres.rc.in | Diff File | ||
add - src/win32/stored/blsres.rc.in | Diff File | ||
add - src/win32/stored/btaperes.rc.in | Diff File | ||
mod - src/win32/stored/storedres.rc.in | Diff File | ||
mod - src/win32/tools/bsmtpres.rc.in | Diff File |