Status
Not open for further replies.

msk19994

Active Member
2,813
2011
566
15
Hey Guys
I wanted to inquire as to how can i backup the data in ovh rescue mode ie i have zipped the data on my server that is in rescue mode but want to transfer the data to another server and i cant do that normally because i guess the apache isnt working in the rescue mode.
So it would be great if someone could help me get the backup of the server thanks

__________________
Added after 13 Hours 52 minutes:

Oh well i found a solution
First u need to mount the partition that u need to backup the files from
to check that we use fdisk
so lets suppose i had my partition named as sda2
i created a folder rescue in / and then mounted the sd2 over the rescue using mount /dev/sda2 /rescue
after that i zipped the files that wanted to zip using
tar -czf filename.tar.gz * (Note its faster this way other than tar -czvf filename.tar.gz * as this shows files and it sometimes hangs)
This best way to tar big folders is to use the screen command so that it doesnt get closed even if u close the ssh terminal from your side
after it was zipped i used this tutorial to transfer the files
1&1 Help Center - Transfer Data to/from Your Server while in Rescue Mode
it has for both the windows ftp as well as the linux server to server transfer method
Enjoy
 
Last edited:
3 comments
just use SCP to send file from your source server.

Run this on shell on source server where 1.2.3.4 is your target/remote server.
Code:
scp filename root@1.2.3.4:/path/to/remote/server/folder
 
Status
Not open for further replies.
Back
Top