Backup script sample
1 Describes the language
2 Shows message "packing files in progress..." on the screen
3 Packing file /root/install.log and folder /lib in archive /home/backup/root_lib-19.10-19-06-13.tar
4 Packing file of virtual machine /dev/vg-virt/kvm110_img which is in use without suspending the VM. Archive name format: kvm110-19.10-19-06-13.gz
5 Find and delete files older than 6 days in folder /home/backup/
6 Shows message "completed" on the screen
So script can be placed in crontab to be scheduled 2 times a week and it will store 2 actual backups and remove older ones.
Was this answer helpful?
For increase maximum size of uploads file you should set only one setting in php.ini. Set...
1. Use only strong passwords for all accounts , especially for root. Always use a secure root...
We describe how to install Oracle 11g Express on Centos 6 x86_64 Openvz VPS. First of all you...
How to configure OpenVPN client on Windows: First download and install the client. Then...
To set a script to start at boot in CentOS, add it into /etc/rc3.d/S99local. For example:...
Powered by WHMCompleteSolution