Re: --autobackup option

Zdenek Kabelac <[email protected]> Wed, 21 Aug 2024 13:23:05 +0200
Newsgroups gmane.linux.lvm.general
Message-ID <[email protected]>
Dne 17. 08. 24 v 4:19 [email protected] napsal(a):
> There's a --autobackup option on many of the LVM commands, e.g., lvcreate.
> What does it do?  Does it set a flag on the LV so that all future operations
> backup the metadata?  Or does it cause a one-off backup just for that
> command?  The man page is ambiguous.  And vgcfgbackup(8) doesn't actually
> describe it.
> 

Hi

This option (--autobackup)  is per command.

If you want to disable backups for all commands - you need to do it in 
lvm.conf   (  backup/backup=0 }

In general in most cases this option should be left in its 'default' enabled 
setting - unless you are doint too many changes too frequently and backup do 
consume too many resources...

Regards

Zdenek