Server Administration Guide

Backup & Restore Guide

Step-by-step instructions for backing up and restoring your EnKore Capital website from your own computer โ€” no Linux expertise required.

Your Server Details
Server IP34.75.94.140
Usernameubuntu
Website URLhttps://enkorecapital.com
Admin Panelhttps://enkorecapital.com/admin
App Location/home/ubuntu/enkore/
Backup Location/home/ubuntu/backups/
Auto-Backup TimeEvery day at 2:00 AM UTC

๐Ÿ“‹ Table of Contents

  1. Prerequisites โ€” What You Need on Your Computer
  2. How to Connect to Your Server
  3. How to Create a Manual Backup
  4. How to Download a Backup to Your Computer
  5. How to Restore on the Same Server
  6. How to Restore on a New Server
  7. Using the Admin Panel Backup Feature
  8. Emergency Recovery Checklist
1
Prerequisites โ€” What You Need

๐ŸŽ Mac / Linux

You already have everything you need. Open Terminal (search for "Terminal" in Spotlight or Applications). All commands work as-is.

๐ŸชŸ Windows

Install one of these (free):
โ€ข Windows Terminal (from Microsoft Store) โ€” recommended
โ€ข PuTTY โ€” older but works
โ€ข Git Bash โ€” if you have Git installed

๐Ÿ’ก Tip: You will also need your SSH private key to connect to the server. This is a file provided by Manus when the cloud computer was set up. If you do not have it, you can connect through the Manus interface directly using the shell tool in a new session.
โš ๏ธ Important: The server's authorized_keys file is currently empty โ€” this means SSH key-based login is not yet configured. The easiest way to access your server right now is through the Manus platform (using the cloud computer shell). To enable direct SSH from your own computer, follow the SSH key setup in Step 2.
2
How to Connect to Your Server
AOption A โ€” Via Manus (No Setup Required)

The easiest way to run commands on your server is through Manus:

  1. Start a new Manus session
  2. Tell Manus: "Connect to my cloud computer and run this command: [your command]"
  3. Manus will execute it on your server and show you the output

This works even if your session is broken โ€” just start a new one.

BOption B โ€” Direct SSH from Your Computer

Step 1: Generate an SSH key on your computer (skip if you already have one):

ssh-keygen -t ed25519 -C "enkore-admin"

Press Enter 3 times to accept defaults. This creates two files in ~/.ssh/: id_ed25519 (private key โ€” keep secret) and id_ed25519.pub (public key).

Step 2: Add your public key to the server (run this in Manus or ask Manus to do it):

echo "YOUR_PUBLIC_KEY_HERE" >> /home/ubuntu/.ssh/authorized_keys

Replace YOUR_PUBLIC_KEY_HERE with the contents of your ~/.ssh/id_ed25519.pub file.

Step 3: Connect from your computer:

ssh ubuntu@34.75.94.140

You should see a command prompt like ubuntu@cloud-pc-70cqwrll:~$ โ€” you are now on your server.

To disconnect:

exit
3
How to Create a Manual Backup
โœ… Easiest Method: Use the Admin Panel. Go to https://enkorecapital.com/admin โ†’ ๐Ÿ’พ Backup & Recovery โ†’ Click "Create Backup Now". Done. No terminal needed.

If you prefer the terminal:

1Connect to your server (see Section 2)
Open Terminal and run: ssh ubuntu@34.75.94.140
2Run the backup script
bash /home/ubuntu/enkore_backup.sh

Wait 30โ€“60 seconds. You will see output like:
[2026-06-18 04:49:20] โœ… Backup created: enkore_backup_20260618_044920.tar.gz (46M)

3Verify the backup was created
ls -lh /home/ubuntu/backups/

You should see one or more files ending in .tar.gz.

4
How to Download a Backup to Your Computer
โœ… Easiest Method: Admin Panel โ†’ ๐Ÿ’พ Backup & Recovery โ†’ Click โฌ‡ Download next to any backup file. It downloads directly to your browser's Downloads folder.

To download via terminal (run this on YOUR computer, not the server):

1Open Terminal on YOUR computer (not the server)
Make sure you are NOT connected to the server. You should see your own computer's prompt.
2Download the latest backup using SCP

First, find the backup filename (run this while connected to server):

