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

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

 



On 2012-04-10 T 20:48 +0700 Fajar A. Nugraha wrote:
 
> Anyway, I got snapper-0.0.10-0 installed now, but having a small
> problem. I use different subvolumes for multiple directories. For
> example, /home and /data. Creating the config for both results in an
> error
> 
> $ sudo snapper list-configs
> Config | Subvolume
> -------+----------
> $ sudo snapper create-config /home
> $ sudo snapper create-config /data
> Creating config failed (config already exists).
> $ sudo snapper list-configs
> Config | Subvolume
> -------+----------
> root   | /home
> 
> 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.

HTH

so long -
	MgE

-- 
Matthias G. Eckermann     Senior Product Manager   SUSE® Linux Enterprise
SUSE LINUX Products GmbH  Maxfeldstraße 5          90409 Nürnberg Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
--
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