Backing Up Linux VDS without Access
-
intermediate
- New to forums

- Posts: 8
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Fri Nov 01, 2013 11:30 am
Backing Up Linux VDS without Access
Well I lost my root access to my VDS and I'm being told to
"On your Server Control tab, you can select OS install discs. Select one for your OS, or just go with Ubuntu. REboot the VDS, visit the VNC tab and select rescue mode or recovery mode.
The system will let you start an SSH daemon and you can connect with it, mount your disks, and SCP the backup files off of it."
Could someone provide a tutorial on this? It's like my IPs are being blocked by my own VDS.
When I attempt to login the VDS via Putty, I receive
http://i.imgur.com/jCNzGSa.png
I am positive that the password is correct because I tried to login with a different IP address, it worked for a moment but never worked since.
"On your Server Control tab, you can select OS install discs. Select one for your OS, or just go with Ubuntu. REboot the VDS, visit the VNC tab and select rescue mode or recovery mode.
The system will let you start an SSH daemon and you can connect with it, mount your disks, and SCP the backup files off of it."
Could someone provide a tutorial on this? It's like my IPs are being blocked by my own VDS.
When I attempt to login the VDS via Putty, I receive
http://i.imgur.com/jCNzGSa.png
I am positive that the password is correct because I tried to login with a different IP address, it worked for a moment but never worked since.
Re: Backing Up Linux VDS without Access
The instructions are fairly straight forward. By mounting the disk, it will boot to the disk instead of the OS on the drive. From there you can get a SSH daemon booted so you can use putty to connect. You can then use FTP over SSH to download your files(which will back them up).
Not a NFO employee
-
intermediate
- New to forums

- Posts: 8
- Joined: Fri Nov 01, 2013 11:30 am
Re: Backing Up Linux VDS without Access
I got this error when I attempted to http://i.imgur.com/jOKsHCI.png
Re: Backing Up Linux VDS without Access
Manually configure eth0 using the information on your "IP Addresses" tab. (DHCP isn't used by NFO servers)
Not a NFO employee
Re: Backing Up Linux VDS without Access
I'd personally use Gentoo, since it includes what you need and drops you to a nice, simple command-line.
The procedure to rescue files would be something like this.
The procedure to rescue files would be something like this.
- Select "install-amd64-minimal-20131010.iso" from the DVD images selector, and check the box to boot to the CD/DVD.
- Reboot the VDS.
- Quickly go to the VNC console page. It will have a prompt that times out after 15 seconds if you don't type anything; hit enter there.
- Wait for it to completely boot, leaving you with a command prompt.
- Configure the network and DNS (tailor these to your IP, netmask, and gateway):
Code: Select all
ifconfig enp0s4 1.2.3.4 netmask 255.255.255.0 route add default gw 1.2.3.254 echo "nameserver 8.8.8.8" > /etc/resolv.conf - Mount your partition. It will likely involve a command like "mount /dev/sda2 /mnt/gentoo".
- Set a password using the "passwd" command.
- Start sshd using "/etc/init.d/sshd start".
- Log in through SSH/SFTP using your IP address and the password you defined above.
- Copy your files from /mnt/gentoo.
-
intermediate
- New to forums

- Posts: 8
- Joined: Fri Nov 01, 2013 11:30 am
Re: Backing Up Linux VDS without Access
Are you able to look into my VDS before I do that because I feel like this is only a security issue that was implemented into my VDS and could easily be disabled by one of you guys rather than backing up my whole VDS.
-
intermediate
- New to forums

- Posts: 8
- Joined: Fri Nov 01, 2013 11:30 am
Re: Backing Up Linux VDS without Access
"Log in through SSH/SFTP using your IP address and the password you defined above."
I can't seem to connect via FTP
Couldn't seem to edit my other post but http://i.imgur.com/DgYF1qt.png
I can't seem to connect via FTP
Couldn't seem to edit my other post but http://i.imgur.com/DgYF1qt.png
Re: Backing Up Linux VDS without Access
It's "ifconfig" and not "ipconfig".
It's SFTP and not FTP.
You need to use your IP address/netmask/gateway and not the ones I gave as examples (1.2.3.4, etc).
It's SFTP and not FTP.
You need to use your IP address/netmask/gateway and not the ones I gave as examples (1.2.3.4, etc).
-
intermediate
- New to forums

- Posts: 8
- Joined: Fri Nov 01, 2013 11:30 am
Re: Backing Up Linux VDS without Access
Where could I obtain a SFTP
Re: Backing Up Linux VDS without Access
I recommend WinSCP as an SFTP client.
-
intermediate
- New to forums

- Posts: 8
- Joined: Fri Nov 01, 2013 11:30 am
Re: Backing Up Linux VDS without Access
What would the username be? I'm using WinSCP.
I tried root
I tried root
Re: Backing Up Linux VDS without Access
It would be root, with the password that you defined with "passwd".
Re: Backing Up Linux VDS without Access
SFTP is simply FTP through SSH, so without having to set up an FTP server, you are simply able to use SSH. SFTP is also typically more secure than FTP.
-
intermediate
- New to forums

- Posts: 8
- Joined: Fri Nov 01, 2013 11:30 am
Re: Backing Up Linux VDS without Access
I tried to connect with the information I set, doesn't seem to work.
Re: Backing Up Linux VDS without Access
Are there any specific errors that are given?

