]>
git.sur5r.net Git - bacula/bacula/log
Marco van Wieringen [Fri, 16 Sep 2011 15:13:48 +0000 (17:13 +0200)]
On restore we don't have a full FF_PKT so we lstat the file.
Marco van Wieringen [Fri, 16 Sep 2011 14:16:04 +0000 (16:16 +0200)]
Tweak comments.
Marco van Wieringen [Fri, 16 Sep 2011 14:15:11 +0000 (16:15 +0200)]
Tweak comments.
Marco van Wieringen [Fri, 16 Sep 2011 14:03:05 +0000 (16:03 +0200)]
Add XATTR flags for backup and restore.
When the OS reports it doesn't support xattr we clear
either the SAVE or RESTORE native xattr flag. This way
we only test once if a particular filesystem has xattr
support and ignore it for any further file until we
switch filesystems.
Marco van Wieringen [Fri, 16 Sep 2011 12:50:32 +0000 (14:50 +0200)]
Add additional ACL flags for restore.
When we now encounter a restore error for an ACL due to the
fact ACL support is not enabled on a filesystem we clear
the BACL_FLAG_RESTORE_NATIVE flag so we don't try any other
restores of ACLs on the same filesystem. This saves us a
lot of overhead while we know if one fails due to no support
all the others will too. We do count the errors so the restore
report will show how many ACLs couldn't be restored. This same
algoritm is already implemented for saving ACLs.
Marco van Wieringen [Fri, 16 Sep 2011 11:41:55 +0000 (13:41 +0200)]
Lower some messages from level M_ERROR to M_WARNING.
Marco van Wieringen [Fri, 16 Sep 2011 08:36:19 +0000 (10:36 +0200)]
The world is cruel, you cannot trust manpages.
As it seems ENOTSUP is defined as EOPNOTSUPP on Linux. The manpages says
certain functions return ENOTSUP while they return EOPNOTSUPP because
the other doesn't really exist. So we have to do some more magic,
restored the old acl errno logic which is somewhat cleaner now
that everything except for IRIX seems to not adhere to POSIX and use
EOPNOTSUPP (which is according to POSIX only valid for a socket).
Added same kind of logic to xattr code as on OSX the xattr functions
are supposed to return ENOTSUP and not EOPNOTSUPP which Linux is
returning there. What a mess trying to write portable code when manpages
just cannot be trusted. Hopefully this is the end of it.
Marco van Wieringen [Thu, 15 Sep 2011 20:46:54 +0000 (22:46 +0200)]
Change error checking from os specific to generic.
As ENOSYS, ENOTSUP and EOPNOTSUPP are POSIX errors defined on all
platforms we no longer check for an OS specific error but allow
any of the 3 errors to give us the feedback that acls are not supported.
This is cleaner anyway.
Marco van Wieringen [Thu, 15 Sep 2011 20:39:18 +0000 (22:39 +0200)]
As it seems Linux doesn't comply to its own manpages.
It seems that xattr functions return EOPNOTSUPP as errno and not ENOTSUP
as they are supposed todo. As both errno are POSIX anyway we allow both.
EOPNOTSUPP is only valid as error on sockets but hey who cares about
standard like POSIX.
Marco van Wieringen [Thu, 15 Sep 2011 19:42:27 +0000 (21:42 +0200)]
Lower acl and xattr message from M_ERROR to M_WARNING
An restore or backup error of ACL or XATTR shouldn't set
the backup status to error but warnings should be issues
so the backup operator knows things are failing.
Eric Bollengier [Wed, 7 Sep 2011 20:56:04 +0000 (22:56 +0200)]
Fix spooldata and ignoreduplicates run command options to use JCR instead
of the Job resource.
Kern Sibbald [Sun, 4 Sep 2011 17:08:57 +0000 (19:08 +0200)]
Fix compile warnings
Eric Bollengier [Tue, 30 Aug 2011 12:18:44 +0000 (14:18 +0200)]
Fix #1761 about create_postgresql_database
Marco van Wieringen [Mon, 29 Aug 2011 20:18:01 +0000 (22:18 +0200)]
Tweak configure so output of openssl test is somewhat cleaner.
Eric Bollengier [Wed, 24 Aug 2011 12:08:19 +0000 (14:08 +0200)]
update configure
Eric Bollengier [Wed, 24 Aug 2011 12:08:10 +0000 (14:08 +0200)]
Tweak --htmldir and --docdir in configure
Eric Bollengier [Mon, 22 Aug 2011 07:42:47 +0000 (09:42 +0200)]
Update configure
Eric Bollengier [Mon, 22 Aug 2011 07:42:37 +0000 (09:42 +0200)]
Apply htmldir fix provided by Philipp
Kern Sibbald [Sat, 20 Aug 2011 12:47:11 +0000 (14:47 +0200)]
Fix possible buffer overrun in exchange plugin
Eric Bollengier [Wed, 17 Aug 2011 08:00:45 +0000 (10:00 +0200)]
Add help for "use" command as suggested by Thomas Mueller
Eric Bollengier [Wed, 17 Aug 2011 07:48:26 +0000 (09:48 +0200)]
Fix error message with bad dot commands
Marco van Wieringen [Tue, 16 Aug 2011 09:04:23 +0000 (11:04 +0200)]
Drop unused sqlite_dump function from make_catalog_backup.pl
Eric Bollengier [Tue, 16 Aug 2011 08:06:22 +0000 (10:06 +0200)]
Adapt make_catalog_backup.pl for backend
Eric Bollengier [Tue, 9 Aug 2011 14:34:30 +0000 (16:34 +0200)]
update configure
Eric Bollengier [Tue, 9 Aug 2011 14:33:35 +0000 (16:33 +0200)]
Fix backtrace detection in configure
Eric Bollengier [Mon, 8 Aug 2011 12:45:54 +0000 (14:45 +0200)]
Update ReleaseNotes
Kern Sibbald [Sat, 6 Aug 2011 19:28:09 +0000 (21:28 +0200)]
Make bat run dialog present only allowed levels
Kern Sibbald [Fri, 5 Aug 2011 15:42:21 +0000 (17:42 +0200)]
Fix bat seg fault in FileSet view
Eric Bollengier [Fri, 5 Aug 2011 10:25:01 +0000 (12:25 +0200)]
Update po
Eric Bollengier [Fri, 5 Aug 2011 09:50:50 +0000 (11:50 +0200)]
Change from win32bacula-5.2.x to bacula-win32-5.2.x for windows binary
Eric Bollengier [Thu, 4 Aug 2011 20:21:33 +0000 (22:21 +0200)]
Remove unused variable (g++ warnings)
Eric Bollengier [Thu, 4 Aug 2011 17:06:47 +0000 (19:06 +0200)]
Fix compilation problem with LZO patch
Eric Bollengier [Thu, 4 Aug 2011 17:55:46 +0000 (19:55 +0200)]
remove old functions
Eric Bollengier [Thu, 4 Aug 2011 14:23:38 +0000 (16:23 +0200)]
Update version
Eric Bollengier [Thu, 4 Aug 2011 14:18:32 +0000 (16:18 +0200)]
Tweak git2changelog script
Eric Bollengier [Thu, 4 Aug 2011 14:14:15 +0000 (16:14 +0200)]
Tweak release scripts
Eric Bollengier [Thu, 4 Aug 2011 09:29:03 +0000 (11:29 +0200)]
Update ReleaseNotes
Eric Bollengier [Wed, 3 Aug 2011 09:13:35 +0000 (11:13 +0200)]
update changelog
Marco van Wieringen [Wed, 3 Aug 2011 12:44:50 +0000 (14:44 +0200)]
Fix bug #1751 Make duplicate checking somewhat less naiv.
We were almost there with excluding duplicate checks for Copy and
Migration jobs. We only used the wrong variable. Now allocated a
new one and made the naming somewhat more comprehensible. And extra
check is added that jobs inserted by Migration and Copy and which
have the flag set are also not compared against normal jobs in the
normal canceling process so you should be able to run a copy job
now and start the normal backup job without it being canceled as
reported by alltech in the bug report.
Marco van Wieringen [Wed, 3 Aug 2011 08:03:51 +0000 (10:03 +0200)]
Add Allow Duplicate Jobs to copy-uncopied-test regression test for bug #1751
Davide Franco [Sun, 31 Jul 2011 09:21:15 +0000 (11:21 +0200)]
bacula-web: Removed buggy require_once in global.inc.php file (unused PEAR DB lib file)
Davide Franco [Mon, 25 Jul 2011 20:48:25 +0000 (22:48 +0200)]
bacula-web: Fixed bug and improved last know good backup jobs in client report's page
Davide Franco [Mon, 25 Jul 2011 20:21:57 +0000 (22:21 +0200)]
bacula-web: Renammed function Get_BackupJob_Names() in bweb class
- Function Get_BackupJob_Names() become getJobsName()
Davide Franco [Sun, 24 Jul 2011 16:55:24 +0000 (18:55 +0200)]
bacula-web: Added job endtime for last know good backup job in client report page
Davide Franco [Sun, 24 Jul 2011 10:58:37 +0000 (12:58 +0200)]
bacula-web: Added statistics graphs into client report page
Davide Franco [Sun, 24 Jul 2011 10:57:38 +0000 (12:57 +0200)]
bacula-web: Added value to job report option
Davide Franco [Sun, 24 Jul 2011 10:25:05 +0000 (12:25 +0200)]
bacula-web: Improved code in CGraph class
- Changed angle for X axis with bars graph
Davide Franco [Sun, 24 Jul 2011 10:22:04 +0000 (12:22 +0200)]
bacula-web: New parameter client for getStoredFiles() function in bweb class
Davide Franco [Sun, 24 Jul 2011 10:20:02 +0000 (12:20 +0200)]
bacula-web: Changed period for last jobs to 1 week
Davide Franco [Sun, 24 Jul 2011 09:37:49 +0000 (11:37 +0200)]
bacula-web: New parameter client for getStoredBytes() function in bweb class
Davide Franco [Sun, 24 Jul 2011 09:11:49 +0000 (11:11 +0200)]
bacula-web: Few css class modifications
Davide Franco [Sun, 24 Jul 2011 09:11:00 +0000 (11:11 +0200)]
bacula-web: Updated INSTALL file
Davide Franco [Sun, 24 Jul 2011 09:10:20 +0000 (11:10 +0200)]
bacula-web: Updated README file
Davide Franco [Sun, 24 Jul 2011 09:08:29 +0000 (11:08 +0200)]
bacula-web: Added last know good backup job to client report
- Fixed some typo in template
- Fixed code indentation
Davide Franco [Sun, 24 Jul 2011 09:05:13 +0000 (11:05 +0200)]
bacula-web: Disabled some report options in main dashboard
Davide Franco [Sun, 24 Jul 2011 07:47:33 +0000 (09:47 +0200)]
bacula-web: Improved jobs start and end time display
- Show N/A if the job not yet start or currently running
- Show N/A in elapsed time if the job not yet started
Davide Franco [Sun, 24 Jul 2011 07:46:03 +0000 (09:46 +0200)]
bacula-web: Fixed bug for pgsql in job elasped time calculation
Davide Franco [Sun, 24 Jul 2011 07:27:49 +0000 (09:27 +0200)]
bacula-web: Job files more lisible in jobs page (jobs list)
Davide Franco [Sun, 24 Jul 2011 07:26:00 +0000 (09:26 +0200)]
bacula-web: Improved sql statment for last used volumes in main dashboard
Davide Franco [Sat, 23 Jul 2011 14:01:38 +0000 (16:01 +0200)]
bacula-web: html and css improvments in all pages
Davide Franco [Sat, 23 Jul 2011 08:54:00 +0000 (10:54 +0200)]
bacula-web: Added client information on client report page
Davide Franco [Sat, 23 Jul 2011 08:52:45 +0000 (10:52 +0200)]
bacula-web: New getClientInfos() function in bweb class
Davide Franco [Sat, 23 Jul 2011 07:56:01 +0000 (09:56 +0200)]
bacula-web: Renammed GetDbSize() to getDatabaseSize() in bweb class
Davide Franco [Fri, 22 Jul 2011 17:15:35 +0000 (19:15 +0200)]
bacula-web: Added title to volume list headers and fixed header label
Davide Franco [Fri, 22 Jul 2011 16:55:24 +0000 (18:55 +0200)]
bacula-web: Improved last 10 used volumes in main dashboard
Davide Franco [Fri, 22 Jul 2011 13:18:46 +0000 (15:18 +0200)]
bacula-web: New INSTALL file
Davide Franco [Thu, 21 Jul 2011 16:29:55 +0000 (18:29 +0200)]
bacula-web: Some improvments on html and css code
Davide Franco [Thu, 21 Jul 2011 16:18:39 +0000 (18:18 +0200)]
bacula-web: New column job type in jobs list
Davide Franco [Thu, 21 Jul 2011 16:08:02 +0000 (18:08 +0200)]
bacula-web: Fixed html and css code in main dashboard
Davide Franco [Thu, 21 Jul 2011 15:58:52 +0000 (17:58 +0200)]
bacula-web: clients list added to report form in main dashboard
Davide Franco [Thu, 21 Jul 2011 15:57:47 +0000 (17:57 +0200)]
bacula-web: New getClients() function in bweb class
- getClients() return an array with (clientid and name)
- Fixed function visibility declarations
- Removed useless code
Davide Franco [Wed, 20 Jul 2011 17:13:42 +0000 (19:13 +0200)]
bacula-web: Renammed Chttp class functions call to ChttpRequest class
Davide Franco [Wed, 20 Jul 2011 17:06:20 +0000 (19:06 +0200)]
bacula-web: Changed filename in global config file for CHttpRequest class
Davide Franco [Wed, 20 Jul 2011 17:03:19 +0000 (19:03 +0200)]
bacula-web: Renammed Chttp class to ChttpRequest
Davide Franco [Wed, 20 Jul 2011 17:01:16 +0000 (19:01 +0200)]
bacula-web: Renammed file chttp.class.php by chttprequest.class.php
Davide Franco [Wed, 20 Jul 2011 16:59:30 +0000 (18:59 +0200)]
bacula-web: Replaced all $_POST by safe values in bweb class
Davide Franco [Wed, 20 Jul 2011 16:59:07 +0000 (18:59 +0200)]
bacula-web: Replaced all $_POST and $_GET by safe values in backup job report page
Davide Franco [Wed, 20 Jul 2011 16:43:39 +0000 (18:43 +0200)]
bacula-web: Replaced all $_POST by safe value in jobs page
Davide Franco [Wed, 20 Jul 2011 16:43:09 +0000 (18:43 +0200)]
bacula-web: Optmized getRequestVars() function in Chhtp class
Davide Franco [Wed, 20 Jul 2011 07:55:03 +0000 (09:55 +0200)]
bacula-web: Added path for Chttp class in global.inc.php
Davide Franco [Mon, 18 Jul 2011 08:00:09 +0000 (10:00 +0200)]
bacula-web: New chhtp php class
Davide Franco [Mon, 18 Jul 2011 07:44:32 +0000 (09:44 +0200)]
bacula-web: Added PDO connection option for mysql driver
Davide Franco [Mon, 18 Jul 2011 07:30:39 +0000 (09:30 +0200)]
Revert "bacula-web: New chhtp php class"
This reverts commit
93e33816e28bd1be5bfc91412a5b2213679915be .
Davide Franco [Mon, 18 Jul 2011 07:26:20 +0000 (09:26 +0200)]
bacula-web: Added option to PDO database connection
Davide Franco [Mon, 18 Jul 2011 06:00:25 +0000 (08:00 +0200)]
bacula-web: New chhtp php class
Davide Franco [Mon, 18 Jul 2011 05:41:48 +0000 (07:41 +0200)]
bacula-web: Removed useless DB extend for bweb class
Davide Franco [Sun, 17 Jul 2011 20:41:17 +0000 (22:41 +0200)]
bacula-web: Removed unused code in index.php
Davide Franco [Sun, 17 Jul 2011 20:39:27 +0000 (22:39 +0200)]
bacula-web: Removed useless Get_Dsn() function in Config class
Davide Franco [Sun, 17 Jul 2011 20:38:18 +0000 (22:38 +0200)]
bacula-web: Removed useless code in bweb class
Davide Franco [Sun, 17 Jul 2011 20:29:20 +0000 (22:29 +0200)]
bacula-web: bacula-web: Replaced old PEAR code by new CDB class in jobs page
- Fixed code indentation
Davide Franco [Sun, 17 Jul 2011 20:20:11 +0000 (22:20 +0200)]
bacula-web: Replaced old PEAR code by new CDB class in jobs page
Davide Franco [Sun, 17 Jul 2011 20:04:34 +0000 (22:04 +0200)]
bacula-web: Usage of new CDB PDO class instead of PEAR DB (major commit)
- Replaced PEAR DB code by CDB class in index.php and bweb.inc.php
- Improved code in GetVolumeList() function
- Fixed code indentation
Davide Franco [Sun, 17 Jul 2011 20:01:45 +0000 (22:01 +0200)]
bacula-web: Fixed small bug and removed useless code in CDB class
- Removed TriggerDBError() function
- Removed getResult() function
- Removed old unused code
Davide Franco [Sun, 17 Jul 2011 19:59:15 +0000 (21:59 +0200)]
bacula-web: New raiseError() function in CDBError class
Davide Franco [Sun, 17 Jul 2011 19:57:28 +0000 (21:57 +0200)]
bacula-web: New getUser() and getPwd() functions in Config class
Davide Franco [Sun, 17 Jul 2011 19:55:52 +0000 (21:55 +0200)]
bacula-web: Added new classes paths
Davide Franco [Sun, 17 Jul 2011 17:12:51 +0000 (19:12 +0200)]
bacula-web: Fixed code indentation
Davide Franco [Fri, 15 Jul 2011 15:57:57 +0000 (17:57 +0200)]
bacula-web: New getDriver() function in CDB class
Davide Franco [Fri, 15 Jul 2011 13:59:21 +0000 (15:59 +0200)]
bacula-web: New functions implementation in CDB class
Davide Franco [Fri, 15 Jul 2011 13:58:36 +0000 (15:58 +0200)]
bacula-web: New classes files CDBError and CDBResult in includes/db