how do I restore root user?

Hi, I made my droplet, then i work on it two months. today I logged in as root user to delete all files from some folder. i move to this folder:

cd /srv/agl/public

then i paste this command to remove files :

rm * -r

i thought that it was not work so i did it again and again, then i got error :

/bin/rm not found ( or something like this )

so i turned off my droplet to restore from backup. Unfortunately one thing that i saw in “images” page is : “You currently have no backups” - I did not turn on backups !!!

then i turned on my droplet and now i do not have access via ssh or ftp. I don’t set autostart for mysql or ftp or nothing. one thing i wan’t to recover is redmine database. Did anyone have some idea how to get database ?

droplet info : Active 1GB Ram 30GB SSD Disk New York 3 Ubuntu 14.04 x64 vmlinuz-3.13.0-37-generic

ps. sorry for my english


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

It appears that your attempt to change directory to /srv/agl/public did not succeed and you instead deleted some important parts of your filesystem. Without a backup, our support team can set your droplet to boot to a recovery environment where you can mount your disk and see if your files are still there. If they are you will be able to copy them off to another server or your computer via SFTP. Please open a support ticket and our team can help guide you in this process.