Getting Started
Important Moderation Notice
This community is currently under full moderation, meaning all posts will be reviewed before appearing in the community. Please expect a brief delay—there is no need to post multiple times. If your post is rejected, you will receive an email outlining the reason(s). We have implemented full moderation to control spam. Thank you for your patience and participation.
Top Liked Posts
-
By Vee4By Siva4By Vee2/* */By Maksym1By fun4net1
How to view default periodic backup in Versa Director ?
Hello,
By default, Versa Director takes periodic backup every day at 06:25 AM.
This setting is defined under the file /etc/crontab, at daily cron.
admin@Versa-Director-1:/etc$ cat crontab
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# m h dom mon dow user command
17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
#
The file /etc/cron.daily/vnms-cron-backup describes which types of backup is taken :
admin@Versa-Director-1:/etc/cron.daily$ sudo cat vnms-cron-backup
[sudo] password for admin:
#!/bin/bash
# To be run by cron - takes CDB backup
/opt/versa/vnms/scripts/vnms-backup.sh --backup include-package-dir false backups-dir /var/versa/backups system-triggered true create-local-backup true
It's possible to view user configured crontab with the command
admin@Versa-Director-1:/etc/cron.daily$ crontab -l -u root