Carl N. Baldwin [Fri, 13 Oct 2006 04:51:02 +0000 (22:51 -0600)]
Bump the revision number
Carl N. Baldwin [Fri, 13 Oct 2006 04:48:49 +0000 (22:48 -0600)]
Make the cdrecord command configurable
Carl N. Baldwin [Thu, 15 Jun 2006 19:26:52 +0000 (13:26 -0600)]
Add version info file.
Carl N. Baldwin [Thu, 15 Jun 2006 19:20:20 +0000 (13:20 -0600)]
Some cleanup
Carl N. Baldwin [Thu, 15 Jun 2006 19:12:56 +0000 (13:12 -0600)]
Added repack-image to bin_SCRIPTS
Alan Jack Pippin [Wed, 14 Jun 2006 22:10:03 +0000 (16:10 -0600)]
Added -I option to rsync to ignore timestamps and size when copying over a remote image.
Alan Jack Pippin [Sun, 30 Apr 2006 13:57:34 +0000 (07:57 -0600)]
Added 2nd try to rsync when the 1st attempt fails to cache the burn image properly.
Alan Jack Pippin [Mon, 13 Mar 2006 06:26:09 +0000 (23:26 -0700)]
Added support for new cacheburnimg directive that will cache a burn image from the network to the local drive.
Alan Jack Pippin [Thu, 2 Mar 2006 03:35:35 +0000 (20:35 -0700)]
Removed (0 != space) check from while loop in copy_until_full() method.
Alan Jack Pippin [Wed, 22 Feb 2006 18:08:10 +0000 (11:08 -0700)]
Changed the findformat to use %T (modified time) instead of %C (status change time).
Alan Jack Pippin [Wed, 22 Feb 2006 16:52:59 +0000 (09:52 -0700)]
Added new remote server option. Added "force" behavior to take a disk not matching the required label.
Alan Jack Pippin [Fri, 27 Jan 2006 20:35:16 +0000 (13:35 -0700)]
Replaced tab characters with spaces in backup-status.txt output.
Alan Jack Pippin [Tue, 10 Jan 2006 06:46:12 +0000 (23:46 -0700)]
New script that will recreate a given disk image.
Alan Jack Pippin [Thu, 5 Jan 2006 06:08:29 +0000 (23:08 -0700)]
Added checks for failed md5sum calculation.
Alan Jack Pippin [Mon, 2 Jan 2006 14:41:48 +0000 (07:41 -0700)]
Adjusted logfile redirection for a failed md5sum and for a successful burn.
Alan Jack Pippin [Sat, 31 Dec 2005 15:33:09 +0000 (08:33 -0700)]
Changed grep -v against $logfile to throw out lines with control characters.
Alan Jack Pippin [Fri, 30 Dec 2005 15:54:38 +0000 (08:54 -0700)]
Extra debug information added to md5sum check failure. Changed dd count= option to use env var.
Alan Jack Pippin [Thu, 29 Dec 2005 15:41:20 +0000 (08:41 -0700)]
Further parameterization of the burn-image.sh script.
Added the following new config.sh variables:
makeXcopies, cdrecordopts, cronstopstart
Carl N. Baldwin [Tue, 13 Dec 2005 17:52:28 +0000 (10:52 -0700)]
Merging release-0.3.1
Carl N. Baldwin [Tue, 13 Dec 2005 16:53:05 +0000 (09:53 -0700)]
Merging release-0.2.1
Carl N. Baldwin [Tue, 13 Dec 2005 16:51:57 +0000 (09:51 -0700)]
Fix a bug that broke backups for Carl
Carl N. Baldwin [Mon, 12 Dec 2005 16:43:17 +0000 (09:43 -0700)]
Fix test of string
Alan Jack Pippin [Fri, 2 Dec 2005 03:56:10 +0000 (20:56 -0700)]
Added available disk space check & new backupeveryXdays config var.
Carl N Baldwin [Thu, 1 Dec 2005 15:30:30 +0000 (08:30 -0700)]
Clean up some files that are no longer needed
Carl N Baldwin [Wed, 30 Nov 2005 03:55:16 +0000 (20:55 -0700)]
I'm having trouble with {7,7} in gawk on ubuntu. So, I am using the more verbose work-around.
Carl N Baldwin [Wed, 30 Nov 2005 03:03:05 +0000 (20:03 -0700)]
I think we can safely give rundir a default value.
Carl N Baldwin [Wed, 30 Nov 2005 02:57:18 +0000 (19:57 -0700)]
Oops, a silly little bug.
Carl N Baldwin [Wed, 30 Nov 2005 02:55:39 +0000 (19:55 -0700)]
Clean up the usage message.
Carl N Baldwin [Wed, 30 Nov 2005 02:46:56 +0000 (19:46 -0700)]
Silly cosmetic changes I probably don't need to make
Carl N Baldwin [Wed, 30 Nov 2005 02:44:08 +0000 (19:44 -0700)]
Only whitespace changes to fix indentation.
Carl N Baldwin [Wed, 30 Nov 2005 02:43:18 +0000 (19:43 -0700)]
This logic should bypass asking for a disk if no files are going to be copied from that disk.
Carl N. Baldwin [Wed, 30 Nov 2005 02:27:41 +0000 (19:27 -0700)]
Don't check for the existence of sourcedir in the restore script. It may not
be there. Also, be strict about sourcedir being an actual directory.
Carl Baldwin [Tue, 29 Nov 2005 17:00:16 +0000 (10:00 -0700)]
Misc fixes to restore script.
- Fix err function to output to standard err.
- Use err function throughout script to make it more concise.
- Add some more verbosity and examples to the Usage message to make it more
clear how to use this script.
- Don't output non-error messages to std-err.
- Use -Z option to grep (Is this really necessary? I'm not sure)
- Start grep pattern with ^ to only match the pattern at the beginning of the
line
Alan Jack Pippin [Tue, 29 Nov 2005 07:35:56 +0000 (00:35 -0700)]
Added support for 3rd argument = mount dir
Fixed bug related to automatically finding mountdir.
Added usage verbosity.
Added failure to eject the disk checking.
Carl N Baldwin [Sun, 27 Nov 2005 01:50:41 +0000 (18:50 -0700)]
Add math.h
Carl N Baldwin [Sun, 27 Nov 2005 01:45:01 +0000 (18:45 -0700)]
Just some misc clean-up to Alan's stuff.
Carl N Baldwin [Sun, 27 Nov 2005 00:30:51 +0000 (17:30 -0700)]
Merge up to alan's release
Carl Baldwin [Fri, 25 Nov 2005 18:25:05 +0000 (11:25 -0700)]
Merge a fix to release-0.1
Carl Baldwin [Fri, 25 Nov 2005 18:19:24 +0000 (11:19 -0700)]
Fix logic to tell if 15 days have past since last backup.
Alan Jack Pippin [Wed, 23 Nov 2005 16:23:37 +0000 (09:23 -0700)]
Changed image extension from .img to .iso.
Enabled new environment variables: imagesize, availsizemb, blocksize
Added NULL env variable checking in main.cpp.
Added new "disks remaining" print out to lsbackups.
Alan Jack Pippin [Mon, 21 Nov 2005 03:35:00 +0000 (20:35 -0700)]
1) Modified main.cpp to save backup db to a tmp file.
2) Modified pack-image.sh to move tmp backup db over the
existing backup db once it is determined that there
have not been any errors during the backup process.
3) Fixed bug in pack-image.sh related to handling
excludedirs properly.
Alan Jack Pippin [Mon, 14 Nov 2005 15:43:52 +0000 (08:43 -0700)]
Carl said to do it.
Carl Baldwin [Sun, 13 Nov 2005 21:54:29 +0000 (14:54 -0700)]
Just some ideas on reducing verbosity while maintaining readability and functionality
Alan Jack Pippin [Sun, 13 Nov 2005 21:37:16 +0000 (14:37 -0700)]
Used Carl's super-cool shell script shorthand to source system config file.
Alan Jack Pippin [Sun, 13 Nov 2005 07:50:10 +0000 (00:50 -0700)]
Added support for new excludedir configuration option.
Added some simple error detection and cleanup.
Added support to properly exclude files from find cmd.
Alan Jack Pippin [Sat, 12 Nov 2005 23:40:22 +0000 (16:40 -0700)]
Added sourcing of system specific configuration file /etc/lsbackups.conf if it exists.
This follows the sourcing of config.sh, allowing overrides of the defaults.
Alan Jack Pippin [Sat, 12 Nov 2005 21:50:21 +0000 (14:50 -0700)]
Merge branch 'master' of ecbaldwin.net:/home/cnb/dvl/backup/
Alan Jack Pippin [Sat, 12 Nov 2005 21:49:28 +0000 (14:49 -0700)]
Merging stuff from ecbaldwin.net
Carl Baldwin [Fri, 11 Nov 2005 04:21:34 +0000 (21:21 -0700)]
Mispelling in comment
Carl Baldwin [Fri, 11 Nov 2005 04:18:42 +0000 (21:18 -0700)]
Mispelling in comment
Carl N Baldwin [Thu, 10 Nov 2005 17:18:51 +0000 (10:18 -0700)]
This should've never worked. I'm a little dissappointed that it did.
Carl N Baldwin [Thu, 10 Nov 2005 17:02:56 +0000 (10:02 -0700)]
Cleaner comparators
Carl N Baldwin [Thu, 10 Nov 2005 16:45:39 +0000 (09:45 -0700)]
Sort leftovers by last backup date THEN BY decreasing filesize.
Carl Baldwin [Thu, 10 Nov 2005 15:47:06 +0000 (08:47 -0700)]
Try adding a sleep between cdrecord and verify
Carl Baldwin [Thu, 10 Nov 2005 15:28:23 +0000 (08:28 -0700)]
dd should append to the logfile rather than overwrite it.
Alan Jack Pippin [Mon, 7 Nov 2005 16:57:11 +0000 (09:57 -0700)]
Merge branch 'master' of ecbaldwin.net:/home/cnb/dvl/backup/
Carl Baldwin [Mon, 7 Nov 2005 16:51:38 +0000 (09:51 -0700)]
changed notes
Alan Jack Pippin [Mon, 7 Nov 2005 16:48:25 +0000 (09:48 -0700)]
Testing making changes.
Carl Baldwin [Sat, 5 Nov 2005 01:59:48 +0000 (18:59 -0700)]
Handle sparse files efficiently.
Carl N Baldwin [Sat, 5 Nov 2005 00:13:57 +0000 (17:13 -0700)]
Preserve hard-links on the target and copy whole-file only
Carl N Baldwin [Sat, 5 Nov 2005 00:12:47 +0000 (17:12 -0700)]
Changed todo
Carl N Baldwin [Wed, 2 Nov 2005 18:13:30 +0000 (11:13 -0700)]
Some clean-up
Carl N Baldwin [Tue, 1 Nov 2005 22:52:14 +0000 (15:52 -0700)]
Merge branch 'master' of home:dvl/backup
Carl N Baldwin [Tue, 1 Nov 2005 22:50:01 +0000 (15:50 -0700)]
Add TODO file
Carl Baldwin [Tue, 1 Nov 2005 22:45:36 +0000 (15:45 -0700)]
Modified notes
Carl Baldwin [Tue, 1 Nov 2005 02:54:36 +0000 (19:54 -0700)]
Took out some verbosity
Carl Baldwin [Mon, 31 Oct 2005 17:24:03 +0000 (10:24 -0700)]
Forgot to add cron scripts to Makefile.am
Carl N Baldwin [Mon, 31 Oct 2005 17:22:36 +0000 (10:22 -0700)]
Set nice value and detach from cron
Carl Baldwin [Mon, 31 Oct 2005 15:47:24 +0000 (08:47 -0700)]
Fix paths etc
Carl Baldwin [Mon, 31 Oct 2005 04:19:51 +0000 (21:19 -0700)]
Quiet down when there's no image to burn
Carl Baldwin [Mon, 31 Oct 2005 03:26:56 +0000 (20:26 -0700)]
Forgot to include the disk's md5sum in the email
Carl Baldwin [Mon, 31 Oct 2005 02:48:08 +0000 (19:48 -0700)]
Some fixes to burn script
Carl N. Baldwin [Sun, 30 Oct 2005 22:10:34 +0000 (15:10 -0700)]
More more more
Carl Baldwin [Sun, 30 Oct 2005 22:03:39 +0000 (15:03 -0700)]
Add eject script
Carl Baldwin [Sat, 29 Oct 2005 20:36:45 +0000 (14:36 -0600)]
dvdrw instead of dvdwr
Carl Baldwin [Sat, 29 Oct 2005 20:35:12 +0000 (14:35 -0600)]
Forgot to add eject-disk.sh to Makefile.am
Carl Baldwin [Sat, 29 Oct 2005 20:34:36 +0000 (14:34 -0600)]
More stuff
Carl N. Baldwin [Sat, 29 Oct 2005 19:59:28 +0000 (13:59 -0600)]
Use 'noburn' file to prohibit burning
Carl N. Baldwin [Sat, 29 Oct 2005 18:45:44 +0000 (12:45 -0600)]
Create cron.sh for running from cron also create config.sh
Carl N Baldwin [Sat, 29 Oct 2005 03:57:27 +0000 (21:57 -0600)]
Fix up the burn script
Carl N Baldwin [Fri, 28 Oct 2005 18:57:08 +0000 (12:57 -0600)]
Fix the restore script
Carl Baldwin [Fri, 28 Oct 2005 04:07:53 +0000 (22:07 -0600)]
More stuff
Carl Baldwin [Fri, 28 Oct 2005 04:05:46 +0000 (22:05 -0600)]
Oops, only mail if dvd was actually burned
Carl Baldwin [Fri, 28 Oct 2005 04:05:15 +0000 (22:05 -0600)]
Cleanup pack script and mail user in burn script
Carl Baldwin [Fri, 28 Oct 2005 04:02:51 +0000 (22:02 -0600)]
burning script
Carl N Baldwin [Thu, 27 Oct 2005 19:27:50 +0000 (13:27 -0600)]
Add mailto before exit
Carl N Baldwin [Thu, 27 Oct 2005 19:26:58 +0000 (13:26 -0600)]
Rename drive.sh to pack-image.sh
Carl Baldwin [Thu, 27 Oct 2005 19:10:19 +0000 (13:10 -0600)]
I'm lovin' it
Carl N Baldwin [Thu, 27 Oct 2005 18:44:49 +0000 (12:44 -0600)]
Merge branch 'master' of home:dvl/backup
Carl N Baldwin [Thu, 27 Oct 2005 18:44:10 +0000 (12:44 -0600)]
Add more directories
Carl Baldwin [Thu, 27 Oct 2005 01:26:59 +0000 (19:26 -0600)]
Add burning to the drive script
Carl Baldwin [Wed, 26 Oct 2005 05:40:39 +0000 (23:40 -0600)]
Files used to help rescue from the union/intersection problem
Carl Baldwin [Wed, 26 Oct 2005 03:49:15 +0000 (21:49 -0600)]
Bump the revision number
Carl N. Baldwin [Wed, 26 Oct 2005 03:44:45 +0000 (21:44 -0600)]
INTERSECTION not union
Carl N. Baldwin [Wed, 26 Oct 2005 03:20:18 +0000 (21:20 -0600)]
No comment
Carl Baldwin [Wed, 26 Oct 2005 03:03:50 +0000 (21:03 -0600)]
Merge refs/heads/master from origin
Carl Baldwin [Wed, 26 Oct 2005 03:03:42 +0000 (21:03 -0600)]
Cleanup
Carl N. Baldwin [Wed, 26 Oct 2005 03:03:04 +0000 (21:03 -0600)]
++begin
Carl N. Baldwin [Wed, 26 Oct 2005 02:59:59 +0000 (20:59 -0600)]
Clean up
Carl Baldwin [Wed, 26 Oct 2005 01:37:21 +0000 (19:37 -0600)]
Merge refs/heads/master from origin