Re: subvol copying

2013-05-15 Thread Gabriel de Perthuis
A user of a workstation has a home directory /home/john as a subvolume. I wrote a cron job to make read-only snapshots of it under /home/john/backup which was fortunate as they just ran a script that did something like rm -rf ~. Apart from copying dozens of gigs of data back, is there a

Re: subvol copying

2013-05-15 Thread Chris Murphy
On May 15, 2013, at 1:40 AM, Gabriel de Perthuis g2p.c...@gmail.com wrote: You can move subvolumes at any time, as if they were regular directories. In the example case, the subvolumes are read-only. So is it possible to make a read-only subvolume (snapshot) read-writable? And is it

Re: subvol copying

2013-05-15 Thread Harald Glatt
On Wed, May 15, 2013 at 6:43 PM, Chris Murphy li...@colorremedies.com wrote: On May 15, 2013, at 1:40 AM, Gabriel de Perthuis g2p.c...@gmail.com wrote: You can move subvolumes at any time, as if they were regular directories. In the example case, the subvolumes are read-only. So is it

Re: subvol copying

2013-05-15 Thread Chris Murphy
On May 15, 2013, at 10:44 AM, Harald Glatt m...@hachre.de wrote: You make a ro snapshot rw by creating a snapshot of it that is rw. So yes to both questions, by doing the same thing in both cases. In other words, a normal snapshot (without -r) of a read-only snapshot will create a rw

Re: subvol copying

2013-05-15 Thread Harald Glatt
On Wed, May 15, 2013 at 7:28 PM, Chris Murphy li...@colorremedies.com wrote: On May 15, 2013, at 10:44 AM, Harald Glatt m...@hachre.de wrote: You make a ro snapshot rw by creating a snapshot of it that is rw. So yes to both questions, by doing the same thing in both cases. In other words,

subvol copying

2013-05-14 Thread Russell Coker
A user of a workstation has a home directory /home/john as a subvolume. I wrote a cron job to make read-only snapshots of it under /home/john/backup which was fortunate as they just ran a script that did something like rm -rf ~. Apart from copying dozens of gigs of data back, is there a good