Unsolved
This post is more than 5 years old
11 Posts
0
423
May 22nd, 2014 13:00
Reprobe for file systems after a precmd on linux?
I am working on a script that will take LVM snap shots of certain file systems and mount them up to be backed up.
This way I can quiet the DBs and get the snap and release the quiet point.
I have the script running but the issue is that if for a client I have "All" as the saveset then the probe at the beginning of the backup doesn't see the file systems that get mounted by the precmd so they don't get backed up.
It works fine if I specify the mount as a saveset along with all the other file systems as well (/ /boot /usr /var etc).
I was hoping I could just specify "All" and it would work so I don't have to worry about someone creating a new file system and not adding it to the client saveset list.
So is there a way to "reprobe" after the precmd to get a fresh list of "All" file systems?
Thanks!



ble1
4 Operator
•
14.3K Posts
0
May 22nd, 2014 14:00
Short answer - no.
Longer answer: create separate group for snapshot based backup and there use client with fixed file system where you would mount snapshot. In first group with save set All, assign directive to client to skip DB data.