ls -t /home/ubuntu/backups/*.tar.gz | head -1

Then download it to your computer's Desktop (run on YOUR computer):

scp ubuntu@34.75.94.140:/home/ubuntu/backups/enkore_backup_FILENAME.tar.gz ~/Desktop/

Replace FILENAME with the actual filename from the previous step.

Example: scp ubuntu@34.75.94.140:/home/ubuntu/backups/enkore_backup_20260618_044920.tar.gz ~/Desktop/

3Verify the download

The file should appear on your Desktop. It will be named something like enkore_backup_20260618_044920.tar.gz and be approximately 46โ€“75 MB in size.

๐Ÿ’ก Store it safely: Save this file to Google Drive, Dropbox, or an external hard drive. This is your offline insurance policy.
5
How to Restore on the Same Server

Use this if the website breaks but the server is still running (e.g., files got corrupted, accidental deletion, bad update).

1Connect to the server
ssh ubuntu@34.75.94.140
2Stop the website temporarily
pm2 stop enkore-capital
3Back up the current broken state (just in case)
mv /home/ubuntu/enkore /home/ubuntu/enkore_broken_$(date +%Y%m%d)
4Find the backup file to restore
ls -lht /home/ubuntu/backups/*.tar.gz

The most recent file is at the top. Note its full name (e.g., enkore_backup_20260618_044920.tar.gz).

5Extract the backup
tar -xzf /home/ubuntu/backups/enkore_backup_FILENAME.tar.gz -C /home/ubuntu/

Replace FILENAME with the actual filename. This recreates the /home/ubuntu/enkore/ folder.

6Reinstall dependencies
cd /home/ubuntu/enkore && npm install

Wait for it to finish (1โ€“2 minutes). You will see many lines of output โ€” this is normal.

7Restart the website
pm2 restart enkore-capital && pm2 status

You should see online in the status column.

8Verify the website is working

Open your browser and visit https://enkorecapital.com. The site should load normally.

โœ… Done! Your website has been restored from backup.
6
How to Restore on a New Server

Use this if the server itself is completely gone (e.g., cloud computer deleted, provider outage, account issue).

โš ๏ธ Before you start: You need a backup file (.tar.gz) either stored on your computer or accessible somewhere. If you only have the Admin Panel backup files on the old server and the server is gone, you will need to restore from a copy you downloaded previously.
1Start a new Manus session with a Cloud Computer

In Manus, request a new cloud computer (persistent VM). Once connected, you will have a fresh Ubuntu server.

2Upload your backup file to the new server

From YOUR computer (replace with your actual filename and new server IP):

scp ~/Desktop/enkore_backup_FILENAME.tar.gz ubuntu@NEW_SERVER_IP:/home/ubuntu/

Or tell Manus: "Upload this backup file to my new cloud computer and restore the EnKore Capital website."

3Extract the backup on the new server
tar -xzf /home/ubuntu/enkore_backup_FILENAME.tar.gz -C /home/ubuntu/
4Install Node.js and dependencies
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - && sudo apt-get install -y nodejs && cd /home/ubuntu/enkore && npm install

This takes 3โ€“5 minutes.

5Install and configure nginx + PM2
sudo apt-get install -y nginx && sudo npm install -g pm2 && cd /home/ubuntu/enkore && pm2 start server.js --name enkore-capital && pm2 startup && pm2 save
6Configure nginx reverse proxy
sudo tee /etc/nginx/sites-available/enkore << 'EOF' server { listen 80; server_name enkorecapital.com www.enkorecapital.com _; location / { proxy_pass http://localhost:3000; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; proxy_set_header Host $host; proxy_cache_bypass $http_upgrade; client_max_body_size 110M; } } EOF sudo ln -sf /etc/nginx/sites-available/enkore /etc/nginx/sites-enabled/enkore sudo nginx -t && sudo systemctl restart nginx
7Update DNS to point to new server IP

In your DNS provider (where you manage enkorecapital.com), update both A records:

TypeHostValue
A@NEW_SERVER_IP
AwwwNEW_SERVER_IP

Wait 5โ€“30 minutes for DNS to propagate.

8Re-enable HTTPS (SSL certificate)
sudo apt-get install -y certbot python3-certbot-nginx && sudo certbot --nginx -d enkorecapital.com -d www.enkorecapital.com

Follow the prompts. Your site will be live at https://enkorecapital.com.

7
Using the Admin Panel Backup Feature

The easiest way to manage backups โ€” no terminal needed.

ActionHow to Do It
Create a backup nowAdmin Panel โ†’ ๐Ÿ’พ Backup & Recovery โ†’ Click "๐Ÿ’พ Create Backup Now"
Download a backupAdmin Panel โ†’ ๐Ÿ’พ Backup & Recovery โ†’ Click "โฌ‡ Download" next to any file
Create a Git snapshotAdmin Panel โ†’ ๐Ÿ’พ Backup & Recovery โ†’ Type a message โ†’ Click "๐Ÿ“ธ Create Git Snapshot"
Delete an old backupAdmin Panel โ†’ ๐Ÿ’พ Backup & Recovery โ†’ Click "๐Ÿ—‘๏ธ" next to the file
View backup historyAdmin Panel โ†’ ๐Ÿ’พ Backup & Recovery โ†’ Scroll to "๐Ÿ“‹ Backup Activity Log"
Check last backup timeAdmin Panel โ†’ ๐Ÿ’พ Backup & Recovery โ†’ See "Last Backup" stat card at top
๐Ÿ’ก Best Practice: After making any major changes to your website (adding projects, updating fund settings, adding investors), always click "๐Ÿ’พ Create Backup Now" in the admin panel. Then click "โฌ‡ Download" and save the file to Google Drive or your computer.
8
Emergency Recovery Checklist
๐Ÿšจ If your website is down right now: Work through this checklist in order.
#CheckHow to Fix
1 Is the server running?
Visit http://34.75.94.140 in browser
If no response โ†’ server may be down. Contact Manus support or restart via cloud provider dashboard.
2 Is the app process running?
SSH in and run: pm2 status
If enkore-capital shows "stopped" or "errored" โ†’ run: pm2 restart enkore-capital
3 Is nginx running?
Run: sudo systemctl status nginx
If inactive โ†’ run: sudo systemctl restart nginx
4 Are there app errors?
Run: pm2 logs enkore-capital --lines 20
Read the error message. Common fix: restore from backup (Section 5).
5 Is DNS pointing correctly?
Check: whatsmydns.net
If DNS is wrong โ†’ update A records to 34.75.94.140 in your DNS provider.
6 Nothing works โ€” full restore needed Follow Section 5 (same server) or Section 6 (new server) above.
๐Ÿ’ก Quick Fix Commands (copy-paste these in order):
pm2 restart enkore-capital && sudo systemctl restart nginx && pm2 status

This restarts both the app and the web server โ€” fixes most common issues.

Need Help?

If you are unable to restore your site using this guide, start a new Manus session and say:
"My EnKore Capital website is down. Please help me restore it."

Admin Panel invest@enkorecapital.com