Skip to main content
ubuntuask.com

Back to all posts

How to Upload the Folder to Digitalocean Spaces?

Published on
4 min read
How to Upload the Folder to Digitalocean Spaces? image

Best Cloud Storage Solutions to Buy in December 2025

1 UGREEN NASync DH2300 2-Bay Desktop NAS, Support Capacity 60TB (Diskless), Remote Access, AI Photo Album, Beginner Friendly System, 4GB LPDDR4X RAM,1GbE, 4K HDMI, Network Attached Storage(Diskless)

UGREEN NASync DH2300 2-Bay Desktop NAS, Support Capacity 60TB (Diskless), Remote Access, AI Photo Album, Beginner Friendly System, 4GB LPDDR4X RAM,1GbE, 4K HDMI, Network Attached Storage(Diskless)

  • UNLIMITED STORAGE FREEDOM: HOLD UP TO 60TB, MANAGING ALL YOUR DATA!
  • ONE-TIME PURCHASE SAVES $6,738 VS. CLOUD STORAGE OVER 10 YEARS!
  • FAST TRANSFERS AT 125MB/S: GET FILES DONE IN SECONDS, NOT MINUTES.
BUY & SAVE
$167.99 $209.99
Save 20%
UGREEN NASync DH2300 2-Bay Desktop NAS, Support Capacity 60TB (Diskless), Remote Access, AI Photo Album, Beginner Friendly System, 4GB LPDDR4X RAM,1GbE, 4K HDMI, Network Attached Storage(Diskless)
2 Seagate Expansion 22TB External Hard Drive HDD - USB 3.0, with Rescue Data Recovery Services (STKP22000400)

Seagate Expansion 22TB External Hard Drive HDD - USB 3.0, with Rescue Data Recovery Services (STKP22000400)

  • PLUG-AND-PLAY SIMPLICITY: EASY SETUP ON WINDOWS AND MAC.
  • LIGHTNING-FAST USB 3.3: QUICK FILE TRANSFERS MADE EFFORTLESS.
  • PEACE OF MIND: WARRANTY AND DATA RECOVERY SERVICES INCLUDED.
BUY & SAVE
$229.99 $249.99
Save 8%
Seagate Expansion 22TB External Hard Drive HDD - USB 3.0, with Rescue Data Recovery Services (STKP22000400)
3 STATIONPC PocketCloud Portable NAS with M.2 NVMe & SD Slots, up to 8TB Capacity (Diskless), One-Click Backup,Supports Wi-Fi 6, LCD Display, App Control, 3200mAhx2 Replaceable Batteries for Outdoor Use

STATIONPC PocketCloud Portable NAS with M.2 NVMe & SD Slots, up to 8TB Capacity (Diskless), One-Click Backup,Supports Wi-Fi 6, LCD Display, App Control, 3200mAhx2 Replaceable Batteries for Outdoor Use

  • EXPANDABLE UP TO 16TB: CUSTOM STORAGE FOR ULTIMATE FLEXIBILITY.
  • TRIPLE BACKUP: RELIABLE DATA SAFETY WITH 3 BACKUP METHODS.
  • LONG-LASTING BATTERY: 6-HOUR USE & 20-DAY STANDBY FOR ON-THE-GO.
BUY & SAVE
$299.99
STATIONPC PocketCloud Portable NAS with M.2 NVMe & SD Slots, up to 8TB Capacity (Diskless), One-Click Backup,Supports Wi-Fi 6, LCD Display, App Control, 3200mAhx2 Replaceable Batteries for Outdoor Use
4 UGREEN NASync DXP2800 2-Bay Desktop NAS, Intel N100 Quad-core CPU, 8GB DDR5 RAM, 2.5GbE, 2X M.2 NVMe Slots, 4K HDMI, Network Attached Storage (Diskless)

UGREEN NASync DXP2800 2-Bay Desktop NAS, Intel N100 Quad-core CPU, 8GB DDR5 RAM, 2.5GbE, 2X M.2 NVMe Slots, 4K HDMI, Network Attached Storage (Diskless)

  • ONE-TIME PURCHASE: SAVE MONEY WITH NO ONGOING CLOUD FEES-BETTER VALUE!

  • MASSIVE STORAGE: UP TO 76TB CAPACITY-PERFECT FOR ALL YOUR DATA NEEDS!

  • AI PHOTO ORGANIZATION: AUTOMATIC SORTING AND DUPLICATE REMOVAL SAVES TIME!

BUY & SAVE
$279.99 $349.99
Save 20%
UGREEN NASync DXP2800 2-Bay Desktop NAS, Intel N100 Quad-core CPU, 8GB DDR5 RAM, 2.5GbE, 2X M.2 NVMe Slots, 4K HDMI, Network Attached Storage (Diskless)
5 UGREEN NASync DH4300 Plus 4-Bay Desktop NAS, Support Capacity 120TB (Diskless), Remote Access, AI Photo Album, Beginner Friendly System, 8GB LPDDR4X RAM, 2.5GbE, 4K HDMI, Network Attached Storage

UGREEN NASync DH4300 Plus 4-Bay Desktop NAS, Support Capacity 120TB (Diskless), Remote Access, AI Photo Album, Beginner Friendly System, 8GB LPDDR4X RAM, 2.5GbE, 4K HDMI, Network Attached Storage

  • 120TB STORAGE: KEEP ALL YOUR DATA WITHOUT EVER DELETING AGAIN!

  • USER-FRIENDLY APP: QUICK SETUP AND ACCESS FROM ALL YOUR DEVICES!

  • COST-EFFECTIVE: SAVE OVER $6,500 VS. CLOUD STORAGE IN 10 YEARS!

BUY & SAVE
$339.99 $429.99
Save 21%
UGREEN NASync DH4300 Plus 4-Bay Desktop NAS, Support Capacity 120TB (Diskless), Remote Access, AI Photo Album, Beginner Friendly System, 8GB LPDDR4X RAM, 2.5GbE, 4K HDMI, Network Attached Storage
6 WD 5TB My Passport, Portable External Hard Drive, Black, backup software with defense against ransomware, and password protection, USB 3.1/USB 3.0 compatible - WDBPKJ0050BBK-WESN

WD 5TB My Passport, Portable External Hard Drive, Black, backup software with defense against ransomware, and password protection, USB 3.1/USB 3.0 compatible - WDBPKJ0050BBK-WESN

  • SLIM, DURABLE DESIGN FOR ULTIMATE PORTABILITY OF YOUR FILES.
  • MASSIVE 6TB CAPACITY FOR ALL YOUR PHOTOS, VIDEOS, AND DOCUMENTS.
  • ADVANCED SECURITY WITH PASSWORD PROTECTION AND HARDWARE ENCRYPTION.
BUY & SAVE
$121.49 $144.99
Save 16%
WD 5TB My Passport, Portable External Hard Drive, Black, backup software with defense against ransomware, and password protection, USB 3.1/USB 3.0 compatible - WDBPKJ0050BBK-WESN
7 UGREEN NASync DXP4800 Plus 4-Bay Desktop NAS, Intel Pentium Gold 8505 5-Core CPU, 8GB DDR5 RAM, 128G SSD, 1 * 10GbE, 1 * 2.5GbE, 2 * M.2 NVMe Slots, 4K HDMI, Network Attached Storage (Diskless)

UGREEN NASync DXP4800 Plus 4-Bay Desktop NAS, Intel Pentium Gold 8505 5-Core CPU, 8GB DDR5 RAM, 128G SSD, 1 * 10GbE, 1 * 2.5GbE, 2 * M.2 NVMe Slots, 4K HDMI, Network Attached Storage (Diskless)

  • CENTRALIZED STORAGE & EASY RECOVERY: AUTOMATIC BACKUPS AND RAID OPTIONS.

  • MASSIVE 136TB CAPACITY: STORE 47M PHOTOS OR 92K MOVIES WITHOUT LIMITS!

  • SUPER-FAST 10GBE TRANSFERS: BACK UP 1GB IN LESS THAN A SECOND!

BUY & SAVE
$559.99 $699.99
Save 20%
UGREEN NASync DXP4800 Plus 4-Bay Desktop NAS, Intel Pentium Gold 8505 5-Core CPU, 8GB DDR5 RAM, 128G SSD, 1 * 10GbE, 1 * 2.5GbE, 2 * M.2 NVMe Slots, 4K HDMI, Network Attached Storage (Diskless)
8 WD 20TB Elements Desktop External Hard Drive, USB 3.0 drive for plug-and-play storage - WDBWLG0200HBK-NESN

WD 20TB Elements Desktop External Hard Drive, USB 3.0 drive for plug-and-play storage - WDBWLG0200HBK-NESN

  • HIGH-CAPACITY STORAGE FOR ALL YOUR DATA NEEDS, WINDOWS COMPATIBLE.
  • ENJOY LIGHTNING-FAST DATA TRANSFERS FOR SEAMLESS PRODUCTIVITY.
  • EASY PLUG-AND-PLAY SETUP ON WINDOWS PCS, NO HASSLE REQUIRED.
BUY & SAVE
$289.00 $349.99
Save 17%
WD 20TB Elements Desktop External Hard Drive, USB 3.0 drive for plug-and-play storage - WDBWLG0200HBK-NESN
9 ORICO 512GB Magnetic Portable SSD, Metal Body, 4K 120 fps ProRes HDR Record and Store, Up to 460MB/s, USB C&A 2 in 1 Cable, External SSD Compatible with iPhone 16 Pro Max, Tablet, Computer - K5PLUS

ORICO 512GB Magnetic Portable SSD, Metal Body, 4K 120 fps ProRes HDR Record and Store, Up to 460MB/s, USB C&A 2 in 1 Cable, External SSD Compatible with iPhone 16 Pro Max, Tablet, Computer - K5PLUS

  • STRONG MAGNETIC HOLD: SECURE YOUR PHONE EFFORTLESSLY WITH MAGNETIC ATTRACTION.

  • INSTANT MEMORY EXPANSION: PLUG-AND-PLAY SSD EXPANDS YOUR DEVICE'S STORAGE INSTANTLY.

  • LIGHTNING-FAST TRANSFERS: ENJOY 460MB/S SPEED FOR QUICK EDITS AND SEAMLESS RECORDING.

