A script to backup oVirt engine onto a NFS share.
Copyright (c) 2020 Marco Napolitano
The author is Marco Napolitano, email: mannysys-AaaaT-outlook.com put at sign instead of -AaaaT-
The content of the repository is licensed under Apache License, available at: http://www.apache.org/licenses/LICENSE-2.0
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
This repository contains a shell script to backup oVirt engine onto a NFS share.
After doing backup, keeps the last 9 backups and deletes the older ones.
It is important to substitute the right server:/export/path/ inside the script.
Schedule script execution inside root's crontab, for example:
30 0 * * * /root/engine-maintenance.sh >/dev/null 2>&1