📄 changelog
字号:
(f.ex. when run from the development dir and such things..)- Fixed bad reporting when bad permissions prevented lock creation.- Cleaned up, improved and renamed the (former) 'Log()' function. Now called 'log()'. Now takes printf-like formatstring and varargs.- Fixed bug that got crashed sitback on looping symlinks.. An error is reported, but the backup is aborted...- Added printf-like formatting to UI__Warning.- Bad files (fifo's, bad symlinks etc. are excluded from the archive, without sitback halting with an error.- Fixed incorrect path when checking for Gnu Tar.. (set Tar path to '/user/bin/tar' if found /usr/bin/tar.- Added the '-g' switch to allow one to turn on debugging at runtime.- Fixed installation in new Makefiles (due to re-creation of Kdevelop projekt file for Kdevelop 1.4). All files now gets installed (the right place).- Major cleanup in archive.cpp, removed lot's of redundant code. Replace all the '__execute_tar_get_XXXarchiveid()' functions with the new 'Execute()' function in util.c- Rewrote '__exec_tar_backup()' and '__exec_tar_verify()' to use the new 'Execute()' function in util.c- Replaced all the '__execute_mt_[rewind|format|retension]()' functions by calls to the new 'Execute()' function in util.c- Now writing on the screen that it is waiting until a specific day and time, before the backup will run. (when not a daemon, but having a 'TIME=' entry in the script or on the command line- Added the '-b' option. Includes special files into the archive. (Also supported as the script keyword 'INCLUDE SPECIAL FILES')- Fixed problem where tar would hang when searching an archive id on a device without any prior archives written to it...!!- Fixed bug which prevented sitback from determining it's location when executed along the PATH- Compression is disabled if the requested tool is not available- Checking for 'ps' when initializing.- Only printing default compression tool to the log if compression is enabled- Added switch '-f' to disable the ncurses based interface- Solved problem with killing tar while it was running..0.2.1 20010731-------------------- Added options for running a script or a command before and after backup.- Fixed small bug that prevented the user from selecting 'compress' as compression tool from the command line0.2.2 20011122------------------- Changed from c++ (back) to c during rebuild of source tree (Kdevelop crached the old project)- Remote devices is supported- Ouups... seems that archive verification would always fail with bzip2 compressed archive on raw devices since the detection of the 'trailing garbage. Ignored' messages was missing.. Nobody out there using bzip2 ?? Well. i fixed it anyway...- Added a waitpid() loop after backup to make sure zombies from the subprocesses is properly terminated- Returning without any action from the UI__* functions if we are running as a daemon- Added log message when waiting, before starting a backup- Fixed 2 non-standard #include's of wait.h, now using sys/wait.h- Fixed a misplaced output from OldArchiveid() which prevented proper extraction of an old archive id in certain cases...- Fixed bug that made sitback fail in GetBaseDir() when executing with a full path, without leading '..'- Replace a 'WUNTRACED' with zero options mask in two waitpid()'s for __execute_tar_backup() and __execute_tar_verify()- Still has a mysterious hang after verification of a compressed archive on a remote device.. Perhaps a signal that goes missing... Must add a safety valve..- Fixed some bugs related to remote devices..- Added the '-x' and 'EXCLUDE' switch/keyword to allow one to specify files/directorys to exclude from the backup.- Added brief description of how to use a remote device- Added nice-level adjustment- Changed the output format a bit when tracking output from backup/verify of before/after commands- Fixed bug that would split locations with blank spaces before given to tar.. '/tmp/test dir' would be '/tmp/test' and 'dir' causing all kinds of errors..- Added error checking in init(), will translate name of executable, if sitback is executed via a symlink- Fixed detection of local username (suid is supported) for remote device operation- Backup/verify on remote device working with tar.. mt still not fixed for remote devices- RSH given on command line or in script was ignored by the OldArchiveId function..- Resolved the (until now) mysterious hang when using remote devices. Forgot to wait on a pid in ArchiveReady.- All issues relating to remote devices should be resolved.- Changed location of files.. All files are now kept in a local '.sitback' directory. This should solve all the problems with users running sitback as a non-root user..- Removed the basedir detection code, added the homedir detection code.. getpwuid() failes without any reasonable explanation, so a homebrewed version is used untill that issue is under control..- Html documentation is installed under ${prefix}/doc/sitback- Error is reported and app. is terminated if there is an error during the 'before' or 'after' commands.- Cosmetic improvements here and there..- Error is reported if a location given in the script is not found or accessible- Slight improvement of the tracker function (files being backed up, written to archivelist, verified etc.)- Log is quiet about comment lines in scripts (lines beginning with the standard '#' sign)- Processing is stopped with an error if there is an unknown directive in the script- Processing is stopped with an error if a specific compression tool is requested and it is not available.- Fixed bug when testing for bzip2/bunzip2. Now correctly detected- Fixed bug when testing for compress. Now correctly detected- Writes the name of the script on the screen (cosmetic fix).- (re)Enabled verification of multivolume archives.- Slight change to startmark generator, in rare cases, the startmark filename was illegal.- Finally got a working detection of looping symlinks..- Fixed inclusion/exclusion of special files.. Character and block device files are also excluded now, unless special file inclusion is enabled.- Fixed the message after pressing ENTER when verifying multiple volume archives.- Config option for following symlinks- Fixed message when a target that does not exist is listed in the script.- Fixed a small bug that would crash sitback when testing symlinks- Small change when trying to extract the old archiveid, first, the archive is assumed to have the same type as the new one, described by the script, if that fails, all other types of archives is tested.. (This dramatically decreases the time to extract an old archiveid from many archives).0.2.3 20011126------------------- If doing 'sitback --version', the lockfile was not removed.. Fixed- Testing if 'rmt' exists on the remote server if the device or file is remote.- Found/Fixed old stupid-bug in the Execute() function.- Cosmetic change to output in the progress window. (nicer 'filer-is-too-long' indication)- Cosmetic changes in error reports from verify- Added the 'LAZY' verify option0.2.4 20020205------------------- Fixed a bug that prevented backup of '/'0.3.0 20020417------------------- Added 'filecopy' backup.- Changed switch to enter verbose mode (now '--verbose'- Small fix in the 'looping symlink' detection, cases where a looping symlink were located below another symlink would go undetected, instead causing all sorts of noise and coredumps.- Iso files can be created with the TYPE=ISO keyword.- Added appropriate checks for 'cdrecord' and 'mkisofs' to the initialization code.- Fixed a small issue in the stdout tracker..- Added cdr/cdrw support...- Improved the manual section relevant for cd-writing, slightly.- Added script options for setting the cdrecord fifo size and ejecting the cd after writing has completed.- Fixed a pure cosmetic bug, the day/hour/minute of the next time the backup will run was garbage, now returns the proper string to output.- Added support for cdr/cdrw tar archives..- Fixed a serious bug that would make sitback hang while testing for 'compress' on some systems.. (some versions of 'compress' does not exit after displaying version with the -V switch)- Tar archives in iso files (and hence, cd's) is given a more suitable name depending on the type of archive..- Fixed a few typo's, and improved a bit on the manual.- Improved the report output a bit, now also the result of the before and after script is included in the report- Fixed a problem with a trailing blankspace in the iso code.- Hmmm.. multiple backup's with a fixed size seemed to be broken, but it was not... tar was broken!!.. Tar 1.13 has a bug that makes it barf on the -L switch.. Included a check for this tar version, and a warning if the user attempts to create fixed size archives with it..- Expected tracksize is calculated before recording a cd (with mkisofs -print-size ...). The result is used as an argument to cdrecord. (Thanks Chris for pointing this one out..)- Error codes from sitback is now (also) listed in the manual.- Got cdrecord to work with the tracksize argument.. :)- Got the alternative temp. dir option working..- Better handling of errors when mkisofs is failing due to bad joliet names..- Fixed usage of volume names with blankspaces for iso based operations.- Fixed the reportmail option. (problem with systems not reporting a valid domainname)- Added an option for unattended run. F.ex. for running sitback as part of a script.- Corrected the manual a few places.- Changed option 'MULTIPLE=[Y|N]' to 'MULTIPLE VOLUMES'- Fixed a problem with bad symlinks not ignored when doing iso/cdr/cdrw backup even though the option IGNORE BAD SYMLINKS was used.0.3.1 20021201------------------- Fixed a problem with test for 'compress' that would sometime hang sitback- Fixed a bug with running unattended in non-ncurses mode- Made a few changes to the test script- Made a slight change to the test for 'bzip2', because some older versions of bzip2 returns an incorrect error code when run with '--help'- Added the '--scriptdir' switch.- More changes to mail sending- Added script option 'INCREMENTAL'.- Added compression tool 'zip' to the options.- Added the possibility for skipping use of the lock file.- Fixed broken verify (Not working when using alternative temp. dir)- Fixed broken message when waiting for next time condition, bug had no influence on the schedule, but was confusing.- Added new option 'ADD TO ROOT' to allow creation of cd's with content added direct to the root-directory of the cd- Added new option 'NO INFO' to skip inclusion of the sitback.* files in the archive, when creating plain iso/cd archives.- Converting blankspaces in the archive name to underscores- New types added. ZIP,ZIPISO,ZIPCDR,ZIPCDRW- Improved the stdout/stderr tracker to provide better feedback from the operations..- Fixed a problem with multiple volumes, where the archiving would sometime freeze due to chunks of garbage (\0) output from tar into the redirected stderr file...- Fixed a bug that would cause sitback to hang after printing a report via smb.- Fixed a bug that prevented proper detection of magnetic tapes.- Fixed a bug that would leave some types of cd backup not-fixated.0.3.2 20030421------------------- Fixed a bug that would stop the parsing of the script after the ID keyword- Added support for symbolic constants in the reportfile name.0.3.3 20031010------------------- Fixed a bug that would crash sitback on a few systems, when checking for a running thread, in the case where this thread had not been started..0.3.4 20033110------------------- Changed the SendMail function. Now uses gethostent() to get the correct hostname.- Fixed a bug in the SendMail function. Using the full hostname in the 'MAIL FROM' command made the transfer fail for some MTA's- Minor cosmetic changes to the subject line for report mails.- Some smtp-servers expected '\r\n' at end of command lines, sitback did not send this.. Fixed.0.3.5 20030411------------------- Implemented smtp authentication.- Added 'Date:' field to report mails.- If there are errors during the backup, or with the 'before' or 'after' commands. The daemon is no longer killed.- When the 'before' or 'after' commands has errors. The output is included in the report.0.3.5p1 20033112------------------- Woups!!.. Wrong placement of a 'break'. Now daemon mode should run as usual (again).0.3.5p2 20040301------------------- Slight bug in the mail-sending code fixed.. Also, reportfiles are now dos-formatted (\r\n), since most of the time, those reports are inspected from a Windows platform...0.3.5p3 20042301------------------- Fixed bug with mail-sending.. Message body contained standalone linefeeds, violating the standard.- Now using stat64 (if available) to allow for large files (larger than 2GB) in the backup.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -