summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Alan J. Pippin [Sat, 9 Oct 2010 14:31:02 +0000 (08:31 -0600)]
Added an already running check
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
Alan J. Pippin [Fri, 29 Jan 2010 05:14:15 +0000 (22:14 -0700)]
Added throttle option support
Alan J. Pippin [Fri, 29 Jan 2010 04:49:47 +0000 (21:49 -0700)]
Fixed typo in logfile name
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.
Alan J. Pippin [Thu, 29 Jan 2009 14:39:50 +0000 (07:39 -0700)]
Added missing anchor to backup pool name filter
Alan J. Pippin [Thu, 29 Jan 2009 14:39:38 +0000 (07:39 -0700)]
Increased spin lock cycle time
Alan J. Pippin [Sun, 18 Jan 2009 20:33:02 +0000 (13:33 -0700)]
Fixed midnight bug in autosnap wrapper script
Alan J. Pippin [Sat, 17 Jan 2009 23:13:23 +0000 (16:13 -0700)]
Changed default throttle options
Alan J. Pippin [Sat, 17 Jan 2009 22:43:47 +0000 (15:43 -0700)]
Fixed misnamed throttle opt var
Alan J. Pippin [Sat, 17 Jan 2009 22:40:08 +0000 (15:40 -0700)]
Set default throttle enable to 0
Alan J. Pippin [Sat, 17 Jan 2009 22:39:51 +0000 (15:39 -0700)]
Added new throttle option
Alan J. Pippin [Sat, 17 Jan 2009 07:10:28 +0000 (00:10 -0700)]
Fixed typo
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
Alan J. Pippin [Sat, 17 Jan 2009 04:20:03 +0000 (21:20 -0700)]
Renamed zfs-replicate wrapper script
Alan J. Pippin [Sat, 17 Jan 2009 04:13:38 +0000 (21:13 -0700)]
Removed accidentally added local configuration file from repo
Alan J. Pippin [Sat, 17 Jan 2009 04:10:44 +0000 (21:10 -0700)]
Added configuration scripts to hold customized options
Alan J. Pippin [Fri, 16 Jan 2009 15:10:07 +0000 (08:10 -0700)]
Added replicate wrapper logfile.
Added concept of "no limit" maxruntime.
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
Alan J. Pippin [Fri, 16 Jan 2009 07:07:05 +0000 (00:07 -0700)]
Removed old freebsd zfs scripts
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.
Alan J. Pippin [Fri, 16 Jan 2009 03:43:36 +0000 (20:43 -0700)]
Added new destroy on full option
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.
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.
Alan J. Pippin [Tue, 13 Jan 2009 03:49:21 +0000 (20:49 -0700)]
Added code to deal with not finding a common snapshot
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
Alan J. Pippin [Mon, 12 Jan 2009 06:41:20 +0000 (23:41 -0700)]
Changed name of local backup pool
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
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.
Alan J. Pippin [Mon, 12 Jan 2009 05:44:13 +0000 (22:44 -0700)]
Test commit
Alan J. Pippin [Mon, 12 Jan 2009 05:26:05 +0000 (22:26 -0700)]
Removed import command
Alan J. Pippin [Sun, 11 Jan 2009 00:29:54 +0000 (17:29 -0700)]
Changed location of log file
Alan J. Pippin [Sat, 10 Jan 2009 23:54:19 +0000 (16:54 -0700)]
Merged zfs-scrub scripts together
Alan J. Pippin [Sat, 10 Jan 2009 23:43:26 +0000 (16:43 -0700)]
Moved pool names to variable
Alan J. Pippin [Sat, 10 Jan 2009 23:41:47 +0000 (16:41 -0700)]
Updated paths
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
Super-User [Sat, 10 Jan 2009 23:20:38 +0000 (16:20 -0700)]
Not needed for Nexenta
Alan J. Pippin [Thu, 25 Sep 2008 21:36:36 +0000 (15:36 -0600)]
Renamed all references from USB to EXT
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.
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.
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
Alan J. Pippin [Fri, 22 Aug 2008 03:23:53 +0000 (21:23 -0600)]
Added support for handling compressed files
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
Alan J. Pippin [Sun, 20 Apr 2008 16:45:02 +0000 (10:45 -0600)]
Added usage information to the header
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.
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.
Alan J. Pippin [Fri, 14 Mar 2008 19:34:06 +0000 (13:34 -0600)]
Added date filter capability when parsing snapshot total logs.
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.
Alan J. Pippin [Tue, 11 Mar 2008 02:25:23 +0000 (20:25 -0600)]
Fixed bug in parsing snapshot total logs
Alan J. Pippin [Tue, 11 Mar 2008 02:20:35 +0000 (20:20 -0600)]
Updated to contain daily snapshot code
Alan J. Pippin [Tue, 11 Mar 2008 02:16:09 +0000 (20:16 -0600)]
Added new script to scrub a USB backup drive
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.
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.
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.
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.
Alan J. Pippin [Tue, 4 Mar 2008 02:59:05 +0000 (19:59 -0700)]
Added ability to deal with negative data values.
Alan J. Pippin [Mon, 3 Mar 2008 15:09:49 +0000 (08:09 -0700)]
Added total data count for each date
Alan J. Pippin [Mon, 3 Mar 2008 15:02:25 +0000 (08:02 -0700)]
Added ability to parse snapshot total log files.
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.
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.
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.
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.