Nikolaos Milas
2017-05-06 18:46:06 UTC
Hello,
I would like mainly to ask what is considered best practice in backing
up / restoring using NFS.
As an example, I have tried using:
TargetDir1=/mnt/nfs-share/vm-x1/mondo-`hostname`-`date +%Y-%m-%d`
/usr/sbin/mondoarchive -O -i -z -s 4480m -d $TargetDir1 -E "/mnt" -9
which creates ISO files on an NFS shared directory, already mounted at
/mnt/nfs-share.
I also tried:
TargetDir2=vm-x1/mondo-`hostname`-`date +%Y-%m-%d`
/usr/sbin/mondoarchive -O -n "nfs://10.10.10.100:/data/col1/bkup-share"
-d $TargetDir2 -E "/mnt" -9
The two methods in fact store the backup at exactly the same place.
I was expecting the latter method to store a backup as one file, but in
fact it also created a set of ISO files.
Questions:
1. Are both backup methods above considered OK to use?
2. Is it considered sane practice to use the NFS backup method on a
network NFS share which is already mounted on the box?
2. If both methods are considered OK, how could we compare their
advantages/disadvantages?
3. What are the differences in restoring? In general, are (should)
mondoarchive backups be able to be restored with any restore method,
regardless the method they have been taken?
As an example:
Can backups of both methods above be restored as mounted ISOs (virtual
DVDs)?
Can backups of both methods above be restored from a mounted directory
(as NFS mount) with the "Restore from Hard Disk" method?
Can backups of both methods above be restored using network (NFS)
restore method?
Can you please help me understand?
Thank you very much,
Nick
I would like mainly to ask what is considered best practice in backing
up / restoring using NFS.
As an example, I have tried using:
TargetDir1=/mnt/nfs-share/vm-x1/mondo-`hostname`-`date +%Y-%m-%d`
/usr/sbin/mondoarchive -O -i -z -s 4480m -d $TargetDir1 -E "/mnt" -9
which creates ISO files on an NFS shared directory, already mounted at
/mnt/nfs-share.
I also tried:
TargetDir2=vm-x1/mondo-`hostname`-`date +%Y-%m-%d`
/usr/sbin/mondoarchive -O -n "nfs://10.10.10.100:/data/col1/bkup-share"
-d $TargetDir2 -E "/mnt" -9
The two methods in fact store the backup at exactly the same place.
I was expecting the latter method to store a backup as one file, but in
fact it also created a set of ISO files.
Questions:
1. Are both backup methods above considered OK to use?
2. Is it considered sane practice to use the NFS backup method on a
network NFS share which is already mounted on the box?
2. If both methods are considered OK, how could we compare their
advantages/disadvantages?
3. What are the differences in restoring? In general, are (should)
mondoarchive backups be able to be restored with any restore method,
regardless the method they have been taken?
As an example:
Can backups of both methods above be restored as mounted ISOs (virtual
DVDs)?
Can backups of both methods above be restored from a mounted directory
(as NFS mount) with the "Restore from Hard Disk" method?
Can backups of both methods above be restored using network (NFS)
restore method?
Can you please help me understand?
Thank you very much,
Nick