Quantcast
Viewing all articles
Browse latest Browse all 3749

how to wipe the 70-persistent-net.rules on the qcow2 image while doing standard backup

我需要解决方案

Hi Experts,

I have one RedHatLinux server named "song" and I installed NetBackup client Version7.7 on it.

There are two VMs named "songM001OAM01" and "songM002DB01" residing on "song".

For these two VMs, there are directory /var/images/song/songM001OAM01 and /var/images/song/songM002DB01 on the host server "song" to save the qcow2 files.

In each VM, there is /etc/udev/rules.d/70-persistent-net.rules file.

I create one standard policy and add client "song" to backup direcotry "/var/images/song".

My question is how can I do not backup 70-persistent-net.rules file while backing up direcotry "/var/images/song" using Symantec NetBackup.

I don't want to delete 70-persistent-net.rules file manually from each VM before doing backup.

[root@song ~]# cd /var/images/song
[root@song song]# ll
total 8
drwxr-xr-x. 2 root root 4096 Aug 25 15:36 songM001OAM01
drwxr-xr-x. 2 root root 4096 Aug 25 15:36 songM002DB01
[root@song song]# cd songM001OAM01
[root@song songM001OAM01]# ll
total 11658112
-rw-r--r--. 1 root root     376832 Aug 25 15:36 configdrive.iso
-rw-r--r--. 1 root root 3182755840 Aug 26 14:01 datadisk.qcow2
-rw-------. 1 root root 8754757632 Aug 26 14:01 rhel.qcow2
-rw-r--r--. 1 root root       2859 Aug 25 15:35 vmdomain.xml
[root@song songM001OAM01]# cd ../songM002DB01
[root@song songM002DB01]# ll
total 20547580
-rw-r--r--. 1 root root      376832 Aug 25 15:36 configdrive.iso
-rw-r--r--. 1 root root 15501361152 Aug 26 14:01 datadisk.qcow2
-rw-------. 1 root root  5538971648 Aug 26 14:01 rhel.qcow2
-rw-r--r--. 1 root root        2855 Aug 25 15:36 vmdomain.xml
[root@song songM002DB01]#

Regards,

Lacey


Viewing all articles
Browse latest Browse all 3749

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>