2013-11-02 18:55:17 +01:00
|
|
|
KNOWN ISSUES
|
|
|
|
------------
|
2013-06-14 22:39:11 +02:00
|
|
|
|
2013-11-02 18:55:17 +01:00
|
|
|
- Backup size check does not honor rsync exclude patterns
|
2017-01-04 09:14:21 +01:00
|
|
|
- Encryption does not honor rsync exclude patterns
|
2013-11-02 18:55:17 +01:00
|
|
|
- Bandwidth parameter is ignored for SQL backups
|
|
|
|
- Missing symlink support when run from MSYS environment
|
|
|
|
|
2015-11-12 01:26:38 +01:00
|
|
|
CHANGELOG
|
|
|
|
---------
|
2014-11-24 10:28:23 +01:00
|
|
|
|
2019-05-21 12:15:46 +02:00
|
|
|
dd Mmm YYYY: obackup v2.1 RC2 released
|
|
|
|
--------------------------------------
|
|
|
|
|
|
|
|
- Added a default required config file revision
|
2019-05-21 12:18:00 +02:00
|
|
|
- ! Update script updated accordingly
|
2019-05-21 12:15:46 +02:00
|
|
|
- Updated ofunctions to use booleans instead of yes/no syntax which still works
|
|
|
|
- Fixed verbose rsync output not working
|
2019-08-09 10:34:17 +02:00
|
|
|
- Fixed a potential bash buffer overflow when very large file lists are logged
|
2019-05-21 12:15:46 +02:00
|
|
|
|
2019-01-03 10:08:00 +01:00
|
|
|
03 Jan 2019: obackup v2.1 RC1 released
|
2018-09-30 16:28:51 +02:00
|
|
|
--------------------------------------
|
|
|
|
|
|
|
|
- File backup rotation will always make copies instead of moving files, in order to let rsync do deltas even in local backup scheme
|
|
|
|
- Fixed non recursive backups being recursive (bug introduced in a8b6bcb)
|
|
|
|
- Fixed multiple trailing slashes when backing-up '/'
|
2018-02-24 17:42:36 +01:00
|
|
|
- Updated ofunctions
|
2018-09-30 16:28:51 +02:00
|
|
|
- Upgraded shunit2 test framework to v2.1.8pre (git commit 07bb329)
|
|
|
|
- Minor fixes
|
2018-02-24 17:42:36 +01:00
|
|
|
|
2017-06-20 18:59:45 +02:00
|
|
|
20 Jun 2017: obackup v2.1 beta3 released
|
|
|
|
----------------------------------------
|
|
|
|
|
|
|
|
- Fixed regression where some commandline arguments weren't honored anymore since 2.1 beta1 (--delete, --stats, --dontgetsize)
|
|
|
|
- Fixed commandline arguments aren't checked against valid list
|
|
|
|
|
2017-03-14 22:30:24 +01:00
|
|
|
14 Mar 2017: obackup v2.1 beta2 released
|
2017-06-20 18:59:45 +02:00
|
|
|
----------------------------------------
|
2017-02-10 11:40:59 +01:00
|
|
|
|
2017-03-14 22:30:24 +01:00
|
|
|
- Fixed remote commands can be run on local runs and obviously fail
|
2017-02-10 11:40:59 +01:00
|
|
|
- Uninstall leaves ssh_filter if needed by other programs
|
|
|
|
- Logger now obfuscates _REMOTE_TOKEN
|
2017-03-14 22:30:24 +01:00
|
|
|
- Improved sudo privilege run
|
2017-02-10 11:40:59 +01:00
|
|
|
- Brand new ssh filter from osync project
|
|
|
|
- Better installer with --remove option from osync project
|
|
|
|
- Updated ofunctions from osync project
|
|
|
|
- Fixes UTF-8 escaped characters in log files due to LC_ALL=C
|
|
|
|
- Optional MAIL_BODY_CHARSET so destination mails aren't sent as UTF-8 anymore depending on systems
|
2017-03-14 22:30:24 +01:00
|
|
|
- Minor fixes
|
2017-02-10 11:40:59 +01:00
|
|
|
|
2017-01-04 09:14:21 +01:00
|
|
|
04 Jan 2017: obackup v2.1 beta1 released
|
|
|
|
----------------------------------------
|
2014-11-24 10:28:23 +01:00
|
|
|
|
2017-01-04 09:14:21 +01:00
|
|
|
- Fixed wrong file size fetched remotely since v2.1 rewrite
|
|
|
|
- Fixed missing databases in manual list fails to trigger an alert
|
|
|
|
- Improved support for GPG ver >= 2.1
|
|
|
|
- Added encryption / decryption parallel execution support
|
|
|
|
- Improved compatibility for RotateCopies
|
|
|
|
- Unit tests now run on CentOS 5,6
|
|
|
|
- Added optional rsync arguments configuration value
|
|
|
|
- Forcec bash usage on remote connections in order to be FreeBSD 11 compatible
|
|
|
|
- Spinner is less prone to move logging on screen
|
|
|
|
- Fixed another random error involving warns and errors triggered by earlier runs with same PID flag files
|
|
|
|
- Adde more preflight checks (pgrep presence)
|
|
|
|
- Added --no-prefix, --error-only and --summary switches
|
|
|
|
- Updated installer from osync
|
|
|
|
- Updated merge.sh script to handle includes
|
|
|
|
- Improved remote logging
|
|
|
|
- Simplified osync-batch runner (internally and for user)
|
|
|
|
- Better filename handling
|
|
|
|
- Easier to read log output
|
|
|
|
- Always passes --silent to obackup
|
|
|
|
- All options that do not belong to obackup-batch are automatically passed to obackup
|
|
|
|
- Improved installer OS detection
|
|
|
|
- Fixed upgrade script cannot update header on BSD / MacOS X
|
|
|
|
- Fixed SendEmail function on MacOS X
|
|
|
|
- Fixed MAX_SOFT_EXEC_TIME_PER_XX_TASK not enforced bug introduced with newer ofunctions from v2.1
|
|
|
|
- PRESERVE_ACL and PRESERVE_XATTR are ignored when local or remote OS is MacOS or msys or Cygwin
|
|
|
|
- Fixed PRESERVE_EXECUTABILITY was ommited volontary on MacOS X because of rsync syntax
|
|
|
|
- merge.sh is now BSD and Mac compatible
|
|
|
|
- Unit tests are now BSD and Mac compatible
|
|
|
|
- Local runs should not check for remote connectivity
|
|
|
|
- Fixed error alerts cannot be triggered from subprocesses
|
|
|
|
- Fixed error flags
|
|
|
|
- Faster remote OS detection
|
|
|
|
- Added busybox (and Android Termux) support
|
|
|
|
- More portable file size functions
|
|
|
|
- More portable compression program commands
|
|
|
|
- More paranoia checks
|
|
|
|
- Added busybox sendmail support
|
|
|
|
- Added tls and ssl support for sendmail
|
|
|
|
- Added ssh password file support
|
|
|
|
- Added unit tests
|
|
|
|
- Added basic unit tests for all three operation modes
|
|
|
|
- Added process management function tests
|
|
|
|
- Added file rotation tests
|
|
|
|
- Added upgrade script test
|
|
|
|
- Added encryption tests
|
|
|
|
- Added missing files / databases test
|
|
|
|
- Added timed execution tests
|
|
|
|
- Implemented backup encryption using GPG (see documentation for advantages and caveats)
|
|
|
|
- Backup encrypted but still use differential engine :)
|
|
|
|
- Database backup improvements
|
|
|
|
- Added mysqldump options to config file
|
|
|
|
- Improved unit tests
|
|
|
|
- Added more preflight checks
|
2016-08-26 15:09:59 +02:00
|
|
|
- Logs sent by mail are easier to read
|
|
|
|
- Better subject (currently running or finished run)
|
|
|
|
- Fixed bogus double log sent in alert mails
|
|
|
|
- Only current run log is now sent
|
|
|
|
- Alert sending is now triggered after last action
|
|
|
|
- Made unix signals posix compliant
|
2017-01-04 09:14:21 +01:00
|
|
|
- Improved upgrade script
|
|
|
|
- Upgrade script now updates header
|
|
|
|
- Can add any missing value now
|
|
|
|
- Added encrpytion support
|
2016-08-26 15:09:59 +02:00
|
|
|
- Fixed problem with spaces in directories to backup (again !)
|
2016-08-17 17:21:32 +02:00
|
|
|
- Added options to ignore permissions, ownership and groups
|
2016-08-17 10:24:27 +02:00
|
|
|
- Improved batch runner
|
|
|
|
- Batch runner works for directories and direct paths
|
|
|
|
- Fixed batch runner does not rerun obackup on warnings only
|
|
|
|
- Code compliance
|
|
|
|
- More clear semantic
|
2016-08-16 21:24:48 +02:00
|
|
|
- Made keep logging value configurable and not mandatory
|
2016-08-15 10:29:13 +02:00
|
|
|
- Fixed handling of processes in uninterruptible sleep state
|
2016-08-08 00:29:27 +02:00
|
|
|
- Code cleanup
|
|
|
|
- Refactored waiting functions
|
2016-08-16 23:19:49 +02:00
|
|
|
- Fixed double RunAfterHook launch
|
|
|
|
|
2016-08-05 23:57:10 +02:00
|
|
|
06 Aug 2016: obackup v2.0 released
|
2017-01-04 09:14:21 +01:00
|
|
|
----------------------------------
|
|
|
|
|
2016-08-05 23:57:10 +02:00
|
|
|
- Made logging begin before remote checks for sanity purposes
|
2016-08-06 13:42:25 +02:00
|
|
|
- RunAfterCommands can get executed when trapquit
|
2016-08-05 23:57:10 +02:00
|
|
|
- Improved process killing and process time control
|
2016-03-25 22:51:26 +01:00
|
|
|
- Added optional statistics for installer
|
2016-03-25 21:52:31 +01:00
|
|
|
- Added an option to ignore knownhosts for ssh connections (use with caution, this can lead to a security issue)
|
2016-03-04 09:34:02 +01:00
|
|
|
- Improved mail fallback
|
|
|
|
- More logging enhancements
|
2015-12-15 14:08:54 +01:00
|
|
|
- Improved upgrade script
|
2015-11-28 12:48:19 +01:00
|
|
|
- Revamped rsync patterns to allow include and exclude patterns
|
2015-11-16 12:52:15 +01:00
|
|
|
- Better SQL and file backup task separation (rotate copies and warnings are defined for sql and/or file)
|
2015-11-12 01:26:38 +01:00
|
|
|
- Added reverse backup, now backups can be local, pushed or pulled to or from a remote system
|
|
|
|
- Better fallback for SendAlert even if disk full
|
|
|
|
- Added an alert email sent on warnings while backup script is running
|
|
|
|
- Way better logging of errors in _GetDirectoriesSizeX, _BackupDatabaseX, _CreateStorageDirectoriesX
|
|
|
|
- Added bogus config file checks & environment checks
|
|
|
|
- Full code refactoring to use local and remote code once
|
|
|
|
- Fully merged codebase with osync
|
|
|
|
- Added (much) more verbose debugging (and possibility to remove debug code to gain speed)
|
|
|
|
- Replace child_pid by $? directly, add a better sub process killer in TrapQuit
|
|
|
|
- Added some automatic checks in code, for _DEBUG mode (and _PARANOIA_DEBUG now)
|
|
|
|
- Improved Logging
|
|
|
|
- Updated obackup to be fully compliant with coding style
|
2015-11-21 13:22:14 +01:00
|
|
|
- Fixed creation of bogus subdirectories in some cases
|
2016-03-04 09:34:02 +01:00
|
|
|
- A long list of minor improvements and bug fixes
|
2014-11-24 10:28:23 +01:00
|
|
|
|
2015-11-12 01:26:38 +01:00
|
|
|
v0-1.x - Jan 2013 - Oct 2015
|
2017-01-04 09:14:21 +01:00
|
|
|
----------------------------
|
|
|
|
|
2015-09-14 11:20:01 +02:00
|
|
|
- New function to kill child processes
|
2015-09-06 17:23:19 +02:00
|
|
|
- Fixed no_maxtime not honored
|
2015-08-30 17:06:43 +02:00
|
|
|
- Improved some logging, also added highlighting to stdout errors
|
2015-08-25 15:26:36 +02:00
|
|
|
- Backported some fixes from Osync
|
2015-08-25 15:41:00 +02:00
|
|
|
- Small improvements on install script
|
2015-08-25 15:26:36 +02:00
|
|
|
- Copy ssh_filter.sh from osync project
|
2015-08-25 15:41:00 +02:00
|
|
|
- Small improvements in obackup-batch.sh time management
|
2015-06-02 11:05:45 +02:00
|
|
|
- Quick and dirty hack to get the full last run log in SendAlert email
|
2015-04-26 22:28:56 +02:00
|
|
|
- Added detection of obackup.sh script in obackup-batch.sh to overcome mising path in crontab
|
2015-04-24 22:31:39 +02:00
|
|
|
- Moved command line arguments after config file load for allowing command line overrides
|
2015-04-24 21:52:40 +02:00
|
|
|
- Added a config file option equivalent to --dontgetsize
|
2015-04-24 21:23:04 +02:00
|
|
|
- Added basic install script from osync project
|
2015-04-24 21:19:30 +02:00
|
|
|
- Added obackup-batch.sh from osync project to rerun failed backups in row
|
|
|
|
- Delta copy algorithm is now used even for local copies (usefull for network drives), this can be overriden in config file
|
2015-04-20 14:07:45 +02:00
|
|
|
- Added --dontgetsize parameter to backup huge systems immediatly
|
|
|
|
- Fixed multiple keep logging messages since sleep time between commands has been lowered under a second
|
2015-04-03 12:21:33 +02:00
|
|
|
- Create local subdirectories if not exist before running rsync (rsync doesn't handle mkdir -p)
|
|
|
|
- Backported some fixes from Osync
|
|
|
|
- Lowered sleep time between commands
|
|
|
|
- Lowered debug sleep times
|
|
|
|
- Fixed a bug with exclude pattern globbing preventing multiple exludes
|
|
|
|
- Lowered default compression level for email alerts (for low end systems)
|
2015-02-12 11:46:54 +01:00
|
|
|
- Prevent exclude pattern globbing before the pattern reaches the rsync cmd
|
2015-01-08 20:05:58 +01:00
|
|
|
- Fixed some typos with ported code from osync rendering stats and partial downloads unusable
|
2015-01-08 17:16:57 +01:00
|
|
|
- Added delete on destination option for files that vanished from source
|
2014-12-21 22:28:05 +01:00
|
|
|
- Fixed ignoring compression level in conf file
|
2015-01-08 20:05:58 +01:00
|
|
|
- Added experimental partial downloads support for rsync so big files can be resumed on slow links
|
2014-12-21 22:28:05 +01:00
|
|
|
- Fixed dry mode sql backup output
|
2014-11-28 14:56:53 +01:00
|
|
|
- Prevented triggering TrapError if there are no child processes to terminate on TrapQuit
|
|
|
|
- Improved mysql debug logs
|
2014-11-28 13:15:49 +01:00
|
|
|
- Prevent creation of backup-id less log file when DEBUG is set
|
2014-11-27 15:35:56 +01:00
|
|
|
- WARNING: Default behavior is now to copy the referrent files and directories from symlinks (this can reach files outside the backup root)
|
|
|
|
- Recursive directory search now includes symlinks (find -L option. -type d cannot be replaced by -xtype d because of portability issues with BSD)
|
2014-11-27 14:40:30 +01:00
|
|
|
- Dry mode does not create target directories anymore
|
|
|
|
- Dry mode also tries mysqldumps now (check for error messages being logged)
|
|
|
|
- Added experimental partial download support
|
2014-11-24 10:28:23 +01:00
|
|
|
- Added Rsync exclude files suppport from osync
|
2014-11-19 17:20:49 +01:00
|
|
|
- Fixed another issue with existing symlinks to directories on target on non recursive backups
|
2014-11-19 09:36:30 +01:00
|
|
|
- Fixed remaining rsync -E option preventing obackup to work correctly on MacOS X
|
2014-11-18 14:43:04 +01:00
|
|
|
- Fixed an issue with existing symlinks to directories on target
|
|
|
|
- Prevent changed IFS to make ping commands fail
|
|
|
|
- Added RotateCopies execution time (spinner support)
|
|
|
|
- redirect stderr for mysqldump to catch problems
|
2014-11-24 10:28:23 +01:00
|
|
|
- Moved msys specific code to Init(Local|Remote)OSSettings except in TrapQuit that needs to work at any moment
|
2014-11-18 14:43:04 +01:00
|
|
|
- Added support for multithreaded gzip (if pigz is installed)
|
|
|
|
- Merged back changes from osync codebase
|
|
|
|
- Enhanced debugging
|
|
|
|
- Added language agnostic system command output
|
|
|
|
- Enhanced log sending
|
|
|
|
- Better handling of OS specific commands
|
|
|
|
- Improved WaitForTaskCompletion when DEBUG enabled or SILENT enabled
|
|
|
|
- Enhanced OS detection
|
2014-03-23 21:59:13 +01:00
|
|
|
- More correct error message on remote connection failure
|
2014-03-23 17:48:22 +01:00
|
|
|
- Gzipped logs are now deleted once sent
|
|
|
|
- Fixed some typos (thanks to Pavel Kiryukhin)
|
2013-11-16 12:44:21 +01:00
|
|
|
- Improved OS detection and added prelimnary MacOS X support
|
|
|
|
- Improved execution hook logs
|
|
|
|
- Improved RunLocalCommand execution hook
|
2017-01-04 09:14:21 +01:00
|
|
|
|
|
|
|
02 Nov. 2013: obackup v1.84RC3 released
|
|
|
|
---------------------------------------
|
|
|
|
|
2013-11-02 18:55:17 +01:00
|
|
|
- Updated documentation
|
|
|
|
- Minor rewrites in recursive backup code
|
|
|
|
- Added base directory files backup for recursive directories backup
|
|
|
|
- Minor improvements on permission checks
|
2013-10-12 19:12:15 +02:00
|
|
|
- Added local and remote OS detection
|
|
|
|
- Fixed ping arguments for FreeBSD compatibility
|
2013-09-22 12:04:09 +02:00
|
|
|
- Added MSYS (MinGW minimal system) bash compatibility under Windows
|
|
|
|
- Added check for /var/log directory
|
|
|
|
- Added check for shared memory directory
|
|
|
|
- Added alternative way to kill child processes for other OSes and especially for MSYS (which is a very odd way)
|
|
|
|
- Added Sendemail.exe support for windows Alerting
|
|
|
|
- Replaced which commend by type -p, as it is more portable
|
|
|
|
- Added support for ping.exe from windows
|
|
|
|
- Forced usage of MSYS find instead of Windows' find.exe
|
|
|
|
- Added an optionnal remote rsync executable path parameter
|
|
|
|
- Made ListDatabases and ListDirectories Msys friendly
|
2013-09-17 11:51:46 +02:00
|
|
|
- Fixed loop problems in RotateBackups and ListDatabases (depending on IFS environment)
|
2013-09-13 13:37:41 +02:00
|
|
|
- Fixed an error in CheckSpaceRequirements not setting required space to zero if file / sql backup is disabled
|
2013-09-13 13:29:17 +02:00
|
|
|
- Fixed an issue with CheckConnectivity3rdPartyHosts
|
2013-09-11 16:19:47 +02:00
|
|
|
- Added option to stop execution on failed command execution
|
2013-09-03 21:31:41 +02:00
|
|
|
- Improved forced quit command by killing all child processes
|
|
|
|
- Before / After commands are now ignored on dryruns
|
2013-08-25 12:39:13 +02:00
|
|
|
- Improved verbose output
|
|
|
|
- Improved dryrun output
|
|
|
|
- Improved remote connecivity detection
|
|
|
|
- Fixed a typo in configuration file
|
2017-01-04 09:14:21 +01:00
|
|
|
|
|
|
|
18 Aug. 2013: obackup v1.84RC2 released
|
|
|
|
---------------------------------------
|
|
|
|
|
2013-08-25 12:39:13 +02:00
|
|
|
- Added possibility to change default logfile
|
2013-08-18 11:58:55 +02:00
|
|
|
- Simplified dryrun (removed dryrun function and merged it with main function)
|
|
|
|
- Simplified Init function
|
|
|
|
- Added --stat switch to rsync execution
|
|
|
|
- Added bandwidth limit
|
|
|
|
- Added --no-maxtime switch
|
2013-08-04 16:16:27 +02:00
|
|
|
- Fixed LoadConfigFile function will not warn on wrong config file
|
|
|
|
- More code cleanup
|
2013-08-18 11:58:55 +02:00
|
|
|
- Added --verbose switch (will add databases list, rsync commands, and file backup list)
|
2013-07-18 13:31:17 +02:00
|
|
|
- Improved task execution checks and more code cleanup
|
2013-08-18 11:58:55 +02:00
|
|
|
- Fixed CleanUp function if DEBUG=yes, also function is now launched from TrapQuit
|
2017-01-04 09:14:21 +01:00
|
|
|
|
|
|
|
16 Jul. 2013: obackup v1.84RC1 released
|
|
|
|
---------------------------------------
|
|
|
|
|
2013-07-16 23:06:58 +02:00
|
|
|
- Code cleanup
|
2013-06-24 21:25:44 +02:00
|
|
|
- Uploaded first documentation
|
|
|
|
- Fixed an issue with RotateBackups
|
2013-06-23 22:53:47 +02:00
|
|
|
- Updated obackup to log failed ssh command results
|
|
|
|
- Updated ssh command filter to log failed commands
|
|
|
|
- Updated ssh command filter to accept personalized commands
|
2017-01-04 09:14:21 +01:00
|
|
|
- 23 Jun. 2013: v1.84 RC1 approaching
|
2013-06-23 13:53:22 +02:00
|
|
|
- Added ssh commands filter, updated documentation
|
2013-06-22 22:54:00 +02:00
|
|
|
- Rewrote local space check function
|
2013-06-21 18:25:51 +02:00
|
|
|
- Added ability to run another executable than rsync (see documentation on sudo execution)
|
2013-06-17 13:27:37 +02:00
|
|
|
- Added some Rsync argument parameters (preserve ACL, Xattr, and stream compression)
|
|
|
|
- Internal hook execution logic revised
|
2013-06-16 11:28:00 +02:00
|
|
|
- Updated WaitForTaskCompletition function to handle skipping alerts
|
|
|
|
- Updated command line argument --silent processing
|
|
|
|
- Added remote before and after command execution hook
|
|
|
|
- Added local before and after command execution hook
|
2017-01-04 09:14:21 +01:00
|
|
|
|
|
|
|
14 Jun 2013
|
|
|
|
-----------
|
|
|
|
|
2013-07-18 13:31:17 +02:00
|
|
|
- Initial public release, fully functionnal
|