my sql database backup script

my sql database backup to ftp After upload this script to sever we need dos2unix to convert this file to unix format and run if not installed then install do2unix

unzip tar.zst backup file in directadmin

tar –use-compress-program=unzstd –extract –file=admin.root.admin.tar.zst tar –use-compress-program=unzstd –extract –file=user.RESELLER.USER.tar.zst backup/NAME_OFDB.sql Just replace RESELLER with the name of the admin in the filename, and USERNAME with the user figuring in the filename …

Read more

add new partition in direct admin

First add partition using this tutorial link Then Add below mentioned code in your /usr/local/directadmin/conf directadmin.conf file. /mnt/disk is your mount partition of newly added partition