BUY & SAVE
$45.99
ORICO 512GB Magnetic Portable SSD, Metal Body, 4K 120 fps ProRes HDR Record and Store, Up to 460MB/s, USB C&A 2 in 1 Cable, External SSD Compatible with iPhone 16 Pro Max, Tablet, Computer - K5PLUS
10 Western Digital 6TB My Book Desktop External Hard Drive, USB 3.0, External HDD with Password Protection and Auto Backup Software - WDBBGB0060HBK-NESN

Western Digital 6TB My Book Desktop External Hard Drive, USB 3.0, External HDD with Password Protection and Auto Backup Software - WDBBGB0060HBK-NESN

  • MASSIVE 18TB CAPACITY: PERFECT FOR PERSONAL AND BUSINESS USE!
  • BUILT-IN 256-BIT AES ENCRYPTION FOR ULTIMATE DATA SECURITY.
  • FAST SUPERSPEED USB 5 GBPS CONNECTIVITY FOR QUICK TRANSFERS!
BUY & SAVE
$158.97 $169.99
Save 6%
Western Digital 6TB My Book Desktop External Hard Drive, USB 3.0, External HDD with Password Protection and Auto Backup Software - WDBBGB0060HBK-NESN
+
ONE MORE?

To upload a folder to DigitalOcean Spaces, you can use the web interface or a command-line tool like Cyberduck or the AWS Command Line Interface (CLI). Start by navigating to the Spaces dashboard on DigitalOcean and creating a new Space for your folder. Then, you can either drag and drop the folder directly into the web interface or use the command-line tool to upload the folder to your Space. Make sure to adjust the permissions and settings as needed to ensure your files are secure and accessible.

How to generate access keys for DigitalOcean Spaces?

To generate access keys for DigitalOcean Spaces, follow these steps:

  1. Log in to your DigitalOcean account.
  2. Click on "Spaces" in the main navigation menu.
  3. Click on the Spaces environment for which you want to create access keys.
  4. Click on the "Settings" tab.
  5. Under the "API Keys" section, click on the "Generate New Key" button.
  6. Give the key a name to help identify it.
  7. Click on the "Generate Key" button.
  8. Copy and securely store the Access Key ID and Secret Access Key that are generated. These keys will be used to authenticate requests to your DigitalOcean Space.

Once you have generated the access keys, you can use them to programmatically access your DigitalOcean Space using the AWS SDK, CLI tools, or other tools that support AWS S3-compatible APIs. Be sure to keep your access keys secure and do not share them publicly.

How to set up automatic backups for files stored in a DigitalOcean space?

To set up automatic backups for files stored in a DigitalOcean space, you can use the DigitalOcean Spaces Sync tool to sync your files to a local storage location on a regular schedule. Here's how you can set it up:

  1. Install the DigitalOcean Spaces Sync tool on your local machine by following the instructions provided in the documentation: https://github.com/do-community/spaces-sync
  2. Once the tool is installed, configure it with your DigitalOcean Spaces credentials by creating a configuration file. You can copy the sample configuration file provided in the documentation and update it with your access key, secret key, and space name.
  3. Set up the sync command to run on a regular schedule using a tool like cron. You can create a cron job that runs the sync command at specific intervals, such as daily or weekly, to ensure that your files are backed up automatically.
  4. Test the setup by running the sync command manually to make sure that it is working as expected. You can also check the output of the command to verify that your files are being synced correctly.

By following these steps, you can set up automatic backups for files stored in a DigitalOcean space using the Spaces Sync tool and ensure that your data is secure and easily recoverable.

What is the process for syncing files between a local directory and a DigitalOcean space?

To sync files between a local directory and a DigitalOcean space, you can use the following steps:

  1. Install the DigitalOcean CLI tool by following the instructions provided on the DigitalOcean website.
  2. Configure the DigitalOcean CLI tool by running the command doctl auth init and following the prompts to authenticate with your DigitalOcean account.
  3. Use the doctl command to create a new DigitalOcean space if you haven't already done so. You can do this by running the command doctl spaces create --region=, replacing with the desired name for your space and with the region where you want the space to be located.
  4. Use the doctl command to upload files from your local directory to the DigitalOcean space. You can do this by running the command doctl compute storage upload --recursive, replacing with the path to the local directory containing the files you want to upload and with the name of the DigitalOcean space you created in step 3.
  5. To sync files between a local directory and a DigitalOcean space, you can use the doctl command with the storage sync subcommand. You can run the command doctl compute storage sync --recursive to sync files from the local directory to the DigitalOcean space, or the command doctl compute storage sync --recursive to sync files from the DigitalOcean space to the local directory.

By following these steps, you can easily sync files between a local directory and a DigitalOcean space using the DigitalOcean CLI tool.