2004-03-04 21:45 anarcat * local.mk (1.18, BKSH_REL_1_7): preparing to tag the 1.7 release 2004-03-04 21:44 anarcat * INSTALL (1.16, BKSH_REL_1_7): Add notice for netbsd users 2004-03-04 21:40 anarcat * bksh.c (1.50, BKSH_REL_1_7): handle the special value of optreset on NetBSD 2004-03-04 21:37 anarcat * bksh.c (1.49): mkdir hack for strict POSIX mkdir(2) implementations 2004-03-04 20:33 anarcat * bksh.c (1.48): handle write errors properly Obtained from: Tomaz Solc 2004-01-13 20:28 anarcat * bksh.c (1.47, BKSH_REL_1_6): fix typo in __FreeBSD__ 2004-01-13 20:20 anarcat * local.mk (1.17, BKSH_REL_1_6): prepare to release 1.6 2004-01-13 20:19 anarcat * README (1.20, BKSH_REL_1_7, BKSH_REL_1_6): expand usage to feature the new -t flag 2004-01-13 19:39 anarcat * bksh.c (1.46), bksh.h (1.7, BKSH_REL_1_7, BKSH_REL_1_6): reimplement maximum backup count this works only in the remaining argument, e.g. ./bksh -c 'test -t2' or over ssh: ssh backup@server -t2 test I've done my best to keep this simple and readable, and secure, but still, handle with care. testing and review would be appreciated. 2004-01-13 18:11 anarcat * local.mk (1.16): whitespace conformanace Spotted by: xemacs 2003-12-11 21:05 anarcat * backup-dbs-and-files.sh (1.1, BKSH_REL_1_7, BKSH_REL_1_6): add another handy script 2003-12-09 17:18 anarcat * local.mk (1.15): force changelog regen, use horde of magic flags (from worldtools) 2003-12-04 15:52 anarcat * local.mk (1.14, BKSH_REL_1_5): this is release 1.5 2003-12-04 15:52 anarcat * local.mk (1.13): don't hardcode rel num 2003-12-04 15:51 anarcat * bksh.c (1.45, BKSH_REL_1_5): indent 2003-12-04 15:48 anarcat * bksh.c (1.44): fix off by one error in backup counting 2003-12-04 15:41 anarcat * bksh.c (1.43): print the proper number of static max backups 2003-11-14 08:51 anarcat * GNUmakefile (1.4, BKSH_REL_1_7, BKSH_REL_1_6, BKSH_REL_1_5): remove SRCS from deps 2003-10-26 17:02 anarcat * bksh.c (1.42), bksh.h (1.6, BKSH_REL_1_5): unifdef STATIC_MAX_BAKS=1, in other words deactive dynamic backup count config, since it didn't work in ssh environment, because we don't parse -c 2003-10-26 16:10 anarcat * bksh.c (1.41): comment the n variable 2003-10-24 16:50 anarcat * local.mk (1.12, BKSH_REL_1_4): sigh, getting there, fixing another typo 2003-10-24 16:49 anarcat * local.mk (1.11): yet another stone in the pond: use .tar.gz for release tarball, not tgz 2003-10-24 16:43 anarcat * GNUmakefile (1.3, BKSH_REL_1_4), local.mk (1.10): add release tagging and better tarball building techniques correct clean target for GNU make this should put a proper release tag in bksh.c 2003-10-24 15:51 anarcat * local.mk (1.9): next release: 1.4 2003-08-06 17:14 anarcat * bksh.c (1.40, BKSH_REL_1_4): add newline after error message 2003-08-06 17:14 anarcat * bksh.c (1.39): add version information via the -V switch, which also gives out information about how the thing has been compiled 2003-08-06 17:04 anarcat * local.mk (1.8): add ChangeLog target 2003-08-06 17:02 anarcat * print_stats.sh (1.2, BKSH_REL_1_7, BKSH_REL_1_6, BKSH_REL_1_5, BKSH_REL_1_4): don't use here-specific hostnames 2003-08-06 17:00 anarcat * print_stats.sh (1.1), stats.pl (1.1, BKSH_REL_1_7, BKSH_REL_1_6, BKSH_REL_1_5, BKSH_REL_1_4): add scripts to ease statistical analysis of backup sizes 2003-06-26 12:01 anarcat * bksh.h (1.5, BKSH_REL_1_4): define a buffer size or potentially override it 2003-06-26 11:43 anarcat * README (1.19, BKSH_REL_1_5, BKSH_REL_1_4): reword again 2003-06-23 13:03 anarcat * local.mk (1.7, BKSH_REL_1_3): make rm not complain about missing ChangeLog.bak 2003-06-23 13:03 anarcat * local.mk (1.6): make bksh the default target again 2003-06-23 13:01 anarcat * basename.c (1.13), dirname.c (1.2) (utags: BKSH_REL_1_3, BKSH_REL_1_4, BKSH_REL_1_5, BKSH_REL_1_6, BKSH_REL_1_7): make those compile on non-FreeBSD systems that don't define __FBSDID 2003-06-22 21:26 anarcat * local.mk (1.5): change tarball target name to "release" make it depend on "clean" add ChangeLog generation in there and don't keep old ChangeLogs 2003-06-22 21:22 anarcat * local.mk (1.4): tarball: compute md5 and be less verbose 2003-06-22 21:19 anarcat * local.mk (1.3): add "tarball" target to generate a source release this will be release 1.3 2003-06-22 21:11 anarcat * GNUmakefile (1.2, BKSH_REL_1_3), Makefile (1.5, BKSH_REL_1_7, BKSH_REL_1_6, BKSH_REL_1_5, BKSH_REL_1_4, BKSH_REL_1_3), local.mk (1.2): necessary Make and GNUMake magic to make all this basename/dirname foobar work. From now on, gmake will make bksh compile with local copies of basename.c and dirname.c and bsd make will look at the kern.osreldate sysctl oid before taking a decision this is a horrible hack to avoid fallin into a ./configure nightmare 2003-06-22 21:03 anarcat * bksh.c (1.38, BKSH_REL_1_3): properly include basename.h when necessary 2003-06-22 20:55 anarcat * basename.c (1.12), basename.h (1.4, BKSH_REL_1_7, BKSH_REL_1_6, BKSH_REL_1_5, BKSH_REL_1_4, BKSH_REL_1_3), bksh.c (1.37), dirname.c (1.1): do the full switch: we now use a exact copy of the dirname/basenam.c files from FreeBSD and therefore, basename() and dirname() return static storage 2003-06-22 20:44 anarcat * basename.c (1.11): précisions sur la source notons que basename() fait un malloc() ŕ chaque appel, contrairement ŕ son original 2003-06-22 20:42 anarcat * basename.c (1.10): suck in the latest (5.1-current) FreeBSD basename() 2003-06-22 20:36 anarcat * basename.c (1.9): we *really* don't need to tell cc the size of char, it's kinda standard 2003-06-22 20:35 anarcat * basename.c (1.8): base is named bname in fbsd 2003-06-22 20:33 anarcat * basename.c (1.7): begin conversion to more recent fbsd basename.c and dirname.c: compare pointers with NULL instead of relying on NULL == 0 2003-06-22 20:23 anarcat * INSTALL (1.15, BKSH_REL_1_6, BKSH_REL_1_5, BKSH_REL_1_4, BKSH_REL_1_3): take into account that bksh compiles fine on other platforms too reword a few things make procedures as generic as possible name the client machine "client" instead of server to avoid confusion remove references to the admin user add the -T flag to ssh so it won't complain about pseudo-terminals 2003-06-22 20:17 anarcat * README (1.18, BKSH_REL_1_3): add testing info 2003-06-22 20:15 anarcat * README (1.17): little update: rewording, remove the version number to ease maintenance 2003-01-28 11:51 anarcat * backup.sh (1.15, BKSH_REL_1_7, BKSH_REL_1_6, BKSH_REL_1_5, BKSH_REL_1_4, BKSH_REL_1_3): tell ssh not to allocate a pseudo terminal to remove a warning 2003-01-25 13:39 anarcat * backup.sh (1.14, BKSH_REL_1_2): M-x untabify 2003-01-25 13:38 anarcat * README (1.16, BKSH_REL_1_2): add license info 2003-01-25 13:34 anarcat * bksh.c (1.36), basename.c (1.6) (utags: BKSH_REL_1_2): M-x c-set-style RET gnu 2003-01-25 13:33 anarcat * bksh.c (1.35), basename.c (1.5), basename.h (1.3, BKSH_REL_1_2): M-x untabify 2003-01-25 13:31 anarcat * bksh.c (1.34): exit with an error if write(2) fails 2003-01-25 13:30 anarcat * README (1.15): add features summary uniformization of paragraph spacing 2003-01-25 13:24 anarcat * bksh.c (1.33): update copyright for new year 2003-01-23 15:54 anarcat * INSTALL (1.14, BKSH_REL_1_2), README (1.14) (utags: BKSH_REL_1_1): after repo copy, move relevant parts of README to INSTALL 2003-01-23 15:51 anarcat * INSTALL (1.13), README (1.13): add version info in README 2003-01-23 15:32 anarcat * INSTALL (1.12), README (1.12): add crontab usage for people who are too clueless 2003-01-23 15:27 anarcat * INSTALL (1.11), README (1.11): document backup.sh at least a little bit somewhere 2003-01-23 15:21 anarcat * INSTALL (1.10), README (1.10): add authorship info 2003-01-23 15:19 anarcat * backup.sh (1.13, BKSH_REL_1_1): give meaning of options in usage 2003-01-23 15:17 anarcat * backup.sh (1.12): another forgotten argument validity check 2003-01-23 15:16 anarcat * backup.sh (1.11): implement on-the-fly compression using an optional gzip/bzip pipe 2003-01-23 15:12 anarcat * backup.sh (1.10): make parallel dump call a bit cleaner by avoiding a if and using an eval 2003-01-23 15:11 anarcat * backup.sh (1.9): check if level value is correct, usage & exit if not 2003-01-23 15:07 anarcat * backup.sh (1.8): (forced) implement usage in a function no functional change 2003-01-23 15:07 anarcat * backup.sh (1.7): implement usage 2003-01-23 15:03 anarcat * backup.sh (1.6): change default backup machine name 2003-01-22 20:23 anarcat * GNUmakefile (1.1), Makefile (1.4), local.mk (1.1) (utags: BKSH_REL_1_0, BKSH_REL_1_1, BKSH_REL_1_2): make this compile out of the box on Debian GNU/Linux's gnumake too 2003-01-22 20:23 anarcat * bksh.c (1.32, BKSH_REL_1_1, BKSH_REL_1_0): remove a warning: print the actual strerror() in a printf 2002-11-18 22:34 anarcat * bksh.c (1.31): close backup file fd as quickly as possible 2002-11-18 22:08 anarcat * bksh.c (1.30): also allow backups to /dev/esa0 too 2002-10-23 22:16 anarcat * bksh.h (1.4, BKSH_REL_1_3, BKSH_REL_1_2, BKSH_REL_1_1, BKSH_REL_1_0): ouch. Forgot to add the FILE_BACKUP option to this file 2002-10-23 00:32 anarcat * bksh.c (1.29): allow compile-time disabling of plain file backup 2002-10-23 00:26 anarcat * INSTALL (1.9), README (1.9) (utags: BKSH_REL_1_0): note how bksh is being wise about .. and / in pathnames 2002-10-23 00:24 anarcat * INSTALL (1.8), README (1.8): move tape backup explanation to the end and note that this method ignores most restriction of the file-based method 2002-10-23 00:21 anarcat * COPYING (1.1, BKSH_REL_1_7, BKSH_REL_1_6, BKSH_REL_1_5, BKSH_REL_1_4, BKSH_REL_1_3, BKSH_REL_1_2, BKSH_REL_1_1, BKSH_REL_1_0): add a copy of the GPL here 2002-10-23 00:19 anarcat * bksh.c (1.28): update copyright and email address 2002-10-23 00:17 anarcat * INSTALL (1.7), README (1.7): add Building section number installation procedure for clarity 2002-10-23 00:02 anarcat * bksh.c (1.27): make HOME and SSH_CLIENT environment mandatory only for file backups, not for tape backups 2002-10-23 00:00 anarcat * bksh.c (1.26): move backup name declaration and initialization to relevant block 2002-10-22 23:58 anarcat * bksh.c (1.25): add comments 2002-10-22 23:47 anarcat * bksh.c (1.24): make incoming directory before checking archives existence this shouldn't change behavior, but makes code easier to read 2002-10-22 23:45 anarcat * bksh.c (1.23): correct comments again 2002-10-22 23:44 anarcat * bksh.c (1.22): move comment up a bit 2002-10-22 23:43 anarcat * bksh.c (1.21): add a few relevant comments 2002-10-22 23:40 anarcat * bksh.c (1.20): remove the "command" hack: - drop the command variable in favor of a clearer backup_file variable name - move that variable declaration to relevant block 2002-10-22 23:34 anarcat * bksh.c (1.19): use access(2) instead of full stat(2) 2002-10-22 23:27 anarcat * bksh.c (1.18): style change: group initialisation of char arrays 2002-10-22 23:25 anarcat * bksh.c (1.17): group together similar declarations, no functional change 2002-10-22 23:24 anarcat * bksh.c (1.16): abort when HOME variable not set instead of dumping in / 2002-10-22 23:23 anarcat * bksh.h (1.3): remove unused DD_CMD macro 2002-10-22 23:23 anarcat * bksh.h (1.2): add comments describing various options (no functional change) 2002-10-22 23:21 anarcat * bksh.c (1.15), bksh.h (1.1): move configuration macros to bksh.h file 2002-10-22 23:02 anarcat * bksh.c (1.14): fix coredump when calling bksh with no argument 2002-10-22 22:52 anarcat * INSTALL (1.6), README (1.6): style fix: put extra newline before title 2002-10-22 22:38 anarcat * INSTALL (1.5), README (1.5): note that you might need to add bksh to /etc/shells 2002-10-22 22:34 anarcat * Makefile (1.3): set default PREFIX to /usr 2002-10-22 22:33 anarcat * INSTALL (1.4), README (1.4): note that bksh allows backups to /dev/[n]sa0 devices 2002-10-22 22:29 anarcat * bksh.c (1.13): also allow backup to /dev/nsa0 2002-10-22 22:26 anarcat * INSTALL (1.3), README (1.3): order of fields in the passwd file example was reversed add newline at EOF 2002-06-18 18:42 anarcat * bksh.c (1.12): indent 2002-06-18 18:40 anarcat * bksh.c (1.11): allow bypass of normal security constraints to allow backup straight to tape this will allow backup to /dev/sa0 and only /dev/sa0 2002-06-17 17:34 anarcat * bksh.c (1.10): put status after write since it was appearing then anyways 2002-06-17 17:23 anarcat * backup.sh (1.5, BKSH_REL_1_0): make variables BACKUP_HOST/USER and use em 2002-06-17 17:18 anarcat * INSTALL (1.2), README (1.2): add installation instructions 2002-06-17 17:01 anarcat * Makefile (1.2): make this respect PREFIX 2002-06-17 16:39 anarcat * basename.c (1.4, BKSH_REL_1_1, BKSH_REL_1_0): cast away const where necessary 2002-06-17 16:37 anarcat * basename.c (1.3), basename.h (1.2, BKSH_REL_1_1, BKSH_REL_1_0): mark basename() and dirname() arguments as const 2002-06-17 16:34 anarcat * bksh.c (1.9): mkdirp doesn't modify path, so mark it const 2002-02-01 10:25 khadmin * backup.sh (1.4): grrr.. remove the sleep code and replace with backup code 2002-02-01 10:20 khadmin * backup.sh (1.3): don't stop on error (remove -r flag) 2002-01-23 12:08 khadmin * backup.sh (1.2): parse commandline with getopt allow the -p for parallel treatment allow spec of multiple fs 2002-01-23 11:37 khadmin * backup.sh (1.1): Initial revision 2002-01-04 14:20 anarcat * INSTALL (1.1), README (1.1): readme file for bksh 2002-01-04 14:20 anarcat * basename.c (1.2): behave properly on memory exhaustion don't leak memory in dirname() 2002-01-04 14:07 anarcat * bksh.c (1.8): fix the file rotation algorithm 2002-01-04 13:47 anarcat * bksh.c (1.7): implement proper command line parsing and dynamic number of backup copies 2002-01-04 13:18 anarcat * bksh.c (1.6): remove commented code that forced the use of mkdirp(), forgotten in the last commit 2002-01-04 13:16 anarcat * bksh.c (1.5): try to create missing directories 2002-01-04 12:34 anarcat * bksh.c (1.4): fix permissions on open() calls add missing newline at error message display informative message before starting the write 2001-12-28 14:58 anarcat * Makefile (1.1): simple freebsd PROG makefile 2001-12-28 14:58 anarcat * basename.c (1.1), basename.h (1.1): basename() dirname() routines Obtained from: minihttpd project which took it from basename(1) 2001-12-28 14:49 anarcat * bksh.c (1.3): use basename() to trim dangerous paths off argv read stdin and write to file rotate existing files create missing top directory interpret argv[2] as backup name 2001-12-28 13:39 anarcat * bksh.c (1.2): fix for compilation look for hostname in SSH_CLIENT and append to command string remove bogus free() 2001-12-28 13:31 anarcat * bksh.c (1.1): Initial revision