r1soft get-module segmentation fault

When installing r1soft kernel module, I got the following error root@localhost:~# serverbackup-setup –get-module Failed to find headers at `/lib/modules/4.19.0-20-amd64/build`. Get module failed. Falling back to old get-module … signal: segmentation fault root@localhost:~# This was on a Debian server with 4.19.0-20-amd64 kernel. root@localhost:~# uname -a Linux localhost 4.19.0-20-amd64 #1 SMP Debian 4.19.235-1 (2022-03-17) x86_64 GNU/Linux root@localhost:~# … Read more

MySQL backup all databases

MySQL

To backup all databases on a MySQL server, run This will create sql backup file for each database in your MySQL server on the current directory. The first command will create a file with all database names. Second command loop through the database names and create backup using mysqldump command. See MySQL Backup

VestaCP disable Backups

VestaCP disable backup

In VestaCP, each packages have option to specify how many backups it can take. First you need to click on packages, then change number of backups allowed for each package. If backups allowed is more than 0, set it to 0. Users are created with these Packages. For all existing users, you need to manually … Read more

Plesk Change Backup Location

Plesk License Number

By default, Plesk store backups in folder /var/lib/psa/dumps/. To move this to a differnt partition or directory, create a folder mkdir /backup chown psaadm:psaadm /backup chmod 750 /backup Edit file vi /etc/psa/psa.conf Find DUMP_D /var/lib/psa/dumps Replace with DUMP_D /backup Move old backup to new location rsync -avzP /var/lib/psa/dumps/ /backup/ Remove old backup directory, here i … Read more

How to restore R1Soft Backup

To restore backup, login to R1Soft Server Backup Manager. Go to Protected Machines. This page will list all available servers. Click on wheel icon on right side. Click “Open Recovery Points” in the pop up menu. You get a new window with all available recovery points. Click on the wheel icon. In the popup menu, … Read more

r1soft

r1soft is a backup software from https://www.r1soft.com Installing Agent Install R1Soft Agent on CentOS Installing r1soft server backup agent on Debian/Ubuntu r1Soft Setup Add Server to R1Soft Server Backup Manager Configure Server Backup in R1Soft Backup Manager Using r1Soft Server Backup How to restore R1Soft Backup r1Soft Errors r1Soft public key is not available r1soft … Read more

Backup with tar

To backup a site using tar, i created a shell script. mkdir /usr/serverok/ vi /usr/serverok/backup-daily.sh With following content #!/bin/bash /bin/tar zcvhf /backup/daily/backup.tgz /home/serverok.in/public_html/ For weekly backup cp /usr/serverok/backup-daily.sh /usr/serverok/backup-weekly.sh sed -i ‘s/daily/weekly/g’ /usr/serverok/backup-weekly.sh Make it executable chmod 755 /usr/serverok/backup-daily.sh chmod 755 /usr/serverok/backup-weekly.sh Create backup folders mkdir -p /backup/weekly mkdir -p /backup/daily Set cronjob crontab -e … Read more

rsync

rsync command with exclude option, full server backup to a remote server. Transfer a file I normally use scp to do single file transfer. It may be better to it with rsync as you will be able to resume. -P == –partial –progress If you use non standard SSH port, then replace -e ssh with … Read more

Backup

Backup Software – Open Source Backup Software MySQL Backup automysqlbackupPlesk MySQL Daily Backup ScriptMySQL Backup using mysqldump Backup Storage