Re: snapper for Ubuntu? (WAS: btrfs auto snapshot)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 10, 2012 at 9:35 PM, Matthias G. Eckermann <mge@xxxxxxxx> wrote:
> On 2012-04-10 T 20:48 +0700 Fajar A. Nugraha wrote:
>> How can I create config for /data or other directories (other than
>> manually creating the config file and .snapshots directory)?
>
> This should do it:
>
> sudo snapper -c home create-config /home
> sudo snapper -c data create-config /data
>
> The reasons for the extra "-c <name>" is that you have to
> tell snapper, which name to choose for the configuration
> you want to create. This name is the one you can reference
> in future actions such as create/modify/delete.

Great! That works, thanks.

Is there an oposite of create-config, i.e. delete for just one subvolume?
delete-config seems to delete everything (configs for all subvolume
and all snapshots).

Also, one minor detail, I noticed that the cron configuration file is
/etc/sysconfig/snapper. It should be /etc/default/snapper in
ubuntu/debian.

-- 
Fajar
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux