# Community # Backup ### General premises

In this section you can find a **general guide to perform vtenext backups**.

The backup procedure was performed with **vtenext 19ce**. **The guide is also valid for the other versions of vtenext**.

##### Windows Go to the root folder of vtenext (eg. `C:\vtenext19ce\htdocs`) and create new zip archive.
Then open [SQLyog](https://www.webyog.com/product/sqlyog) or [phpMyAdmin](https://www.phpmyadmin.net/) and dump the database. If you use SQLyog follow these step: - Open SQLyog and create new connection
- Go to the root folder of vtenext and open the `config.inc.php` file ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-11-Nov/scaled-840-0/image-1574674294024.png) - Reopen SQLyog, compile the connection form and save the connection
- Save the database dump
Done! ##### Linux Go to the root folder of vtenext (eg. `/var/www/html/vtenext19ce`) and create new archive. `cd /var/www/html` `tar cvzf backups/vte1907_1817_20191126.tgz vtenext19ce`

**Replace `vtenext19ce` with your folder name**

**You can rename the backup `vte1907_1817_20191126.tgz` as you want**

Then dump the database. `mysqldump -u root -p  vte1907_1817 --single-transaction --quick --routines --triggers --events | gzip -7 > backups/vte1907_1817_20191126.sql.gz`

**Replace `vte1907_1817` with your database name**

**You can rename the backup `vte1907_1817_20191126.sql.gz` as you want**

# Update vtenext from 18ce to 19ce ### General premises

The update is valid only for **vtenext 18ce**

**You have to enable cron in order to run the update**

**Please backup the files and the database of vtenext before the update. Follow the instructions in [this link](https://usermanual.vtenext.com/books/community/page/backup).**

### Update - Open [this link](https://sourceforge.net/projects/vtecrm/files/update_packages/) and download `18ce_UpdateModule.zip` and `18ce_updater.zip` ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-11-Nov/scaled-840-0/image-1574181419599.png) - Extract the content of `18ce_updater.zip` ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-11-Nov/scaled-840-0/image-1574181862118.png) - Copy `18ce_updater` with its contents inside the root folder of vtenext - Open your web browser and navigate to the url where you installed vtenext. Login and then navigate to updater.html (eg. localhost:81/updater.html) and the page will redirect to the application settings ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-11-Nov/scaled-840-0/image-1574681049864.png) - Upload `18ce_UpdateModule.zip` file
If you have cron enabled, wait 12 hours (the updater checks every 12 hours to avoid server overloads). Otherwise, enable it.
- After 12 hours you will receive a new notification with this text "An update of vtenext is available. Click here for details"
![](https://usermanual.vtenext.com/uploads/images/gallery/2019-11-Nov/scaled-840-0/image-1574774920892.png) - Click the notification and a new page will open with the details of the update ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-11-Nov/scaled-840-0/image-1574774984691.png) - Click "Schedule Update" and now there will be 2 scenarios depending on the operating system you are using ##### Windows

**Automatic update is not supported on Windows.**

![](https://usermanual.vtenext.com/uploads/images/gallery/2019-11-Nov/scaled-840-0/image-1574775050374.png) **Follow the on-screen instructions to update.** - Backup files and database - Download the update package - Unzip the downloaded file and overwrite with its contents the root folder of vtenext ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-11-Nov/scaled-840-0/image-1574695415416.png) - Follow the point 4 of the instructions ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-11-Nov/scaled-840-0/image-1574695591487.png) ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-11-Nov/scaled-840-0/image-1574695638039.png) ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-11-Nov/scaled-840-0/image-1574695710149.png) Done! ##### Linux Enter the date and the time in which you want to schedule the update and the list of users to alert. ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-11-Nov/scaled-840-0/image-1574763219855.png) Wait until the selected time and after a while you will see the vtenext in maintenance mode. ![](https://usermanual.vtenext.com/uploads/images/gallery/2019-11-Nov/scaled-840-0/image-1574765619199.png) Once the maintenance screen disappears, logout and login from vtenext. Done!