Re: Backup using ZFS Snapshots

2016-12-15 Thread Stefan Sperling
On Thu, Dec 15, 2016 at 04:43:29PM +, Daniel Shahaf wrote: > Mark Phippard wrote on Thu, Dec 15, 2016 at 09:40:43 -0500: > > 2. The easier approach is the start-commit hook. Just have a single master > > hook-script that all repositories are symlinked to. Assuming you do not > > use this hook

Re: Backup using ZFS Snapshots

2016-12-15 Thread Daniel Shahaf
Mark Phippard wrote on Thu, Dec 15, 2016 at 09:40:43 -0500: > 2. The easier approach is the start-commit hook. Just have a single master > hook-script that all repositories are symlinked to. Assuming you do not > use this hook for anything else, you can just have it in place with content > like:

Re: Backup using ZFS Snapshots

2016-12-15 Thread Andrew Martin
- Original Message - > From: "Mark Phippard" > To: "amartin" > Cc: "users" > Sent: Thursday, December 15, 2016 8:40:43 AM > Subject: Re: Backup using ZFS Snapshots > On Thu, Dec 15, 2016 at 9:25 AM, Andrew Martin wrote: > >>

Re: Backup using ZFS Snapshots

2016-12-15 Thread Mark Phippard
On Thu, Dec 15, 2016 at 9:25 AM, Andrew Martin wrote: > > If all of your activity happens via Apache there might be easier ways to > make > > all your repositories read only during a backup window and you can also > always > > use the start-commit hook as an easy way to make repositories read onl

Re: Backup using ZFS Snapshots

2016-12-15 Thread Andrew Martin
- Original Message - > From: "Mark Phippard" > To: "amartin" > Cc: "users" > Sent: Tuesday, December 13, 2016 3:57:04 PM > Subject: Re: Backup using ZFS Snapshots > On Tue, Dec 13, 2016 at 4:47 PM, Andrew Martin wrote: > >

Re: Backup using ZFS Snapshots

2016-12-13 Thread Mark Phippard
On Tue, Dec 13, 2016 at 4:44 PM, Andrew Martin wrote: > - Original Message - > > From: "Stefan Sperling" > > To: "amartin" > > Cc: "users" > > Sent: Tuesday, December 13, 2016 3:29:50 PM > > Subject: Re: Backup using ZFS S

Re: Backup using ZFS Snapshots

2016-12-13 Thread Mark Phippard
On Tue, Dec 13, 2016 at 4:47 PM, Andrew Martin wrote: > > > - Original Message - > > From: "Mark Phippard" > > To: "amartin" > > Cc: "users" > > Sent: Tuesday, December 13, 2016 3:35:37 PM > > Subject: Re: Backup usi

Re: Backup using ZFS Snapshots

2016-12-13 Thread Andrew Martin
- Original Message - > From: "Mark Phippard" > To: "amartin" > Cc: "users" > Sent: Tuesday, December 13, 2016 3:35:37 PM > Subject: Re: Backup using ZFS Snapshots > On Tue, Dec 13, 2016 at 4:17 PM, Andrew Martin wrote: > >&g

Re: Backup using ZFS Snapshots

2016-12-13 Thread Andrew Martin
- Original Message - > From: "Stefan Sperling" > To: "amartin" > Cc: "users" > Sent: Tuesday, December 13, 2016 3:29:50 PM > Subject: Re: Backup using ZFS Snapshots > On Tue, Dec 13, 2016 at 03:17:53PM -0600, Andrew Martin wrote: >>

Re: Backup using ZFS Snapshots

2016-12-13 Thread Mark Phippard
On Tue, Dec 13, 2016 at 4:17 PM, Andrew Martin wrote: > Hello, > > I am running a Subversion 1.9.3 server on Ubuntu 16.04. I currently use > svnadmin hotcopy to safely backup the SVN repositories, but since the > repositories are now hosted on a ZFS dataset, I would like to utilize ZFS's > snapsh

Re: Backup using ZFS Snapshots

2016-12-13 Thread Stefan Sperling
On Tue, Dec 13, 2016 at 03:17:53PM -0600, Andrew Martin wrote: > Hello, > > I am running a Subversion 1.9.3 server on Ubuntu 16.04. I currently use > svnadmin hotcopy to safely backup the SVN repositories, but since the > repositories are now hosted on a ZFS dataset, I would like to utilize ZFS's

Backup using ZFS Snapshots

2016-12-13 Thread Andrew Martin
Hello, I am running a Subversion 1.9.3 server on Ubuntu 16.04. I currently use svnadmin hotcopy to safely backup the SVN repositories, but since the repositories are now hosted on a ZFS dataset, I would like to utilize ZFS's snapshot capabilities to create atomic, point-in-time backups of the repo