backups/.git
18 years agoChanged the findformat to use %T (modified time) instead of %C (status change time).
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).

18 years agoAdded new remote server option. Added "force" behavior to take a disk not matching...
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.

18 years agoReplaced tab characters with spaces in backup-status.txt output. release-0.5
Alan Jack Pippin [Fri, 27 Jan 2006 20:35:16 +0000 (13:35 -0700)]
Replaced tab characters with spaces in backup-status.txt output.

18 years agoNew script that will recreate a given disk image.
Alan Jack Pippin [Tue, 10 Jan 2006 06:46:12 +0000 (23:46 -0700)]
New script that will recreate a given disk image.

18 years agoAdded checks for failed md5sum calculation.
Alan Jack Pippin [Thu, 5 Jan 2006 06:08:29 +0000 (23:08 -0700)]
Added checks for failed md5sum calculation.

18 years agoAdjusted logfile redirection for a failed md5sum and for a successful burn.
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.

18 years agoChanged grep -v against $logfile to throw out lines with control characters.
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.

18 years agoExtra debug information added to md5sum check failure. Changed dd count= option to...
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.

18 years agoFurther parameterization of the burn-image.sh script.
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

18 years agoMerging release-0.3.1 release-0.5 release-0.4.1
Carl N. Baldwin [Tue, 13 Dec 2005 17:52:28 +0000 (10:52 -0700)]
Merging release-0.3.1

18 years agoMerging release-0.2.1 release-0.3.1
Carl N. Baldwin [Tue, 13 Dec 2005 16:53:05 +0000 (09:53 -0700)]
Merging release-0.2.1

18 years agoFix a bug that broke backups for Carl 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

18 years agoFix test of string
Carl N. Baldwin [Mon, 12 Dec 2005 16:43:17 +0000 (09:43 -0700)]
Fix test of  string

18 years agoAdded available disk space check & new backupeveryXdays config var. release-0.4
Alan Jack Pippin [Fri, 2 Dec 2005 03:56:10 +0000 (20:56 -0700)]
Added available disk space check & new backupeveryXdays config var.

18 years agoClean up some files that are no longer needed
Carl N Baldwin [Thu, 1 Dec 2005 15:30:30 +0000 (08:30 -0700)]
Clean up some files that are no longer needed

18 years agoI'm having trouble with {7,7} in gawk on ubuntu. So, I am using the more verbose... release-0.3
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.

18 years agoI think we can safely give rundir a default value.
Carl N Baldwin [Wed, 30 Nov 2005 03:03:05 +0000 (20:03 -0700)]
I think we can safely give rundir a default value.

18 years agoOops, a silly little bug.
Carl N Baldwin [Wed, 30 Nov 2005 02:57:18 +0000 (19:57 -0700)]
Oops, a silly little bug.

18 years agoClean up the usage message.
Carl N Baldwin [Wed, 30 Nov 2005 02:55:39 +0000 (19:55 -0700)]
Clean up the usage message.

18 years agoSilly cosmetic changes I probably don't need to make
Carl N Baldwin [Wed, 30 Nov 2005 02:46:56 +0000 (19:46 -0700)]
Silly cosmetic changes I probably don't need to make

18 years agoOnly whitespace changes to fix indentation.
Carl N Baldwin [Wed, 30 Nov 2005 02:44:08 +0000 (19:44 -0700)]
Only whitespace changes to fix indentation.

18 years agoThis logic should bypass asking for a disk if no files are going to be copied from...
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.

18 years agoDon't check for the existence of sourcedir in the restore script. It may not
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.

18 years agoMisc fixes to restore script.
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

18 years agoAdded support for 3rd argument = mount dir
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.

18 years agoAdd math.h release-0.2
Carl N Baldwin [Sun, 27 Nov 2005 01:50:41 +0000 (18:50 -0700)]
Add math.h

18 years agoJust some misc clean-up to Alan's stuff.
Carl N Baldwin [Sun, 27 Nov 2005 01:45:01 +0000 (18:45 -0700)]
Just some misc clean-up to Alan's stuff.

18 years agoMerge up to alan's release
Carl N Baldwin [Sun, 27 Nov 2005 00:30:51 +0000 (17:30 -0700)]
Merge up to alan's release

