-
Notifications
You must be signed in to change notification settings - Fork 564
Automatic Backup For Faveo Helpdesk
This document explain how to set up automatic backup in Linux Server for Faveo-Helpdesk
Step1: Create a new file
#touch file_name.sh
Step2: Open the file using your favourite editor. Here i'm using vim
#vi filename.sh
Step3: Paste the below script in the file
#!/bin/sh
app_directory=" " # e.g
db="Database Name" #Enter Database user name here
db_user="Database User"
db_password="Database Password"
db_bkp_directory="Path/to/Database/Directory"
files_bkp_directory="Path/to/Faveofiles/Directory"
date=`date +%d%m%y%H%M`
#Database backup
mysqldump -u $db_user -p$db_password $db > $db_bkp_directory/db-bkp-$db-$date.sql
#File system backup
zip -r $files_bkp_directory/files-bkp-$date.zip $app_directory >> /dev/null 2>&1
#Delete files older than 7 days
find $db_bkp_directory/ -mtime +7 -exec rm {} \;
find $files_bkp_directory/ -mtime +7 -exec rm {} \;
Step4: Give permission to the script
#chmod +x file_name.sh
Step5: Set the script in cron to execute daily at your preferred time. Here i’m setting to execute it daily 12:00 am.
Open cron tab
#crontab -e and add the script with full path to it and time
# 0 0 * * * cd /Path/to/script && ./file_name.sh
Note : Before creating the script fill all the required information in the script such as app directory, Database Name, etc..
Below are two tools for backup option in Windows.
These are two commonly used backup tools for data and database backup. We recommend using efficient tools like Code Guard for the backup process which will be much easy to configure for non technical users also.
Did you find it helpful? If not email us on support@faveohelpdesk.com
Installation and Upgrade Guide
- GUI Install Wizard
- Manual Install
- CLI Install
- Server Requirements
- Installation with Apache
- Installation with cPanel
- Cron Job or any Job scheduler
- Faveo Helpdesk Installation on CentOS 7 with Apache on PHP 7.1
- Faveo Helpdesk Installation on CentOS 7 with Nginx on PHP 7.1
- Faveo Helpdesk Installation on Ubuntu 18.04 LTS with Apache on PHP 7.1
- Faveo Helpdesk Installation on Ubuntu 18.04 LTS with Nginx on PHP 7.1
- Faveo Helpdesk Installation on Debian 9 with Nginx on PHP 7.1
- Faveo Helpdesk Installation on Debian 9 with Apache on PHP 7.1
- Migrating Faveo from one server to another
- Configuration of Redis with Faveo
- Install and configure Redis, Supervisor and Worker for Faveo on Ubuntu 16.04
- Install Let’s Encrypt SSL on CentOS 7 Running Apache Web Server
- Install and configure a simple mail server for sending mails using PHP mail function in Faveo on Ubuntu 16.04 server
- Install and configure Redis, Supervisor and Worker for Faveo on Centos 7
- Install and configure a simple mail server for sending mails using PHP mail function in Faveo on Centos 7 server
- Faveo Helpdesk Pro Installation on Windows Server 2012 R2
- Install Active Directory Domain Services in Windows Server 2012 R2
- Install Faveo Helpdesk Community on Centos, Ubuntu or Debian Using Script
- Set up automatic backup for Faveo-Helpdesk
Administrator's Guide
- Faveo File Storage
- Change client side theme color
- How to edit or change the footer in faveo
- How to change agent and admin panel Faveo logo link and logo
- Agents
- Departments
- Team
- Priority
- SLA
- Workflow
- Helptopic
- Default Ticket Settings
- Status
- Rating
- Close Ticket Workflow
- Company Settings
- Social Login
- Language
- Security
- Debugging/Logs
- Ban Emails
- Widgets
Agent's Guide
Email Integration
Release & Upgrade Notes
- General Faveo Upgrade Guide Manual
- General Faveo Upgrade Guide Auto
- Upgrade guide to v1.9.2
- Upgrade guide to v1.9.0
- How to update v1.0.7.9 to v1.0.8.0
- Manual Upgrade from v1.0.7.8 to v1.0.7.9
- Faveo Release notes & upgrade guide for V1.0.7.7
- Faveo Release notes & upgrade guide for V1.0.7.5
- Faveo Release notes & upgrade guide for V1.0.7
Known Issues
- The open_basedir restriction in effect
- 404 Not Found
- 500 Internal Server Error
- Bug after update from 1.0.7.4 to 1.0.7.5 or higher version
- Syntax error, unexpected ‘var’(T_VAR), expecting ‘;’
Contribute & Feedback
- Support the community edition
- Contribution Guide
- Faveo Feedback & Customisation
- Help in language translate
Knowledge Base
Third Party Integration
Plugins
API