zfs-nexenta/.git
13 years agoAdded an already running check master
Alan J. Pippin [Sat, 9 Oct 2010 14:31:02 +0000 (08:31 -0600)]
Added an already running check

14 years agoMerge branch 'master' of ssh://backup.pippins.net/etc/bin/zfs/
Alan J. Pippin [Fri, 29 Jan 2010 17:25:34 +0000 (10:25 -0700)]
Merge branch 'master' of ssh://backup.pippins.net/etc/bin/zfs/

Conflicts:
zfs-replicate

14 years agoAdded throttle option support backup/master
Alan J. Pippin [Fri, 29 Jan 2010 05:14:15 +0000 (22:14 -0700)]
Added throttle option support

14 years agoFixed typo in logfile name
Alan J. Pippin [Fri, 29 Jan 2010 04:49:47 +0000 (21:49 -0700)]
Fixed typo in logfile name

14 years agoTweaked some settings in zfs-replicate.
Alan J. Pippin [Fri, 29 Jan 2010 04:43:28 +0000 (21:43 -0700)]
Tweaked some settings in zfs-replicate.
Added BRAND NEW restore scripts to aid in restoring filesystems from backup pool to a destination pool.

15 years agoAdded missing anchor to backup pool name filter
Alan J. Pippin [Thu, 29 Jan 2009 14:39:50 +0000 (07:39 -0700)]
Added missing anchor to backup pool name filter

15 years agoIncreased spin lock cycle time
Alan J. Pippin [Thu, 29 Jan 2009 14:39:38 +0000 (07:39 -0700)]
Increased spin lock cycle time

15 years agoFixed midnight bug in autosnap wrapper script
Alan J. Pippin [Sun, 18 Jan 2009 20:33:02 +0000 (13:33 -0700)]
Fixed midnight bug in autosnap wrapper script

15 years agoChanged default throttle options
Alan J. Pippin [Sat, 17 Jan 2009 23:13:23 +0000 (16:13 -0700)]
Changed default throttle options

15 years agoFixed misnamed throttle opt var
Alan J. Pippin [Sat, 17 Jan 2009 22:43:47 +0000 (15:43 -0700)]
Fixed misnamed throttle opt var

15 years agoSet default throttle enable to 0
Alan J. Pippin [Sat, 17 Jan 2009 22:40:08 +0000 (15:40 -0700)]
Set default throttle enable to 0

15 years agoAdded new throttle option
Alan J. Pippin [Sat, 17 Jan 2009 22:39:51 +0000 (15:39 -0700)]
Added new throttle option

15 years agoFixed typo
Alan J. Pippin [Sat, 17 Jan 2009 07:10:28 +0000 (00:10 -0700)]
Fixed typo

15 years agoAdded code to destroy backup markers on local machine if replicate aborts
Alan J. Pippin [Sat, 17 Jan 2009 04:44:40 +0000 (21:44 -0700)]
Added code to destroy backup markers on local machine if replicate aborts

15 years agoRenamed zfs-replicate wrapper script
Alan J. Pippin [Sat, 17 Jan 2009 04:20:03 +0000 (21:20 -0700)]
Renamed zfs-replicate wrapper script

15 years agoRemoved accidentally added local configuration file from repo
Alan J. Pippin [Sat, 17 Jan 2009 04:13:38 +0000 (21:13 -0700)]
Removed accidentally added local configuration file from repo

15 years agoAdded configuration scripts to hold customized options
Alan J. Pippin [Sat, 17 Jan 2009 04:10:44 +0000 (21:10 -0700)]
Added configuration scripts to hold customized options

15 years agoAdded replicate wrapper logfile.
Alan J. Pippin [Fri, 16 Jan 2009 15:10:07 +0000 (08:10 -0700)]
Added replicate wrapper logfile.
Added concept of "no limit" maxruntime.

15 years agoAdded fatal_and_exit routine to handle all early exits out of the script
Alan J. Pippin [Fri, 16 Jan 2009 14:54:16 +0000 (07:54 -0700)]
Added fatal_and_exit routine to handle all early exits out of the script

15 years agoRemoved old freebsd zfs scripts
Alan J. Pippin [Fri, 16 Jan 2009 07:07:05 +0000 (00:07 -0700)]
Removed old freebsd zfs scripts

15 years agoCreated the zfs-replicate-wrapper script that factors in duration to
Alan J. Pippin [Fri, 16 Jan 2009 06:57:18 +0000 (23:57 -0700)]
Created the zfs-replicate-wrapper script that factors in duration to
stop replicating once duration exceeds a certain amount. Updated
zfs-log-parser to parse the stats from the replicate jobs properly.

15 years agoAdded new destroy on full option
Alan J. Pippin [Fri, 16 Jan 2009 03:43:36 +0000 (20:43 -0700)]
Added new destroy on full option

15 years agoAdded code to fallback to lists of snapshots to find common point
Alan J. Pippin [Wed, 14 Jan 2009 07:17:39 +0000 (00:17 -0700)]
Added code to fallback to lists of snapshots to find common point
if the backup markers can't be found. Fixed various bugs.

15 years agoInitial working draft of the new replicate algorithm using
Alan J. Pippin [Tue, 13 Jan 2009 07:56:18 +0000 (00:56 -0700)]
Initial working draft of the new replicate algorithm using
backup marker snapshots instead of pure snapshot diffs.

15 years agoAdded code to deal with not finding a common snapshot
Alan J. Pippin [Tue, 13 Jan 2009 03:49:21 +0000 (20:49 -0700)]
Added code to deal with not finding a common snapshot

15 years agoAdded logging to zfs-scrub
Alan J. Pippin [Mon, 12 Jan 2009 07:44:01 +0000 (00:44 -0700)]
Added logging to zfs-scrub
Changed zfs-replicate pool name to backups
Fixed snapname bug in zfs-autosnap

15 years agoChanged name of local backup pool
Alan J. Pippin [Mon, 12 Jan 2009 06:41:20 +0000 (23:41 -0700)]
Changed name of local backup pool

15 years agoAdded variable for the name of the local backup pool name
Alan J. Pippin [Mon, 12 Jan 2009 06:23:39 +0000 (23:23 -0700)]
Added variable for the name of the local backup pool name

15 years agoMoved old zfs-replicate scripts out of the way.
Alan J. Pippin [Mon, 12 Jan 2009 06:19:35 +0000 (23:19 -0700)]
Moved old zfs-replicate scripts out of the way.
Copied Carl's new replicate script into place.

15 years agoTest commit
Alan J. Pippin [Mon, 12 Jan 2009 05:44:13 +0000 (22:44 -0700)]
Test commit

15 years agoRemoved import command
Alan J. Pippin [Mon, 12 Jan 2009 05:26:05 +0000 (22:26 -0700)]
Removed import command

15 years agoChanged location of log file
Alan J. Pippin [Sun, 11 Jan 2009 00:29:54 +0000 (17:29 -0700)]
Changed location of log file

15 years agoMerged zfs-scrub scripts together
Alan J. Pippin [Sat, 10 Jan 2009 23:54:19 +0000 (16:54 -0700)]
Merged zfs-scrub scripts together

15 years agoMoved pool names to variable
Alan J. Pippin [Sat, 10 Jan 2009 23:43:26 +0000 (16:43 -0700)]
Moved pool names to variable

15 years agoUpdated paths
Alan J. Pippin [Sat, 10 Jan 2009 23:41:47 +0000 (16:41 -0700)]
Updated paths

15 years agoAdded new script to link the GIT scripts to another location
Alan J. Pippin [Sat, 10 Jan 2009 23:34:55 +0000 (16:34 -0700)]
Added new script to link the GIT scripts to another location
Picked up bug fixes from Carl for zfs-autosnap

15 years agoNot needed for Nexenta
Super-User [Sat, 10 Jan 2009 23:20:38 +0000 (16:20 -0700)]
Not needed for Nexenta

15 years agoRenamed all references from USB to EXT
Alan J. Pippin [Thu, 25 Sep 2008 21:36:36 +0000 (15:36 -0600)]
Renamed all references from USB to EXT

15 years agoFixed zfs-replicate bug when a filesystem is created on the backup drive,
Alan J. Pippin [Thu, 25 Sep 2008 15:26:00 +0000 (09:26 -0600)]
Fixed zfs-replicate bug when a filesystem is created on the backup drive,
and the snapshots for that filesystem are all deleted over time, and new
ones are attempted to be sent to the backup drive. In this case, the script
was trying to send incremental, but there were no snapshots left on the
zfs filesystem. Now, if a filesystem exists on the backup drive but it
has no snapshots, that filesystem is removed so a full stream will be sent
of the first snapshot that is synced to the backup drive.

15 years agoChanged cleanup() trap to be based on INT signal instead of EXIT
Alan J. Pippin [Fri, 22 Aug 2008 13:34:29 +0000 (07:34 -0600)]
Changed cleanup() trap to be based on INT signal instead of EXIT
to prevent subsequent script instantiations from affecting the
any that are currently running if they can't obtain the lock
in a timely manner.

15 years agoAdded safegaurds to prevent script from running on top of itself
Alan J. Pippin [Fri, 22 Aug 2008 05:45:36 +0000 (23:45 -0600)]
Added safegaurds to prevent script from running on top of itself

15 years agoAdded support for handling compressed files
Alan J. Pippin [Fri, 22 Aug 2008 03:23:53 +0000 (21:23 -0600)]
Added support for handling compressed files

15 years agoUpdated log file location to dump to /var/log/zfs instead of /var/log
Alan J. Pippin [Fri, 22 Aug 2008 03:16:47 +0000 (21:16 -0600)]
Updated log file location to dump to /var/log/zfs instead of /var/log

16 years agoAdded usage information to the header
Alan J. Pippin [Sun, 20 Apr 2008 16:45:02 +0000 (10:45 -0600)]
Added usage information to the header

16 years agoAdded new script modified from the FreeBSD release to avoid kernel panics.
Alan J. Pippin [Sun, 20 Apr 2008 14:10:27 +0000 (08:10 -0600)]
Added new script modified from the FreeBSD release to avoid kernel panics.

16 years agoFixed a race condition that could lead to 2 scrubs running simultaneously.
Alan J. Pippin [Tue, 18 Mar 2008 02:03:10 +0000 (20:03 -0600)]
Fixed a race condition that could lead to 2 scrubs running simultaneously.
Added logging support.

16 years agoAdded date filter capability when parsing snapshot total logs.
Alan J. Pippin [Fri, 14 Mar 2008 19:34:06 +0000 (13:34 -0600)]
Added date filter capability when parsing snapshot total logs.

16 years agoFixed bug when parsing filesystems that have no data on a given date.
Alan J. Pippin [Wed, 12 Mar 2008 16:14:46 +0000 (10:14 -0600)]
Fixed bug when parsing filesystems that have no data on a given date.

16 years agoFixed bug in parsing snapshot total logs
Alan J. Pippin [Tue, 11 Mar 2008 02:25:23 +0000 (20:25 -0600)]
Fixed bug in parsing snapshot total logs

16 years agoUpdated to contain daily snapshot code
Alan J. Pippin [Tue, 11 Mar 2008 02:20:35 +0000 (20:20 -0600)]
Updated to contain daily snapshot code

16 years agoAdded new script to scrub a USB backup drive
Alan J. Pippin [Tue, 11 Mar 2008 02:16:09 +0000 (20:16 -0600)]
Added new script to scrub a USB backup drive

16 years agoAdded code to poweron the destpool and import it.
Alan J. Pippin [Sat, 8 Mar 2008 16:26:08 +0000 (09:26 -0700)]
Added code to poweron the destpool and import it.
Added code to export the destpool and power it down.

16 years agoI decided to change the name of the example script again.
Alan J. Pippin [Sat, 8 Mar 2008 06:04:56 +0000 (23:04 -0700)]
I decided to change the name of the example script again.

16 years agoAdded script that can be used to diff files between different snapshots.
Alan J. Pippin [Sat, 8 Mar 2008 05:47:24 +0000 (22:47 -0700)]
Added script that can be used to diff files between different snapshots.

16 years agoMade the all scripts examples, allowing local copies
Alan J. Pippin [Sat, 8 Mar 2008 05:46:50 +0000 (22:46 -0700)]
Made the all scripts examples, allowing local copies
to be created by the other users that aren't tracked by GIT.

16 years agoAdded ability to deal with negative data values.
Alan J. Pippin [Tue, 4 Mar 2008 02:59:05 +0000 (19:59 -0700)]
Added ability to deal with negative data values.

16 years agoAdded total data count for each date
Alan J. Pippin [Mon, 3 Mar 2008 15:09:49 +0000 (08:09 -0700)]
Added total data count for each date

16 years agoAdded ability to parse snapshot total log files.
Alan J. Pippin [Mon, 3 Mar 2008 15:02:25 +0000 (08:02 -0700)]
Added ability to parse snapshot total log files.

16 years agoChanged precision of gigabyte sizes to be xx.xx.
Alan J. Pippin [Mon, 3 Mar 2008 14:14:00 +0000 (07:14 -0700)]
Changed precision of gigabyte sizes to be xx.xx.
Made column width of filesystem dynamically sized.

16 years agoMade a simple wrapper script to dump the output to a log file.
Alan J. Pippin [Sun, 2 Mar 2008 15:18:06 +0000 (08:18 -0700)]
Made a simple wrapper script to dump the output to a log file.

16 years agoIncreased width of zfs filesystem column. Output sorted by filesystem now.
Alan J. Pippin [Sun, 2 Mar 2008 15:17:38 +0000 (08:17 -0700)]
Increased width of zfs filesystem column. Output sorted by filesystem now.

16 years agoInitial commit/revision of a number of ZFS scripts and utilities.
Alan J. Pippin [Sat, 1 Mar 2008 17:31:26 +0000 (10:31 -0700)]
Initial commit/revision of a number of ZFS scripts and utilities.