18 years agoMerge a fix to release-0.1
Carl Baldwin [Fri, 25 Nov 2005 18:25:05 +0000 (11:25 -0700)]
Merge a fix to release-0.1

18 years agoFix logic to tell if 15 days have past since last backup. release-0.1.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.

19 years agoChanged image extension from .img to .iso.
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.

19 years ago1) Modified main.cpp to save backup db to a tmp file.
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.

19 years agoCarl said to do it.
Alan Jack Pippin [Mon, 14 Nov 2005 15:43:52 +0000 (08:43 -0700)]
Carl said to do it.

19 years agoJust some ideas on reducing verbosity while maintaining readability and functionality
Carl Baldwin [Sun, 13 Nov 2005 21:54:29 +0000 (14:54 -0700)]
Just some ideas on reducing verbosity while maintaining readability and functionality

19 years agoUsed Carl's super-cool shell script shorthand to source system config file.
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.

19 years agoAdded support for new excludedir configuration option.
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.

19 years agoAdded sourcing of system specific configuration file /etc/lsbackups.conf if it exists.
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.

19 years agoMerge branch 'master' of ecbaldwin.net:/home/cnb/dvl/backup/
Alan Jack Pippin [Sat, 12 Nov 2005 21:50:21 +0000 (14:50 -0700)]
Merge branch 'master' of ecbaldwin.net:/home/cnb/dvl/backup/

19 years agoMerging stuff from ecbaldwin.net
Alan Jack Pippin [Sat, 12 Nov 2005 21:49:28 +0000 (14:49 -0700)]
Merging stuff from ecbaldwin.net

19 years agoMispelling in comment release-0.1
Carl Baldwin [Fri, 11 Nov 2005 04:21:34 +0000 (21:21 -0700)]
Mispelling in comment

19 years agoMispelling in comment
Carl Baldwin [Fri, 11 Nov 2005 04:18:42 +0000 (21:18 -0700)]
Mispelling in comment

19 years agoThis should've never worked. I'm a little dissappointed that it did.
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.

19 years agoCleaner comparators
Carl N Baldwin [Thu, 10 Nov 2005 17:02:56 +0000 (10:02 -0700)]
Cleaner comparators

19 years agoSort leftovers by last backup date THEN BY decreasing filesize.
Carl N Baldwin [Thu, 10 Nov 2005 16:45:39 +0000 (09:45 -0700)]
Sort leftovers by last backup date THEN BY decreasing filesize.

19 years agoTry adding a sleep between cdrecord and verify
Carl Baldwin [Thu, 10 Nov 2005 15:47:06 +0000 (08:47 -0700)]
Try adding a sleep between cdrecord and verify

19 years agodd should append to the logfile rather than overwrite it.
Carl Baldwin [Thu, 10 Nov 2005 15:28:23 +0000 (08:28 -0700)]
dd should append to the logfile rather than overwrite it.

19 years agoMerge branch 'master' of ecbaldwin.net:/home/cnb/dvl/backup/
Alan Jack Pippin [Mon, 7 Nov 2005 16:57:11 +0000 (09:57 -0700)]
Merge branch 'master' of ecbaldwin.net:/home/cnb/dvl/backup/

19 years agochanged notes
Carl Baldwin [Mon, 7 Nov 2005 16:51:38 +0000 (09:51 -0700)]
changed notes

19 years agoTesting making changes.
Alan Jack Pippin [Mon, 7 Nov 2005 16:48:25 +0000 (09:48 -0700)]
Testing making changes.

19 years agoHandle sparse files efficiently.
Carl Baldwin [Sat, 5 Nov 2005 01:59:48 +0000 (18:59 -0700)]
Handle sparse files efficiently.

19 years agoPreserve hard-links on the target and copy whole-file only
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

19 years agoChanged todo
Carl N Baldwin [Sat, 5 Nov 2005 00:12:47 +0000 (17:12 -0700)]
Changed todo

19 years agoSome clean-up
Carl N Baldwin [Wed, 2 Nov 2005 18:13:30 +0000 (11:13 -0700)]
Some clean-up

