Welcome to our detailed guide on efficient automated backup scripting, aimed to help you manage and safeguard your valuable data. In today’s era, where data is a pivotal asset, having a reliable backup strategy is paramount. By leveraging FTP in Bash scripting, this guide provides a seamless approach to data management and backup rotation. Understanding…
Automating LXC Container Backups: A Step-by-Step Guide
Hello tech enthusiasts! Ever struggled with manual backups for LXC containers? In today’s post, I’ll demonstrate a seamless way to automate LXC container backups, making your life a tad easier. Without further ado, let’s delve into the script that I religiously use for this task: #!/bin/bash SHELL=/bin/bash PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin DATE=`date +%Y-%m-%d` # The name of the…
How to Quickly Delete All MySQL Databases
Ever needed to delete all databases in MySQL? I recently faced this challenge. With a vast number of databases, manually deleting each one was daunting and time-consuming. But don’t fret, I’ve discovered an efficient command that makes this task a breeze. Streamlining MySQL Database Deletion: The Lifesaver Command: mysql -uroot -p<password> -e "show databases" |…
Solving the ‘failed to open statefile /var/run/network/ifstate: No such file or directory’ Error on a Debian Server
When your Debian server throws network issues, especially after a restart, it can bring operations to a halt. A common error that many administrators face, after commands ifup eth0 or /etc/init.d/networking restart is: failed to open statefile /var/run/ network/ifstate: No such file or directory This issue, while common, can be quite vexing as it directly affects…
Migrating sites from IIS7 to IIS8.5
Hello. I was given the next task – to migrate the sites that are hosted on Windows 2008 to Windows 2012R2. Difficulties turned out to be that every site revolves on a separate application pool, from an individual user whose password is not known. Sites are pretty much and almost all have different settings (isapi…
WebSitePanel. How to migrate hosting spaces to the other server
Hello. I was asked to migrate hosting spaces of websitepanel hosting panel to the other server, so that new and old hosting plans would work on the new server. After transferring resources to the new server, you need to update the websitepanel database, otherwise it will continue to use the old servers. This can be…
Creating an IIS cluster with load balancing with nginx
Good afternoon, below will be told how to create a failover cluster with load balancing. We will balance the load with nginx, because IIS ARR 1) requires add. License for Windows, 2) can not monitor the http responses of several sites. Let’s get started. First, I’ll install the IIS itself, 2 pieces (you can have…
Ubuntu – find out the free space
How much free space is left? Who took it? These two issues have to be faced constantly, especially file server administrators. If on the Windows platform, in a graphical environment, it’s not difficult to find out, then the console of server versions of Linux can confuse many. However, do not be afraid, it’s quite easy…
How to setup ProFTPd for hosting
There are many articles about configuring LAMP.Many of them have a couple of paragraphs, which briefly describe the installation and basic configuration of ProFTPd.As a rule, this is not enough to organize a normal hosting operation.The question arises – “how to configure a specific user’s ftp access to a particular virtual host?”. Virtual FTP users….
HyperV performance monitoring.
HyperV performance monitoring. If we are talking about monitoring the performance of the OS on a hardware (“iron”) platform, then very few people have a question how to do this. There are already known tools and methods for monitoring such systems. But when it comes to monitoring the performance of a hypervisor with virtual machines…





