Create DirectAdmin backups on mounted volume

kloentje2

Verified User
Joined
Dec 15, 2013
Messages
16
Hello,

My server just got into a problem and now I only have access to the volumes in the rescue mode.

So first I check the volumes (I know that I called them sda1 and sda2, with primary data on sda1) and mount it with
mkdir /mnt
mount /dev/sda1 /mnt

Now I have access to that volume via /mnt insted of only /

How can I make backups to migrate my users to another server?

OS of the rescue mode of my server: FreeBSD
OS of the server: CentOS 6
OS of the destionation server CentOS 8.2
 
Do you have access to linux rescue I ask that as I'm unfamiliar with tools that are available even they are similar

normally in linux rescue I will mount everything to try to fix it

In your case mount the then backup partition sda2 to mnt

and access backups from there
mount /dev/sda2 /mnt


then use rsycn to move them to the new server as I do not know if it is available on your FreeBSD

IF you are more ok with graphic interface after mount of the backup partition on the rescue

you can install mc (midnight commander) on the new destination server

yum install mc

mc

and the use it to connect the rescue (on top mc menu choose right and from the choose connect (using shell or sftp to the rescue) then browse to mnt and copy backup files
 
Oops, my rescue OS is Debian

- The directadmin.conf file is already chmod 777 (owned by root)
- I have changed the home-dir to /mnt/home2 instead of /home2 in config

My goal is to create backups for every users, so I can move them to my other server

root@rescue:/mnt/usr/local/directadmin/scripts# /mnt/usr/local/directadmin/dataskq d200 --config /mnt/usr/local/directadmin/conf/directadmin.conf
Debug mode. Level 200

Config::readFile: Unable to read /mnt/usr/local/directadmin/conf/directadmin.conf: Unable to open /mnt/usr/local/directadmin/conf/directadmin.conf for reading.<br>
Permission denied<br>

Error reading new config: Unable to open /mnt/usr/local/directadmin/conf/directadmin.conf for reading.<br>
Permission denied<br>
<br>
 
Back
Top