backups/.git
19 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

19 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.

19 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.

19 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.

19 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

19 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.

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

19 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.

19 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

19 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

19 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++

19 years agoReorganize the drive script
Carl N Baldwin [Tue, 25 Oct 2005 16:32:59 +0000 (10:32 -0600)]
Reorganize the drive script

19 years agoRegular commit
Carl Baldwin [Tue, 25 Oct 2005 16:26:47 +0000 (10:26 -0600)]
Regular commit

19 years agoSome clean-up
Carl Baldwin [Mon, 24 Oct 2005 21:47:17 +0000 (15:47 -0600)]
Some clean-up

19 years agoClean-up the scripts directory a little
Carl Baldwin [Mon, 24 Oct 2005 19:35:49 +0000 (13:35 -0600)]
Clean-up the scripts directory a little

19 years agoAdded restore script
Carl Baldwin [Mon, 24 Oct 2005 19:30:21 +0000 (13:30 -0600)]
Added restore script

19 years agoRegular commit
Carl Baldwin [Mon, 24 Oct 2005 19:29:56 +0000 (13:29 -0600)]
Regular commit

19 years agoRegular commit
Carl Baldwin [Mon, 24 Oct 2005 00:27:42 +0000 (18:27 -0600)]
Regular commit

19 years agoMake the script executable
Carl Baldwin [Sun, 23 Oct 2005 02:35:32 +0000 (20:35 -0600)]
Make the script executable

19 years agoChange persistant db name
Carl Baldwin [Sun, 23 Oct 2005 02:32:42 +0000 (20:32 -0600)]
Change persistant db name

19 years agoFirst cut at top-level script
Carl Baldwin [Sun, 23 Oct 2005 02:32:10 +0000 (20:32 -0600)]
First cut at top-level script

19 years agoAdded counting of bytes and blocks
Carl Baldwin [Sun, 23 Oct 2005 02:11:48 +0000 (20:11 -0600)]
Added counting of bytes and blocks

19 years agoAdd option to find-cmd.sh
Carl N. Baldwin [Sat, 22 Oct 2005 17:30:25 +0000 (11:30 -0600)]
Add option to find-cmd.sh

19 years agoOnly try for about 98% full
Carl N Baldwin [Fri, 21 Oct 2005 15:17:42 +0000 (09:17 -0600)]
Only try for about 98% full

19 years agoRename main.cc -> main.cpp
Carl N Baldwin [Fri, 21 Oct 2005 15:00:23 +0000 (09:00 -0600)]
Rename main.cc -> main.cpp

19 years agoBetter determined what should be backed up
Carl N Baldwin [Fri, 21 Oct 2005 14:58:44 +0000 (08:58 -0600)]
Better determined what should be backed up

19 years agoScript to help create the iso image on which to throw stuff.
Carl Baldwin [Fri, 21 Oct 2005 04:18:43 +0000 (22:18 -0600)]
Script to help create the iso image on which to throw stuff.

19 years agoThe ruby versions are slower
Carl N Baldwin [Thu, 20 Oct 2005 20:23:10 +0000 (14:23 -0600)]
The ruby versions are slower

19 years agoThis rocks
Carl N Baldwin [Thu, 20 Oct 2005 20:22:06 +0000 (14:22 -0600)]
This rocks

19 years agoFound an awk implementation of files-from-date
Carl N Baldwin [Thu, 20 Oct 2005 17:45:35 +0000 (11:45 -0600)]
Found an awk implementation of files-from-date