obackup/CHANGELOG.md

263 lines
12 KiB
Markdown
Raw Normal View History

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
- 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
---------
2017-03-14 22:30:24 +01:00
14 Mar 2017: obackup v2.1 beta2 released
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
04 Jan 2017: obackup v2.1 beta1 released
----------------------------------------
- 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
- 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 !)
- 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
----------------------------------
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
- Added optional statistics for installer
- 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
- 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
- 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
2015-11-12 01:26:38 +01:00
v0-1.x - Jan 2013 - Oct 2015
----------------------------
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
- Quick and dirty hack to get the full last run log in SendAlert email
- Added detection of obackup.sh script in obackup-batch.sh to overcome mising path in crontab
- Moved command line arguments after config file load for allowing command line overrides
- 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
- 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)
- Prevent exclude pattern globbing before the pattern reaches the rsync cmd
- 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
- Fixed ignoring compression level in conf file
- Added experimental partial downloads support for rsync so big files can be resumed on slow links
- 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
- 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
- Added Rsync exclude files suppport from osync
- Fixed another issue with existing symlinks to directories on target on non recursive backups
- Fixed remaining rsync -E option preventing obackup to work correctly on MacOS X
- 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
- Moved msys specific code to Init(Local|Remote)OSSettings except in TrapQuit that needs to work at any moment
- 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
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
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
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
- Updated obackup to log failed ssh command results
- Updated ssh command filter to log failed commands
- Updated ssh command filter to accept personalized commands
- 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
- 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
14 Jun 2013
-----------
2013-07-18 13:31:17 +02:00
- Initial public release, fully functionnal