19 years agoMerge branch 'master' of home:dvl/backup
Carl N Baldwin [Tue, 1 Nov 2005 22:52:14 +0000 (15:52 -0700)]
Merge branch 'master' of home:dvl/backup

19 years agoAdd TODO file
Carl N Baldwin [Tue, 1 Nov 2005 22:50:01 +0000 (15:50 -0700)]
Add TODO file

19 years agoModified notes
Carl Baldwin [Tue, 1 Nov 2005 22:45:36 +0000 (15:45 -0700)]
Modified notes

19 years agoTook out some verbosity
Carl Baldwin [Tue, 1 Nov 2005 02:54:36 +0000 (19:54 -0700)]
Took out some verbosity

19 years agoForgot to add cron scripts to Makefile.am
Carl Baldwin [Mon, 31 Oct 2005 17:24:03 +0000 (10:24 -0700)]
Forgot to add cron scripts to Makefile.am

19 years agoSet nice value and detach from cron
Carl N Baldwin [Mon, 31 Oct 2005 17:22:36 +0000 (10:22 -0700)]
Set nice value and detach from cron

19 years agoFix paths etc
Carl Baldwin [Mon, 31 Oct 2005 15:47:24 +0000 (08:47 -0700)]
Fix paths etc

19 years agoQuiet down when there's no image to burn
Carl Baldwin [Mon, 31 Oct 2005 04:19:51 +0000 (21:19 -0700)]
Quiet down when there's no image to burn

19 years agoForgot to include the disk's md5sum in the email
Carl Baldwin [Mon, 31 Oct 2005 03:26:56 +0000 (20:26 -0700)]
Forgot to include the disk's md5sum in the email

19 years agoSome fixes to burn script
Carl Baldwin [Mon, 31 Oct 2005 02:48:08 +0000 (19:48 -0700)]
Some fixes to burn script

19 years agoMore more more
Carl N. Baldwin [Sun, 30 Oct 2005 22:10:34 +0000 (15:10 -0700)]
More more more

19 years agoAdd eject script
Carl Baldwin [Sun, 30 Oct 2005 22:03:39 +0000 (15:03 -0700)]
Add eject script

19 years agodvdrw instead of dvdwr
Carl Baldwin [Sat, 29 Oct 2005 20:36:45 +0000 (14:36 -0600)]
dvdrw instead of dvdwr

19 years agoForgot to add eject-disk.sh to Makefile.am
Carl Baldwin [Sat, 29 Oct 2005 20:35:12 +0000 (14:35 -0600)]
Forgot to add eject-disk.sh to Makefile.am

19 years agoMore stuff
Carl Baldwin [Sat, 29 Oct 2005 20:34:36 +0000 (14:34 -0600)]
More stuff

19 years agoUse 'noburn' file to prohibit burning
Carl N. Baldwin [Sat, 29 Oct 2005 19:59:28 +0000 (13:59 -0600)]
Use 'noburn' file to prohibit burning

19 years agoCreate cron.sh for running from cron also create config.sh
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

19 years agoFix up the burn script
Carl N Baldwin [Sat, 29 Oct 2005 03:57:27 +0000 (21:57 -0600)]
Fix up the burn script

19 years agoFix the restore script
Carl N Baldwin [Fri, 28 Oct 2005 18:57:08 +0000 (12:57 -0600)]
Fix the restore script

19 years agoMore stuff
Carl Baldwin [Fri, 28 Oct 2005 04:07:53 +0000 (22:07 -0600)]
More stuff

19 years agoOops, only mail if dvd was actually burned
Carl Baldwin [Fri, 28 Oct 2005 04:05:46 +0000 (22:05 -0600)]
Oops, only mail if dvd was actually burned

19 years agoCleanup pack script and mail user in burn script
Carl Baldwin [Fri, 28 Oct 2005 04:05:15 +0000 (22:05 -0600)]
Cleanup pack script and mail user in burn script

19 years agoburning script
Carl Baldwin [Fri, 28 Oct 2005 04:02:51 +0000 (22:02 -0600)]
burning script

19 years agoAdd mailto before exit
Carl N Baldwin [Thu, 27 Oct 2005 19:27:50 +0000 (13:27 -0600)]
Add mailto before exit

