DigitalOcean does not provide a way to download a snapshot of your droplet locally. You can use rsync to accomplish this instead.
On your local machine, assuming you have added your-server in your SSH config:
rsync -aAXHv --append-verify --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} your-server:/
- -a: archive mode (all files, with permissions, etc.)
- -A: preserve ACLs/permissions (not included with -a)
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | ## References: | |
| # https://git.io/Jf3l9 | |
| # https://circleci.com/docs/2.0/yarn/ | |
| # https://circleci.com/docs/2.0/caching/#yarn-node | |
| # https://circleci.com/orbs/registry/orb/circleci/node | |
| # https://discuss.circleci.com/t/circleci-2-1-config-overview/26057 | |
| version: 2.1 | |
| orbs: | |
| node: circleci/[email protected] | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <?php | |
| namespace <Your namespace here>; | |
| use Illuminate\Support\Facades\DB; | |
| /** | |
| * | |
| * @author Ervinne Sodusta <[email protected]> | |
| */ | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <?php | |
| use Illuminate\Support\Facades\Schema; | |
| use Illuminate\Database\Schema\Blueprint; | |
| use Illuminate\Database\Migrations\Migration; | |
| class LaravelConditionalIndexMigration extends Migration | |
| { | |
| /** | |
| * Run the migrations. | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # === Optimized my.cnf configuration for MySQL/MariaDB (on Ubuntu, CentOS, Almalinux etc. servers) === | |
| # | |
| # by Fotis Evangelou, developer of Engintron (engintron.com) | |
| # | |
| # ~ Updated September 2024 ~ | |
| # | |
| # | |
| # The settings provided below are a starting point for a 8-16 GB RAM server with 4-8 CPU cores. | |
| # If you have different resources available you should adjust accordingly to save CPU, RAM & disk I/O usage. | |
| # | 
public function connections()
{
	$relation = $this
		->belongsToMany(static::class, 'connections', 'requestor_id', 'requested_id')
		->withTimestamps();
	/// delete the already built inner join
	$relation
		->getQuery() // Eloquent\Builder
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import math | |
| import os | |
| import urllib | |
| from shapely.geometry import Polygon | |
| def deg2num(lat_deg, lon_deg, zoom): | |
| lat_rad = math.radians(lat_deg) | |
| n = 2.0 ** zoom | |
| xtile = int((lon_deg + 180.0) / 360.0 * n) | |
| ytile = int((1.0 - math.log(math.tan(lat_rad) + (1 / math.cos(lat_rad))) / math.pi) / 2.0 * n) | 
People
|   :bowtie: | π :smile: | π :laughing: | 
|---|---|---|
| π :blush: | π :smiley: | :relaxed: | 
| π :smirk: | π :heart_eyes: | π :kissing_heart: | 
| π :kissing_closed_eyes: | π³ :flushed: | π :relieved: | 
| π :satisfied: | π :grin: | π :wink: | 
| π :stuck_out_tongue_winking_eye: | π :stuck_out_tongue_closed_eyes: | π :grinning: | 
| π :kissing: | π :kissing_smiling_eyes: | π :stuck_out_tongue: | 
NewerOlder