[mythtv-users] xfsrestore backup woes

Stephen Worthington stephen_agent at jsw.gen.nz
Tue Nov 29 16:37:03 UTC 2016


On Mon, 28 Nov 2016 23:50:19 -0500, you wrote:

>On 11/28/16 10:24 PM, Mike Hodson wrote:
>> You can do a very similar, and (if I'm right, logically the exact same
>> thing) if your XFS filesystem resides on LVM, if you have (in this
>> example, more than 2GB) free space in the LVM volume group to create the
>> snapshot COW space. 
>> 
>> lvm lvcreate --size 2g --snapshot --name
>> /dev/volumegroup/backupthis_snapshot yourvg/your_root # creates point in
>> time snapshot
>> xfsdump [options] /dev/volumegroup/backupthis_snapshot 
>> lvm lvremove -f yourvg/backupthis_snapshot  # removes the snapshot, and
>> merges all changes back into the live fs.
>
>
>Good idea.  I'll look into this if I ever migrate over to LVM.   Though
>as I dig deeper into the issue, I remembered that I keep a rolling
>window of backups up to 2 months ago.  Even my 2-month old level-0
>backup was missing /etc/mythtv/config.xml.   This makes me think that
>there was something other than being in-use preventing it from being
>backed up.
>
>Just out of curiosity, what's the timestamp on your
>/etc/mythtv/config.xml file?   I assume it isn't being written to.  And
>if so, then I question whether an LVM snapshot would allow it to be
>backed up.
>
>
>Thanks
>-WD

My timestamps for my config.xml files on two MythTV setups are quite
recent - so I think it must be written to when mythbackend or
mythfrontend starts up.


More information about the mythtv-users mailing list