19 years agoRename drive.sh to pack-image.sh
Carl N Baldwin [Thu, 27 Oct 2005 19:26:58 +0000 (13:26 -0600)]
Rename drive.sh to pack-image.sh

19 years agoI'm lovin' it
Carl Baldwin [Thu, 27 Oct 2005 19:10:19 +0000 (13:10 -0600)]
I'm lovin' it

19 years agoMerge branch 'master' of home:dvl/backup
Carl N Baldwin [Thu, 27 Oct 2005 18:44:49 +0000 (12:44 -0600)]
Merge branch 'master' of home:dvl/backup

19 years agoAdd more directories
Carl N Baldwin [Thu, 27 Oct 2005 18:44:10 +0000 (12:44 -0600)]
Add more directories

19 years agoAdd burning to the drive script
Carl Baldwin [Thu, 27 Oct 2005 01:26:59 +0000 (19:26 -0600)]
Add burning to the drive script

19 years agoFiles used to help rescue from the union/intersection problem
Carl Baldwin [Wed, 26 Oct 2005 05:40:39 +0000 (23:40 -0600)]
Files used to help rescue from the union/intersection problem

19 years agoBump the revision number
Carl Baldwin [Wed, 26 Oct 2005 03:49:15 +0000 (21:49 -0600)]
Bump the revision number

19 years agoINTERSECTION not union
Carl N. Baldwin [Wed, 26 Oct 2005 03:44:45 +0000 (21:44 -0600)]
INTERSECTION not union

19 years agoNo comment
Carl N. Baldwin [Wed, 26 Oct 2005 03:20:18 +0000 (21:20 -0600)]
No comment

19 years agoMerge refs/heads/master from origin
Carl Baldwin [Wed, 26 Oct 2005 03:03:50 +0000 (21:03 -0600)]
Merge refs/heads/master from origin

19 years agoCleanup
Carl Baldwin [Wed, 26 Oct 2005 03:03:42 +0000 (21:03 -0600)]
Cleanup

19 years ago++begin
Carl N. Baldwin [Wed, 26 Oct 2005 03:03:04 +0000 (21:03 -0600)]
++begin

19 years agoClean up
Carl N. Baldwin [Wed, 26 Oct 2005 02:59:59 +0000 (20:59 -0600)]
Clean up

19 years agoMerge refs/heads/master from origin
Carl Baldwin [Wed, 26 Oct 2005 01:37:21 +0000 (19:37 -0600)]
Merge refs/heads/master from origin

19 years agorun md5sum
Carl Baldwin [Wed, 26 Oct 2005 01:31:17 +0000 (19:31 -0600)]
run md5sum

19 years agoWrong source dir to rsync
Carl N Baldwin [Tue, 25 Oct 2005 22:49:43 +0000 (16:49 -0600)]
Wrong source dir to rsync

19 years agorestore.sh should get out of the mounted directory if it is in there
Carl Baldwin [Tue, 25 Oct 2005 22:34:31 +0000 (16:34 -0600)]
restore.sh should get out of the mounted directory if it is in there

19 years agoShould always run from installed directory
Carl Baldwin [Tue, 25 Oct 2005 22:32:55 +0000 (16:32 -0600)]
Should always run from installed directory

19 years agoMerge branch 'master' of home:dvl/backup
Carl N Baldwin [Tue, 25 Oct 2005 22:14:53 +0000 (16:14 -0600)]
Merge branch 'master' of home:dvl/backup

19 years agoSome clean-up
Carl N Baldwin [Tue, 25 Oct 2005 22:14:01 +0000 (16:14 -0600)]
Some clean-up

19 years agoBetter dd command
Carl Baldwin [Tue, 25 Oct 2005 22:10:29 +0000 (16:10 -0600)]
Better dd command

19 years agoCreate the self-extracting archive restore.sh
Carl N Baldwin [Tue, 25 Oct 2005 21:55:44 +0000 (15:55 -0600)]
Create the self-extracting archive restore.sh

19 years agoDetermine date in the scripts rather than c++
Carl N Baldwin [Tue, 25 Oct 2005 17:01:11 +0000 (11:01 -0600)]
Determine date in the scripts rather than c++